|
@@ -0,0 +1,98 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+<template id="report_voucher_document_original">
|
|
|
+
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+
|
|
|
+ <div class="page">
|
|
|
+ <t t-foreach="[1,2]" t-as="i">
|
|
|
+
|
|
|
+ <div style="border:3px solid #ccc; border-radius:10px;">
|
|
|
+ <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="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>
|
|
|
+ <hr size="4" width="90%"></hr>
|
|
|
+ <div>
|
|
|
+ <p>
|
|
|
+ <span t-if="o.type == 'receipt'"> Recibido de</span>
|
|
|
+ <span t-if="o.type == 'payment'"> Pagado a</span>
|
|
|
+ <strong><span t-field="o.partner_id"/></strong> - Dirección:
|
|
|
+ <span t-field="o.partner_id.contact_address"/></p>
|
|
|
+ <p> Monto de
|
|
|
+ <strong>
|
|
|
+ <span t-field="o.currency_id.symbol"/>
|
|
|
+ <span t-field="o.amount"/>
|
|
|
+ </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"/>
|
|
|
+ </strong></span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p><strong> Notas:</strong> <span t-field="o.narration"/></p>
|
|
|
+ </div>
|
|
|
+ <hr size="4" width="90%"></hr>
|
|
|
+ <table width="50%">
|
|
|
+ <tr>
|
|
|
+ <td width="10%"><strong> Cliente:</strong></td>
|
|
|
+ <td width="20%">................................................</td>
|
|
|
+ <td width="10%"><strong>Cobrador:</strong></td>
|
|
|
+ <td width="20%">.................................................</td>
|
|
|
+ </tr>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </t>
|
|
|
+</template>
|
|
|
+
|
|
|
+<template id="report_voucher_original">
|
|
|
+ <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_original.report_voucher_document_original')"/>
|
|
|
+ </t>
|
|
|
+ </t>
|
|
|
+</template>
|
|
|
+</data>
|
|
|
+</openerp>
|