report_invoice_balance.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <template xml:space="preserve">
  3. <t t-name="ReportInvoiceBalance">
  4. <div class="report_view">
  5. <div class="reporting_page_header">
  6. <h1>Histórico de Facturas</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. <br/>
  13. <div class="row">
  14. <div class="col-xs-6">
  15. <div class="panel panel-default">
  16. <div class="panel-heading">Fechas</div>
  17. <div class="panel-body">
  18. <ul class="list-unstyled">
  19. <li>
  20. <input type="radio" name="valores" id="X" value="X" checked="checked"/>
  21. <label for="X">Sin Filtro</label>
  22. </li>
  23. <li>
  24. <input type="radio" name="valores" id="A" value="A"/>
  25. <label for="A">Hoy</label>
  26. </li>
  27. <li>
  28. <input type="radio" name="valores" id="B" value="B"/>
  29. <label for="B">Ayer</label>
  30. </li>
  31. <li>
  32. <input type="radio" name="valores" id="C" value="C"/>
  33. <label for="C">Mes Actual</label>
  34. </li>
  35. <li>
  36. <input type="radio" name="valores" id="D" value="D"/>
  37. <label for="D">Mes Pasado</label>
  38. </li>
  39. <li>
  40. <input type="radio" name="valores" id="Z" value="Z"/>
  41. <label for="Z">Busqueda Avanzada</label>
  42. </li>
  43. </ul>
  44. <div id="datepicker" style="display:none;" class="container">
  45. <label for="from">Desde: </label>
  46. <input type="text" id="from" name="from"/>
  47. <label for="to" >Hasta: </label>
  48. <input type="text" id="to" name="to" />
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="col-xs-6">
  54. <div class="panel panel-default">
  55. <div class="panel-heading">Características</div>
  56. <div class="panel-body">
  57. <div class="col-xs-6">
  58. <h3>Tipo</h3>
  59. <ul class="list-unstyled">
  60. <li>
  61. <input type="radio" name="cateritica" id="Y" value="Y" checked="checked"/>
  62. <label for="Y">Sin Filtro</label>
  63. </li>
  64. <li>
  65. <input type="radio" name="cateritica" id="sale" value="sale"/>
  66. <label for="sale">Factura de venta</label>
  67. </li>
  68. <li>
  69. <input type="radio" name="cateritica" id="purchase" value="purchase"/>
  70. <label for="purchase">Factura de compra</label>
  71. </li>
  72. <li>
  73. <input type="radio" name="cateritica" id="expense" value="expense"/>
  74. <label for="expense">Factura de gasto</label>
  75. </li>
  76. </ul>
  77. </div>
  78. <div class="col-xs-6">
  79. <h3>Estado</h3>
  80. <ul class="list-unstyled">
  81. <li>
  82. <input type="radio" name="estado" id="W" value="W" checked="checked"/>
  83. <label for="W">Sin Filtro</label>
  84. </li>
  85. <li>
  86. <input type="radio" name="estado" id="open" value="open"/>
  87. <label for="open">Abierto</label>
  88. </li>
  89. <li>
  90. <input type="radio" name="estado" id="paid" value="paid"/>
  91. <label for="paid">Pagado</label>
  92. </li>
  93. </ul>
  94. </div>
  95. <div class="col-xs-12">
  96. <div class="form-group">
  97. <label for="partner">Buscar Cliente / Proveedor:</label>
  98. <input id="partner" type="text" class="form-control ui-autocomplete-input" autocomplete="off" placeholder="Nombre/ CI/ Ruc"/>
  99. </div>
  100. </div>
  101. <div class="col-xs-12">
  102. <div class="form-group">
  103. <label for="current-store">Sucursal: </label>
  104. <select id="current-store" class="form-control ui-autocomplete-input" name="store"></select>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <div id="toolbar">
  113. <button class="oe_button oe_form_button oe_highlight btn-block" value="pdf">PDF</button>
  114. </div>
  115. <table id="table" class="table_paint_first_row"
  116. data-pagination="true"
  117. data-toggle="table"
  118. data-reorderable-columns="true"
  119. data-toolbar="#toolbar"
  120. data-show-columns="true"
  121. data-buttons-class="oe_button oe_form_button oe_highlight"
  122. data-height="auto"
  123. data-classes="table table-hover table-condensed"
  124. data-row-style="rowStyle"
  125. data-search="true">
  126. <thead>
  127. <tr>
  128. <th data-field="number" data-sortable="true">Factura</th>
  129. <th data-field="partner" data-sortable="true">Cliente / Proveedor</th>
  130. <th data-field="date_invoice" data-sortable="true">Fecha</th>
  131. <th data-field="user" data-sortable="true">Responsable</th>
  132. <th data-field="amount_total" data-sortable="true" data-align="right">Valor</th>
  133. <th data-field="entry" data-sortable="true" data-align="right">Ingreso</th>
  134. <th data-field="egress" data-sortable="true" data-align="right">Egreso</th>
  135. <th data-field="to_receive" data-sortable="true" data-align="right">A Cobrar</th>
  136. <th data-field="to_pay" data-sortable="true" data-align="right">Por Pagar</th>
  137. </tr>
  138. </thead>
  139. </table>
  140. <canvas></canvas>
  141. <div id="dialog"></div>
  142. </div>
  143. </t>
  144. </template>