<?xml version="1.0" encoding="utf-8"?> <openerp> <data> <template id="report_voucher_document_bioelectric"> <t t-call="report.html_container"> <div class="page"> <t t-foreach="[1,2]" t-as="i"> <style type="text/css"> body{ font-size: 3mm; font-family: Arial, Helvetica, sans-serif; } div{ padding: 0px; } .pagina{ width:19.3cm; } .descripcion1{ width: 11.2cm; font-size: 13px; padding-top: 0.2cm; padding-left: 0.5cm; float: left; min-height: 0cm; } .descripcion2{ width: 13cm; font-size: 10px; float: left; padding-left: 0.5cm; min-height: 0cm; } .descripcion3{ width: 15cm; font-size: 10px; float: left; padding-left: 0.5cm; min-height: 0cm; } .descripcion4{ width: 15cm; font-size: 10px; padding-left: 0.5cm; float: left; min-height: 0cm; } .email{ width: 13cm; font-size: 10px; float: left; padding-left: 0.5cm; min-height: 0cm; } .ciudad{ width: 13cm; float: left; font-size: 10px; padding-left: 0.5cm; min-height: 0cm; } .tel{ width: 13cm; float: left; font-size: 10px; padding-left: 0.5cm; min-height: 0cm; } .divisoria{ height: 0.5cm; clear: both; } .divisoria2{ height: 2cm; clear: both; } .divisoria3{ height: 1cm; clear: both; } .divisoria5{ width: 23cm; float: left; font-size: 11px; padding-left: 0.5cm; min-height: 0cm; } </style> <div style="border:3px solid #ccc; border-radius:10px;"> <div class="row"> <div class="col-xs-4"> <tr> <div class="descripcion1"><b><i>BIO ELECTRIC</i></b></div> </tr> <tr> <div class="descripcion2"><b>SOLUCIONES ELECTROMECÁNICAS</b></div> </tr> <tr> <div class="descripcion3"><b>SERVICIOS ELÉCTRICOS 24 hs. - MONTAJES INDUSTRIALES</b></div> </tr> <tr> <div class="descripcion4"><b>AUTOMATIZACIONES - REFRIGERACIÓN, CCTV, SPLIT</b></div> </tr> <tr> <div class="email"><b>bioelectricpy@gmail.com - R.U.C. N°: 4474131-6</b></div> </tr> <tr> <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div> </tr> <tr> <div class="tel"><b>(021) 951825 - (0981) 939132 - (0984) 120678</b></div> </tr> </div> <div class="col-xs-8"> <center> <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 140px;max-width: 30px;"/> </center> </div> </div> <h3 style="text-align:center;"> <span t-if="o.type == 'receipt'"> Recibo de Cobro</span> <span t-if="o.type == 'payment'"> Recibo de Pago</span> <span t-if="o.number"> No. <span t-field="o.number"/></span> </h3> <div class="divisoria"></div> <div class="divisoria5"> <div class="row"> <div class="col-xs-9"> <p><strong> <span t-if="o.type == 'receipt'"> Cobrado a:</span> <span t-if="o.type == 'payment'"> Pagado a:</span> </strong> <span t-field="o.partner_id"/> - Dirección: <span t-field="o.partner_id.contact_address"/></p> </div> <div class="col-xs-9"> <p><strong> <span t-if="o.type == 'receipt'"> Cobrado por:</span> <span t-if="o.type == 'payment'"> Pagado por:</span> </strong> <span t-field="o.company_id"/> - Dirección: <span t-field="o.company_id.partner_id.contact_address"/></p> </div> <div class="col-xs-4"> <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> </div> <div class="col-xs-4"> <p><strong> Referencia/Descripción:</strong><span t-field="o.reference"/></p> </div> </div> </div> <hr size="4" width="90%"></hr> <div class="divisoria5"> <p> <span t-if="o.type == 'receipt'"> Recibi(mos) de</span> <span t-if="o.type == 'payment'"> Pagado a</span> <strong><span t-field="o.partner_id"/></strong> - R.U.C. N°: <span t-field="o.partner_id.ruc"/> Dirección: <span t-field="o.partner_id.contact_address"/></p> <p> Monto de <strong> <span t-field="o.currency_id.symbol"/> <t t-if="o.currency_id.id == 166"> <span t-esc="'{0:,.0f}'.format(o.amount)"/> </t> <t t-if="o.currency_id.id != 166"> <span t-esc="'{0:,.0f}'.format(o.amount)"/> </t> </strong> Método de <strong><span t-field="o.journal_id"/></strong> <span t-if="o.reference"> con Referencia/s valor de <strong><span t-field="o.reference"/> / <span t-field="o.name"/> </strong></span> </p> </div> <div class="divisoria5"> <p><strong> Notas:</strong> <span t-field="o.narration"/></p> </div> <hr size="4" width="90%"></hr> <div class="divisoria5"> <table width="50%"> <tr> <td width="10%"><strong> Cliente:</strong></td> <td width="20%">................................................</td> <td width="10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="10%"><strong> Cobrador:</strong></td> <td width="20%">.................................................</td> <td width="10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="10%"><strong>Sello</strong></td> </tr> <br> </br> </table> </div> <div class="divisoria3"></div> </div> <div class="divisoria2"></div> </t> </div> </t> </template> <template id="report_voucher_bioelectric"> <t t-call="report.html_container"> <t t-foreach="doc_ids" t-as="doc_id"> <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'voucher_print_bioelectric.report_voucher_document_bioelectric')"/> </t> </t> </template> </data> </openerp>