voucher_report_original.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="report_voucher_document_original">
  5. <t t-foreach="docs" t-as="o">
  6. <div class="page">
  7. <t t-foreach="[1,2]" t-as="i">
  8. <div style="border:3px solid #ccc; border-radius:10px;">
  9. <h3 style="text-align:center;">
  10. <span t-if="o.type == 'receipt'"> Recibo de Cobro</span>
  11. <span t-if="o.type == 'payment'"> Recibo de Pago</span>
  12. <span t-if="o.number"> No. <span t-field="o.number"/></span>
  13. </h3>
  14. <div class="row">
  15. <div class="col-xs-9">
  16. <p><strong>
  17. <span t-if="o.type == 'receipt'"> Cobrado a:</span>
  18. <span t-if="o.type == 'payment'"> Pagado a:</span>
  19. </strong>
  20. <span t-field="o.partner_id"/> - Dirección:
  21. <span t-field="o.partner_id.contact_address"/></p>
  22. </div>
  23. <div class="col-xs-9">
  24. <p><strong>
  25. <span t-if="o.type == 'receipt'"> Cobrado por:</span>
  26. <span t-if="o.type == 'payment'"> Pagado por:</span>
  27. </strong>
  28. <span t-field="o.company_id"/> - Dirección:
  29. <span t-field="o.company_id.partner_id.contact_address"/></p>
  30. </div>
  31. <div class="col-xs-4">
  32. <p><strong> <span t-if="o.type == 'receipt'"> Fecha de Cobro:</span><span t-if="o.type == 'payment'"> Fecha de Pago:</span></strong> <span t-field="o.date"/></p>
  33. </div>
  34. <div class="col-xs-4">
  35. <p><strong> Referencia/Descripción:</strong><span t-field="o.reference"/></p>
  36. </div>
  37. </div>
  38. <hr size="4" width="90%"></hr>
  39. <div>
  40. <p>
  41. <span t-if="o.type == 'receipt'"> Recibido de</span>
  42. <span t-if="o.type == 'payment'"> Pagado a</span>
  43. <strong><span t-field="o.partner_id"/></strong> - Dirección:
  44. <span t-field="o.partner_id.contact_address"/></p>
  45. <p> Monto de
  46. <strong>
  47. <span t-field="o.currency_id.symbol"/>
  48. <span t-field="o.amount"/>
  49. </strong>
  50. Método de <strong><span t-field="o.journal_id"/></strong>
  51. <span t-if="o.reference">
  52. con Referencia/s valor de <strong><span t-field="o.reference"/>
  53. </strong></span>
  54. </p>
  55. </div>
  56. <div>
  57. <p><strong> Notas:</strong> <span t-field="o.narration"/></p>
  58. </div>
  59. <hr size="4" width="90%"></hr>
  60. <table width="50%">
  61. <tr>
  62. <td width="10%"><strong> Cliente:</strong></td>
  63. <td width="20%">................................................</td>
  64. <td width="10%"><strong>Cobrador:</strong></td>
  65. <td width="20%">.................................................</td>
  66. </tr>
  67. <br>
  68. </br>
  69. </table>
  70. </div>
  71. <br>
  72. </br>
  73. <br>
  74. </br>
  75. <br>
  76. </br>
  77. <br>
  78. </br>
  79. </t>
  80. </div>
  81. </t>
  82. </template>
  83. <template id="report_voucher_original">
  84. <t t-call="report.html_container">
  85. <t t-foreach="doc_ids" t-as="doc_id">
  86. <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'voucher_print_original.report_voucher_document_original')"/>
  87. </t>
  88. </t>
  89. </template>
  90. </data>
  91. </openerp>