recibo_legal_bioelectric.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <report id="factura_legal_bioelectric"
  5. model="account.voucher"
  6. string="Recibo de dinero"
  7. report_type="qweb-pdf"
  8. name="recibo_bioelectric.recibo_bioelectric"
  9. file="recibo_bioelectric.recibo_bioelectric"
  10. />
  11. <template id="recibo_bioelectric">
  12. <t t-call="report.html_container">
  13. <t t-call="report.external_layout">
  14. <t t-foreach="[1]" t-as="i">
  15. <!-- Página del recibo -->
  16. <div class="page">
  17. <t t-foreach="docs" t-as="o">
  18. <div class="pagina">
  19. <!-- Cabecera -->
  20. <div class="row" style="display: flex; align-items: stretch;">
  21. <div class="col-xs-3" style="border-radius: 10px 0 0 10px; border: 2px solid #ddd; display: flex; flex-direction: column; justify-content: center; padding: 10px;">
  22. <div class="logo-container">
  23. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 125px;" />
  24. </div>
  25. <div style="margin-top: 0.3cm;"></div>
  26. <t><center><strong>INNOVACIÓN, TECNOLOGÍA Y SEGURIDAD</strong></center></t>
  27. </div>
  28. <div class="col-xs-5" style="border: 2px solid #ddd; display: flex; flex-direction: column; justify-content: center; padding: 10px;">
  29. <h3><center><strong><i>BIOELECTRIC</i></strong></center></h3>
  30. <t><center><b>de Armando Javier Aguilar Ramos</b></center></t>
  31. <t><center><b>Instalaciones eléctricas, electromecánicas y electrónicas.</b></center></t>
  32. <t><center><b>Comercio al por menor de otros artículos N.C.P.</b></center></t>
  33. <t><center><b>Comercio al por menor de otros artículos de Ferretería</b></center></t>
  34. <t><center><b>Calle Cabo 7 Silvio Ovelar c/ Paso de Patria</b></center></t>
  35. <t><center><b>San Antonio - Paraguay</b></center></t>
  36. <t><center><b>bioelectricpy@gmail.com - (0981) 939 132</b></center></t>
  37. </div>
  38. <div class="col-xs-4" style="border-radius: 0 10px 10px 0; border: 2px solid #ddd; display: flex; flex-direction: column; justify-content: center; padding: 10px;">
  39. <t>
  40. <div>
  41. <h5><center><strong>Formulario Nº 022</strong></center></h5>
  42. </div>
  43. </t>
  44. <t>
  45. <div>
  46. <h3><center><strong>RECIBO DE DINERO</strong></center></h3>
  47. </div>
  48. </t>
  49. <t>
  50. <div>
  51. <h4><center><strong><span t-field="o.name" /></strong></center></h4>
  52. </div>
  53. </t>
  54. <t>
  55. <div>
  56. <center><strong><span t-field="o.company_id.vat" /></strong></center>
  57. </div>
  58. </t>
  59. </div>
  60. </div>
  61. <div style="margin-top: 0.6cm;"></div>
  62. <!-- Detalles del recibo -->
  63. <div class="row">
  64. <!-- Primera columna -->
  65. <div class="col-xs-4">
  66. <p><strong>Número de Pago:</strong> <span t-field="o.number" /></p>
  67. <p><strong>Fecha:</strong> <span t-field="o.date" t-field-options='{"format": "d MMMM y"}' /></p>
  68. </div>
  69. <!-- Segunda columna -->
  70. <div class="col-xs-4">
  71. <p><strong>Monto Pagado:</strong>
  72. <span t-esc="'{0:,.0f}'.format(o.amount)" />
  73. <span t-field="o.currency_id.symbol" />
  74. </p>
  75. </div>
  76. <!-- Tercera columna -->
  77. <div class="col-xs-4">
  78. <p><strong>Factura Nro:</strong> <span t-field="o.reference" /></p>
  79. </div>
  80. </div>
  81. <!-- Concepto del pago -->
  82. <div style="margin-top: 20px;">
  83. <!-- <p t-if="o.currency_id.id==3">
  84. Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
  85. <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Dólares en concepto de pago
  86. <span t-field="o.comment_obs" />
  87. </p>
  88. <p t-if="o.currency_id.id==20">
  89. Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
  90. <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Pesos Argentinos en concepto de pago
  91. <span t-field="o.comment_obs" />
  92. </p>
  93. <p t-if="o.currency_id.id==7">
  94. Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
  95. <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Reales en concepto de pago
  96. <span t-field="o.comment_obs" />
  97. </p>
  98. <p t-if="o.currency_id.id==1">
  99. Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
  100. <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Euros en concepto de pago
  101. <span t-field="o.comment_obs" />
  102. </p> -->
  103. <p t-if="o.currency_id.id==166">
  104. Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
  105. <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Guaraníes en concepto de pago
  106. <span t-field="o.comment_obs" />
  107. </p>
  108. </div>
  109. <!-- Línea divisoria -->
  110. <hr style="border: 2px dashed #C0C0C0; margin-top: 30px; margin-bottom: 30px;" />
  111. <!-- Firma -->
  112. <div class="row">
  113. <div class="col-xs-6">
  114. <p><strong>Recibí Conforme:</strong></p>
  115. <p>Firma: ____________________________</p>
  116. <p>Aclaración: _______________________</p>
  117. <p>C.I.N°: ___________________________</p>
  118. </div>
  119. </div>
  120. <t t-if="i == 1">
  121. <div class="logo2"> </div>
  122. </t>
  123. <!-- Detalles del recibo -->
  124. <!-- Continúa el contenido del recibo como está -->
  125. </div>
  126. </t>
  127. </div>
  128. </t>
  129. </t>
  130. </t>
  131. </template>
  132. </data>
  133. </openerp>