report_sales.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <template xml:space="preserve">
  3. <t t-name="ReportSale">
  4. <div class="report_view">
  5. <div class="reporting_page_header">
  6. <h1>Histórico de Ventas</h1>
  7. <div id="volver"></div>
  8. </div>
  9. <button type="button" class="oe_button oe_form_button oe_highlight" aria-label="Left Align" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">FILTRAR
  10. </button>
  11. <div class="collapse" id="collapseExample">
  12. <div class="card card-body">
  13. <br/>
  14. <div class="row">
  15. <div class="col-xs-6">
  16. <div class="panel panel-default">
  17. <div class="panel-heading">Fechas</div>
  18. <div class="panel-body">
  19. <ul>
  20. <li>
  21. <input type="radio" name="valores" id="X" value="X" checked="checked"/>
  22. <label for="X">Sin Filtro</label>
  23. </li>
  24. <li>
  25. <input type="radio" name="valores" id="A" value="A"/>
  26. <label for="A">Hoy</label>
  27. </li>
  28. <li>
  29. <input type="radio" name="valores" id="B" value="B"/>
  30. <label for="B">Ayer</label>
  31. </li>
  32. <li>
  33. <input type="radio" name="valores" id="C" value="C"/>
  34. <label for="C">Mes Actual</label>
  35. </li>
  36. <li>
  37. <input type="radio" name="valores" id="D" value="D"/>
  38. <label for="D">Mes Pasado</label>
  39. </li>
  40. <li>
  41. <input type="radio" name="valores" id="Z" value="Z"/>
  42. <label for="Z">Busqueda Avanzada</label>
  43. </li>
  44. </ul>
  45. <div id="datepicker" style="display:none;" class="container">
  46. <label for="from">Desde: </label>
  47. <input type="text" id="from" name="from"/>
  48. <label for="to" >Hasta: </label>
  49. <input type="text" id="to" name="to" />
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="col-xs-6">
  55. <div class="panel panel-default">
  56. <div class="panel-heading">Características</div>
  57. <div class="panel-body">
  58. <label for="partner">Buscar Cliente:</label>
  59. <input id="partner" type="text" class="form-control ui-autocomplete-input" autocomplete="off" placeholder="Nombre/ CI/ Ruc"/>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div id="toolbar">
  67. <button class="oe_button oe_form_button oe_highlight btn-block" value="pdf">PDF</button>
  68. </div>
  69. <table id="table" class="table_paint_first_row"
  70. data-pagination="true"
  71. data-toggle="table"
  72. data-reorderable-columns="true"
  73. data-toolbar="#toolbar"
  74. data-show-columns="true"
  75. data-buttons-class="oe_button oe_form_button oe_highlight"
  76. data-height="auto"
  77. data-classes="table table-hover table-condensed"
  78. data-row-style="rowStyle"
  79. data-search="true">
  80. <thead>
  81. <tr>
  82. <th data-field="number" data-sortable="true">Factura</th>
  83. <th data-field="origin">Referencia</th>
  84. <th data-field="partner">Cliente</th>
  85. <th data-field="date_invoice">Fecha</th>
  86. <th data-field="amount_total" data-sortable="true" data-align="right">Total</th>
  87. <th data-field="residual" data-sortable="true" data-align="right">A cobrar</th>
  88. </tr>
  89. </thead>
  90. </table>
  91. <canvas></canvas>
  92. <div id="dialog"></div>
  93. </div>
  94. </t>
  95. </template>