|
@@ -0,0 +1,96 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+
|
|
|
+
|
|
|
+ <report id="informe_recibo_decorart"
|
|
|
+ model="account.voucher"
|
|
|
+ string="Recibo"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="recibo_decorart.recibo_decorart"
|
|
|
+ file="recibo_decorart.recibo_decorart"
|
|
|
+ />
|
|
|
+
|
|
|
+<template id="recibo_decorart">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <!-- <t t-foreach="[1,2]" t-as="i"> -->
|
|
|
+ <div class="page">
|
|
|
+ <style type="text/css">
|
|
|
+ body{
|
|
|
+ font-size: 5mm;
|
|
|
+ font-family: Arial;
|
|
|
+ }
|
|
|
+ .pagina{
|
|
|
+ width:19.3cm;
|
|
|
+ }
|
|
|
+ div{
|
|
|
+ padding: 0px;
|
|
|
+ }
|
|
|
+
|
|
|
+ </style>
|
|
|
+ <!-- <div class="oe_structure"/> -->
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-xs-4">
|
|
|
+ <center>
|
|
|
+ <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 150px;max-width: 100px;"/>
|
|
|
+ </center>
|
|
|
+ </div>
|
|
|
+ <h3 class="text-center">RECIBO DE DINERO</h3>
|
|
|
+ <h4 class="text-center">M Y S Decorart</h4>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <div t-if="o.number" class="col-sm-6">
|
|
|
+ <strong>Numero de Pago: </strong><i t-field="o.number"/>
|
|
|
+ </div>
|
|
|
+ <div t-if="o.date" class="col-sm-6">
|
|
|
+ <strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/>
|
|
|
+ </div>
|
|
|
+ <div t-if="o.amount" class="col-sm-6">
|
|
|
+ <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
|
|
|
+ </div>
|
|
|
+ </br>
|
|
|
+
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <p t-if="o.currency_id.id==3">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Dolares en concepto de pago de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==20">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Pesos Argentinos en concepto de pago de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==7">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Reales en concepto de pago de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==1">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Euros en concepto de pago de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==166">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Guaranies en concepto de pago de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ </br>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ <div class="col-xs-6">
|
|
|
+ <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
|
|
|
+ </div>
|
|
|
+ </br>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+ <!-- </t> -->
|
|
|
+ </t>
|
|
|
+</template>
|
|
|
+</data>
|
|
|
+</openerp>
|