123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="factura_legal_bioelectric"
- model="account.voucher"
- string="Recibo de dinero"
- report_type="qweb-pdf"
- name="recibo_bioelectric.recibo_bioelectric"
- file="recibo_bioelectric.recibo_bioelectric"
- />
- <template id="recibo_bioelectric">
- <t t-call="report.html_container">
- <t t-call="report.external_layout">
- <t t-foreach="[1]" t-as="i">
- <!-- Página del recibo -->
- <div class="page">
- <t t-foreach="docs" t-as="o">
- <div class="pagina">
- <!-- Cabecera -->
- <div class="row" style="display: flex; align-items: stretch;">
- <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;">
- <div class="logo-container">
- <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 125px;" />
- </div>
- <div style="margin-top: 0.3cm;"></div>
- <t><center><strong>INNOVACIÓN, TECNOLOGÍA Y SEGURIDAD</strong></center></t>
- </div>
- <div class="col-xs-5" style="border: 2px solid #ddd; display: flex; flex-direction: column; justify-content: center; padding: 10px;">
- <h3><center><strong><i>BIOELECTRIC</i></strong></center></h3>
- <t><center><b>de Armando Javier Aguilar Ramos</b></center></t>
- <t><center><b>Instalaciones eléctricas, electromecánicas y electrónicas.</b></center></t>
- <t><center><b>Comercio al por menor de otros artículos N.C.P.</b></center></t>
- <t><center><b>Comercio al por menor de otros artículos de Ferretería</b></center></t>
- <t><center><b>Calle Cabo 7 Silvio Ovelar c/ Paso de Patria</b></center></t>
- <t><center><b>San Antonio - Paraguay</b></center></t>
- <t><center><b>bioelectricpy@gmail.com - (0981) 939 132</b></center></t>
- </div>
- <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;">
- <t>
- <div>
- <h5><center><strong>Formulario Nº 022</strong></center></h5>
- </div>
- </t>
- <t>
- <div>
- <h3><center><strong>RECIBO DE DINERO</strong></center></h3>
- </div>
- </t>
- <t>
- <div>
- <h4><center><strong><span t-field="o.name" /></strong></center></h4>
- </div>
- </t>
- <t>
- <div>
- <center><strong><span t-field="o.company_id.vat" /></strong></center>
- </div>
- </t>
- </div>
- </div>
- <div style="margin-top: 0.6cm;"></div>
- <!-- Detalles del recibo -->
- <div class="row">
- <!-- Primera columna -->
- <div class="col-xs-4">
- <p><strong>Número de Pago:</strong> <span t-field="o.number" /></p>
- <p><strong>Fecha:</strong> <span t-field="o.date" t-field-options='{"format": "d MMMM y"}' /></p>
- </div>
- <!-- Segunda columna -->
- <div class="col-xs-4">
- <p><strong>Monto Pagado:</strong>
- <span t-esc="'{0:,.0f}'.format(o.amount)" />
- <span t-field="o.currency_id.symbol" />
- </p>
- </div>
- <!-- Tercera columna -->
- <div class="col-xs-4">
- <p><strong>Factura Nro:</strong> <span t-field="o.reference" /></p>
- </div>
- </div>
- <!-- Concepto del pago -->
- <div style="margin-top: 20px;">
- <!-- <p t-if="o.currency_id.id==3">
- Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
- <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Dólares en concepto de pago
- <span t-field="o.comment_obs" />
- </p>
- <p t-if="o.currency_id.id==20">
- Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
- <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Pesos Argentinos en concepto de pago
- <span t-field="o.comment_obs" />
- </p>
- <p t-if="o.currency_id.id==7">
- Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
- <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Reales en concepto de pago
- <span t-field="o.comment_obs" />
- </p>
- <p t-if="o.currency_id.id==1">
- Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
- <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Euros en concepto de pago
- <span t-field="o.comment_obs" />
- </p> -->
- <p t-if="o.currency_id.id==166">
- Recibí de <strong><span t-field="o.partner_id.name" /></strong> el monto de
- <span t-esc="convertir(o.amount, o.currency_id.en_letras1)" /> Guaraníes en concepto de pago
- <span t-field="o.comment_obs" />
- </p>
- </div>
- <!-- Línea divisoria -->
- <hr style="border: 2px dashed #C0C0C0; margin-top: 30px; margin-bottom: 30px;" />
- <!-- Firma -->
- <div class="row">
- <div class="col-xs-6">
- <p><strong>Recibí Conforme:</strong></p>
- <p>Firma: ____________________________</p>
- <p>Aclaración: _______________________</p>
- <p>C.I.N°: ___________________________</p>
- </div>
- </div>
- <t t-if="i == 1">
- <div class="logo2"> </div>
- </t>
- <!-- Detalles del recibo -->
- <!-- Continúa el contenido del recibo como está -->
- </div>
- </t>
- </div>
- </t>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|