informe_analisis_accountvoucher_fecha.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="report_diarioacc3"
  5. model="diarioacc.voucher"
  6. string="Listado de Entrada y Salida"
  7. report_type="qweb-pdf"
  8. name="analisis_accountvoucher.informe_diarioacc_por_fecha"
  9. file="analisis_accountvoucher.informe_diarioacc_por_fecha"
  10. />
  11. <template id="informe_diarioacc_por_fecha">
  12. <t t-call="report.html_container">
  13. <t t-call="report.external_layout">
  14. <div class="page">
  15. <style type="text/css">
  16. .crm_tcab{
  17. font-size: 3mm;
  18. font-family: Arial, Helvetica, sans-serif;
  19. }
  20. .crm_tbody{
  21. font-size: 2.8mm;
  22. font-family: Arial, Helvetica, sans-serif;
  23. }
  24. .logo1{
  25. width: 100%;
  26. top: 1.5cm;
  27. }
  28. .total1{
  29. font-size: 2.8mm;
  30. font-family: Arial, Helvetica, sans-serif;
  31. }
  32. </style>
  33. <h3 class="text-center">Listado de Entrada y Salida</h3>
  34. <div class="logo1" />
  35. <table class="table table-condensed" style="width: 100%">
  36. <thead class="crm_tcad">
  37. <tr class="active">
  38. <th class="text-left"><u>Debe</u></th>
  39. <th class="text-right"><u>Habe</u></th>
  40. </tr>
  41. </thead>
  42. </table>
  43. <table class="table table-condensed" style="width: 100%">
  44. <thead class="crm_tcab">
  45. <tr class="active">
  46. <th class="text-left" style="width: 20%">Referencia</th>
  47. <th class="text-left" style="width: 15%">Moneda</th>
  48. <th class="text-center" style="border-right-style: solid">Entrada</th>
  49. <th class="text-left" style="width: 10%">Reg.Cobro</th>
  50. <th class="text-left" style="width: 15%"> </th>
  51. <th class="text-right" style="width: 20%">Salida</th>
  52. </tr>
  53. </thead>
  54. <t t-foreach="docs" t-as="o">
  55. <tbody>
  56. <tr>
  57. <td class="text-left" style="width: 20%">
  58. <span t-esc="o.reference"/>
  59. </td>
  60. <td class="text-left" style="width: 15%">
  61. <span t-esc="o.currency_id.name"/>
  62. </td>
  63. <td class="text-right" style="border-right-style: solid">
  64. <span t-field="o.amount_entrada"/>
  65. </td>
  66. <td class="text-right" style="width: 10%;">
  67. <span t-field="o.invoice_id"/>
  68. </td>
  69. <td class="text-right" style="width: 15%">
  70. <li> </li>
  71. </td>
  72. <td class="text-right" style="width: 20%">
  73. <span t-field="o.amount_salida"/>
  74. </td>
  75. </tr>
  76. </tbody>
  77. </t>
  78. <tr>
  79. <td colspan="6"></td>
  80. </tr>
  81. <tr class="border-black">
  82. <td colspan="1">Total:</td>
  83. <td class="text-right">
  84. <t t-set="totalent" t-value="sum([x.amount_entrada for x in docs])"/>
  85. <span t-esc="totalent" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
  86. </td>
  87. <td colspan="4"></td>
  88. <td class="text-right">
  89. <t t-set="totalsal" t-value="sum([x.amount_salida for x in docs])"/>
  90. <span t-esc="totalsal" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td colspan="1">Diferencia/Saldo:</td>
  95. <td colspan="5"></td>
  96. <td class="text-right">
  97. <t t-set="tsaldo" t-value="sum([x.saldo for x in docs])"/>
  98. <span t-esc="tsaldo" t-esc-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/>
  99. </td>
  100. </tr>
  101. </table>
  102. </div>
  103. </t>
  104. </t>
  105. </template>
  106. </data>
  107. </openerp>