123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="informe_recibo_flashnet"
- model="account.voucher"
- string="Recibo"
- report_type="qweb-pdf"
- name="recibo_flashnet.recibo_flashnet"
- file="recibo_flashnet.recibo_flashnet"
- />
- <record id="paperformat_lowmargin" model="report.paperformat">
- <field name="name">A4</field>
- <field name="default" eval="True" />
- <field name="format">custom</field>
- <field name="page_height">297</field>
- <field name="page_width">210</field>
- <field name="orientation">Portrait</field>
- <field name="margin_top">4</field>
- <field name="margin_bottom">3</field>
- <field name="margin_left">3</field>
- <field name="margin_right">3</field>
- <field name="header_line" eval="False" />
- <field name="header_spacing">3</field>
- <field name="dpi">90</field>
- </record>
- <record id="recibo_flashnet.informe_recibo_flashnet" model="ir.actions.report.xml">
- <field name="paperformat_id" ref="recibo_flashnet.paperformat_lowmargin" />
- </record>
- <template id="recibo_flashnet">
- <t t-call="report.html_container">
- <div class="page">
- <style type="text/css">
- body{
- font-size: 6mm;
- font-family: Arial;
- }
- div{
- padding: 0px;
- }
- .pagina{
- width:19.3cm;
- padding-left: 1.5cm;
- padding-right: 1.5cm;
- }
- .logo{
- height: 0.25cm;
- width: 100%;
- top: 0px;
- }
- .logo2{
- height: 0.25cm;
- width: 100%;
- top: 0px;
- }
- .descripcion2{
- width: 13cm;
- font-size: 10px;
- float: left;
- min-height: 0cm;
- }
- .descripcion3{
- width: 15cm;
- font-size: 10px
- padding-top: 0.5cm;
- margin-left: 0.4cm;
- float: left;
- min-height: 0cm;
- }
- .descripcion{
- width: 11.2cm;
- font-size: 13px;
- padding-top: 0.5cm;
- margin-left: 0.4cm;
- float: left;
- min-height: 0cm;
- }
- .descripcion1{
- width: 11.2cm;
- font-size: 12px;
- padding-top: 0.2cm;
- margin-left: 0.4cm;
- float: left;
- min-height: 0cm;
- }
- .descripcion4{
- width: 15cm;
- font-size: 10px;
- float: left;
- min-height: 0cm;
- }
- .email{
- width: 13cm;
- font-size: 10px;
- margin-left: 0.4cm;
- float: left;
- min-height: 0cm;
- }
- .ciudad{
- width: 13cm;
- float: left;
- font-size: 10px;
- min-height: 0cm;
- }
- .tel{
- width: 13cm;
- float: left;
- font-size: 10px;
- margin-left: 0.4cm;
- min-height: 0cm;
- }
- .rucdata{
- width: 13cm;
- float: left;
- font-size: 10px;
- margin-left: 0.4cm;
- min-height: 0cm;
- }
- .divisoria{
- height: 0.5cm;
- clear: both;
- }
- diva {
- text-decoration-line: overline;
- }
- .titulo{
- width: 19.2cm;
- text-align: center;
- margin-left: 0.8cm;
- width: 100%;
- min-height: 0.9cm;
- }
- .number{
- width: 13cm;
- float: left;
- margin-left: 1cm;
- font-size: 15px;
- min-height: 0cm;
- }
- .date{
- width: 13cm;
- float: left;
- margin-left: 1cm;
- font-size: 15px;
- min-height: 0cm;
- }
- .amount{
- width: 13cm;
- float: left;
- margin-left: 1cm;
- font-size: 15px;
- min-height: 0cm;
- }
- .currency{
- width: 19cm;
- float: left;
- margin-left: 1cm;
- font-size: 15px;
- min-height: 0cm;
- }
- .firma{
- width: 19cm;
- float: left;
- margin-left: 1cm;
- font-size: 15px;
- min-height: 0cm;
- }
- margen{
- margin-right: 20px;
- }
- div{
- padding: 0px;
- }
- </style>
- <t t-foreach="docs" t-as="o">
- <div class="pagina">
- <div class="row">
- <div class="col-xs-6">
- <left>
- <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 200px;max-width: 200px;"/>
- </left>
- </div>
- <div class="col-xs-6">
- <tr>
- <div class="logo2"></div>
- </tr>
- <tr>
- <div class="descripcion3"><b>Flash Net</b></div>
- </tr>
- <tr>
- <div class="descripcion1"><b>Avda.</b></div>
- </tr>
- <tr>
- <div class="email"><b>San Estanislao - Paraguay</b></div>
- </tr>
- <tr>
- <div class="tel"><b>Tel.: </b></div>
- </tr>
- <tr>
- <div class="rucdata"><b>R.U.C. N° </b></div>
- </tr>
- </div>
- <div class="divisoria"> </div>
- <hr width="125%" style="border: 2px dashed #C0C0C0" color="#FFFFFF" size="6"></hr>
- <t t-foreach="[1]" t-as="i">
- <div class="divisoria"> </div>
- <div class="titulo" >
- <h3 class="text-center"><strong>RECIBO DE DINERO</strong></h3>
- <h4 class="text-center"></h4>
- </div>
- <div class="col-xs-12">
- <br>
- <tr>
- <div class="number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
- </tr>
- <tr>
- <div class="date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
- </tr>
- <tr>
- <div class="amount">
- <strong>Monto pagado: </strong><i t-esc="'{0:,.0f}'.format(o.amount)"/> <span t-field="o.currency_id.symbol"/>
- </div>
- </tr>
- </br>
- </div>
- <br>
- </br>
- <div class="col-xs-12">
- <br>
- <div class="currency">
- <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 por ......................................................................................... 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 por ........................................................................................ 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 por ......................................................................................... 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 por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
- <tr>
- <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 por <span t-field="o.comment_obs"/></p>
- </tr>
- <!-- <tr>
- <p t-if="o.currency_id.id==166"><span t-field="o.comment_obs"/></p>
- </tr> -->
- <tr>
- <p t-if="o.currency_id.id==166">de la Factura Nro <span t-field="o.reference"/></p>
- </tr>
- </div>
- </br>
- </div>
- <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
- <div class="divisoria"> </div>
- <!-- <br>
- <div class="col-xs-6">
- <div class="firma">
- <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
- </div>
- </div>
- </br> -->
- <br>
- </br>
- <br>
- </br>
- </t> <!-- -->
- </div>
- </div>
- </t>
- </div>
- </t>
- </template>
- </data>
- </openerp>
|