123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <template id="report_voucher_document_profesional">
- <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;
- }
- .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>FERREWORK</i></b></div>
- </tr>
- <tr>
- <div class="email"><b>ferrework@gmail.com - R.U.C. N°: 1292025-1</b></div>
- </tr>
- <tr>
- <div class="ciudad"><b>SAN ANTONIO - PARAGUAY</b></div>
- </tr>
- <tr>
- <div class="tel"><b>(0981) 939132 - (0985) 714455</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_profesional">
- <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_profesional.report_voucher_document_profesional')"/>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|