report_invoice_utility.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <template xml:space="preserve">
  3. <t t-name="ReportInvoiceUtility">
  4. <div class="report_view">
  5. <div class="reporting_page_header">
  6. <h1>Utilidad de facturas detalladas</h1>
  7. <div id="volver"></div>
  8. </div>
  9. <div id="toolbar">
  10. <label for="current-journal">Sucursal: </label>
  11. <select id="current-journal" class=" ui-autocomplete-input" name="journal"></select>
  12. <label for="from">Desde:</label>
  13. <input type="text" id="from" name="from"/>
  14. <label for="to" >Hasta: </label>
  15. <input type="text" id="to" name="to"/>
  16. <button class="oe_button oe_form_button oe_highlight" value="pdf">Exportar a PDF</button>
  17. <button class="oe_button oe_form_button oe_highlight" value="chart">Graficar</button>
  18. </div>
  19. <table id="table"
  20. data-pagination="true"
  21. data-toggle="table"
  22. data-reorderable-columns="true"
  23. data-toolbar="#toolbar"
  24. data-show-columns="true"
  25. data-buttons-class="oe_button oe_form_button oe_highlight"
  26. data-height="auto"
  27. data-classes="table table-hover table-condensed"
  28. data-row-style="rowStyle"
  29. data-search="true">
  30. <thead>
  31. <tr>
  32. <th data-field="number" data-sortable="true">Factura</th>
  33. <th data-field="name" >Producto</th>
  34. <th data-field="quantity" data-sortable="true" data-align="right">Cat.</th>
  35. <th data-field="price_unity" data-sortable="true" data-align="right">Precio Unitario</th>
  36. <th data-field="standar_price" data-sortable="true" data-align="right">Precio de Costo</th>
  37. <th data-field="price_tot" data-sortable="true" data-align="right">Total Venta</th>
  38. <th data-field="standar_tot" data-sortable="true" data-align="right">Total Costo</th>
  39. <th data-field="utility" data-sortable="true" data-align="right">Utilidad</th>
  40. </tr>
  41. </thead>
  42. </table>
  43. <!-- <canvas></canvas> -->
  44. <div class="widget-content" id="grafico"></div>
  45. <div id="dialog"></div>
  46. </div>
  47. </t>
  48. </template>