|
@@ -31,7 +31,7 @@
|
|
<div class="page">
|
|
<div class="page">
|
|
<style type="text/css">
|
|
<style type="text/css">
|
|
body{
|
|
body{
|
|
- font-size: 2.70mm;
|
|
|
|
|
|
+ font-size: 2.7mm;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
}
|
|
div{
|
|
div{
|
|
@@ -46,114 +46,125 @@
|
|
top: 0px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
.fecha_emision_data{
|
|
.fecha_emision_data{
|
|
- width: 15.7cm;
|
|
|
|
- font-size: 2.0mm;
|
|
|
|
- padding-left: 8.7cm;
|
|
|
|
|
|
+ width: 11.5cm;
|
|
|
|
+ padding-left: 6.3cm;
|
|
float: left;
|
|
float: left;
|
|
min-height: 0.5cm;
|
|
min-height: 0.5cm;
|
|
}
|
|
}
|
|
|
|
+ .contado_x{
|
|
|
|
+ width: 1.8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-left: 9cm;
|
|
|
|
+ min-height: 0.5cm;
|
|
|
|
+ }
|
|
|
|
+ .credito_x{
|
|
|
|
+ width: 1.8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-left: 1.6cm;
|
|
|
|
+ min-height: 0.5cm;
|
|
|
|
+ }
|
|
.linea2{
|
|
.linea2{
|
|
position: relative;
|
|
position: relative;
|
|
top: -0.12cm;
|
|
top: -0.12cm;
|
|
- min-height: 0.4cm;
|
|
|
|
|
|
+ min-height: 0.5cm;
|
|
}
|
|
}
|
|
.razon_data{
|
|
.razon_data{
|
|
- width: 12.8cm;
|
|
|
|
|
|
+ width: 15cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 8.4cm;
|
|
|
|
|
|
+ padding-left: 6.9cm;
|
|
min-height: 0.4cm;
|
|
min-height: 0.4cm;
|
|
}
|
|
}
|
|
.ruc_data{
|
|
.ruc_data{
|
|
- width: 5cm;
|
|
|
|
- font-size: 2.0mm;
|
|
|
|
- font-family: Arial, Helvetica, sans-serif;
|
|
|
|
|
|
+ width: 5.5cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 0.7cm;
|
|
|
|
- min-height: 0.4cm;
|
|
|
|
|
|
+ padding-left: 0.2cm;
|
|
|
|
+ min-height: 0.5cm;
|
|
}
|
|
}
|
|
.linea3{
|
|
.linea3{
|
|
position: relative;
|
|
position: relative;
|
|
top: -0.12cm;
|
|
top: -0.12cm;
|
|
- min-height: 0.4cm;
|
|
|
|
|
|
+ min-height: 0.3cm;
|
|
}
|
|
}
|
|
.direccion_data{
|
|
.direccion_data{
|
|
- width: 13.0cm;
|
|
|
|
- font-size: 2.0mm;
|
|
|
|
- font-family: Arial, Helvetica, sans-serif;
|
|
|
|
|
|
+ width: 14cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 8.54cm;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
|
|
+ padding-left: 7cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
}
|
|
}
|
|
|
|
+ .linea4{
|
|
|
|
+ position: relative;
|
|
|
|
+ top: -0.12cm;
|
|
|
|
+ min-height: 0.3cm;
|
|
|
|
+ }
|
|
.telefono_data{
|
|
.telefono_data{
|
|
- width: 4.8cm;
|
|
|
|
- font-size: 2.0mm;
|
|
|
|
- font-family: Arial, Helvetica, sans-serif;
|
|
|
|
|
|
+ width: 10cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 1.0cm;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
|
|
+ padding-left: 6.9cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
}
|
|
}
|
|
- .linea4{
|
|
|
|
|
|
+ .linea5{
|
|
position: relative;
|
|
position: relative;
|
|
top: -0.12cm;
|
|
top: -0.12cm;
|
|
min-height: 0.4cm;
|
|
min-height: 0.4cm;
|
|
}
|
|
}
|
|
|
|
+ .contado_x{
|
|
|
|
+ width: 1.8cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-left: 9cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
+ .credito_x{
|
|
|
|
+ width: 1cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-left: 1.4cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
|
|
- .contado_x{
|
|
|
|
- width: 0.5cm;
|
|
|
|
- float: left;
|
|
|
|
- padding-left: 9.45cm;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
- }
|
|
|
|
- .credito_x{
|
|
|
|
- width: 0.5cm;
|
|
|
|
- float: left;
|
|
|
|
- padding-left: 1.0cm;
|
|
|
|
- min-height: 0.5cm;
|
|
|
|
- }
|
|
|
|
|
|
+ .nota_remision_data{
|
|
|
|
+ width: 4cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-left: 2.5cm;
|
|
|
|
+ min-height: 0.4cm;
|
|
|
|
+ }
|
|
|
|
|
|
.cab-articulos{
|
|
.cab-articulos{
|
|
height: 0.9cm;
|
|
height: 0.9cm;
|
|
clear: both;
|
|
clear: both;
|
|
}
|
|
}
|
|
.articulos{
|
|
.articulos{
|
|
- height: 3.93cm;
|
|
|
|
|
|
+ height: 4.5cm;
|
|
}
|
|
}
|
|
.art-col1{
|
|
.art-col1{
|
|
- width:1.0cm;
|
|
|
|
|
|
+ width:0.4cm;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
.art-col2{
|
|
.art-col2{
|
|
- padding-left: 1.2cm;
|
|
|
|
|
|
+ padding-left: 0.7cm;
|
|
width:1cm;
|
|
width:1cm;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
.art-col3{
|
|
.art-col3{
|
|
- padding-left: 0.6cm;
|
|
|
|
- width:8.9cm;
|
|
|
|
|
|
+ padding-left: 0.3cm;
|
|
|
|
+ width:9.8cm;
|
|
}
|
|
}
|
|
.art-col4{
|
|
.art-col4{
|
|
- width:1.8cm;
|
|
|
|
|
|
+ width:0.9cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
.art-col5{
|
|
.art-col5{
|
|
- width:1.6cm;
|
|
|
|
|
|
+ width:2.8cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
.art-col6{
|
|
.art-col6{
|
|
- width:1.8cm;
|
|
|
|
|
|
+ width:2.7cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
.art-col7{
|
|
.art-col7{
|
|
- width:1.9cm;
|
|
|
|
|
|
+ width:1.5cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
- .logo1{
|
|
|
|
- height: 1.38cm;
|
|
|
|
- width: 100%;
|
|
|
|
- top: 0px;
|
|
|
|
- }
|
|
|
|
- .logo2{
|
|
|
|
- height: 1.39cm;
|
|
|
|
|
|
+ .logo1{
|
|
|
|
+ height: 3cm;
|
|
width: 100%;
|
|
width: 100%;
|
|
top: 0px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
@@ -165,106 +176,69 @@
|
|
min-height: 0.2cm;
|
|
min-height: 0.2cm;
|
|
}
|
|
}
|
|
.subtotal_excentas{
|
|
.subtotal_excentas{
|
|
- width: 1.8cm;
|
|
|
|
|
|
+ width: 2cm;
|
|
float: left;
|
|
float: left;
|
|
text-align: right;
|
|
text-align: right;
|
|
- padding-left: 10cm;
|
|
|
|
|
|
+ padding-left: 10cm;
|
|
padding-top: 0.7cm;
|
|
padding-top: 0.7cm;
|
|
min-height: 0.2cm;
|
|
min-height: 0.2cm;
|
|
}
|
|
}
|
|
.subtotal_5{
|
|
.subtotal_5{
|
|
width: 1cm;
|
|
width: 1cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 0.8cm;
|
|
|
|
|
|
+ padding-left: 1cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
padding-top: 0.7cm;
|
|
padding-top: 0.7cm;
|
|
min-height: 0.2cm;
|
|
min-height: 0.2cm;
|
|
}
|
|
}
|
|
.subtotal_10{
|
|
.subtotal_10{
|
|
- width: 1.9cm;
|
|
|
|
|
|
+ width: 2cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 0.1cm;
|
|
|
|
- text-align: center;
|
|
|
|
|
|
+ padding-left: 1cm;
|
|
|
|
+ text-align: right;
|
|
padding-top: 0.7cm;
|
|
padding-top: 0.7cm;
|
|
min-height: 0.2cm;
|
|
min-height: 0.2cm;
|
|
}
|
|
}
|
|
- .linea5{
|
|
|
|
- position: relative;
|
|
|
|
- top: -0.12cm;
|
|
|
|
- min-height: 0.3cm;
|
|
|
|
- }
|
|
|
|
.total_pagar_data{
|
|
.total_pagar_data{
|
|
- width: 17.1cm;
|
|
|
|
|
|
+ width: 17.5cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-top: 0.015mm;
|
|
|
|
- padding-left: 4.5cm;
|
|
|
|
- min-height: 0.2cm;
|
|
|
|
|
|
+ padding-top: 0.01mm;
|
|
|
|
+ padding-left: 5cm;
|
|
|
|
+ min-height: 0.3cm;
|
|
}
|
|
}
|
|
- .total_pagar{
|
|
|
|
- width: 2.35cm;
|
|
|
|
- float: right;
|
|
|
|
- padding-top: 0.015mm;
|
|
|
|
- padding-left: 0.7cm;
|
|
|
|
- min-height: 0.2cm;
|
|
|
|
|
|
+ .iva_5_data{
|
|
|
|
+ width: 5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-top: 0.6cm;
|
|
|
|
+ padding-left: 4.7cm;
|
|
|
|
+ min-height: 0.25cm;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .cab-articulos1{
|
|
|
|
- height: 0.0cm;
|
|
|
|
- clear: both;
|
|
|
|
|
|
+ .iva_10_data{
|
|
|
|
+ width: 5cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-top: 0.6cm;
|
|
|
|
+ padding-left: 3.8cm;
|
|
|
|
+ min-height: 0.25cm;
|
|
|
|
+ }
|
|
|
|
+ .iva_total_data{
|
|
|
|
+ width: 7cm;
|
|
|
|
+ float: left;
|
|
|
|
+ padding-top: 0.6cm;
|
|
|
|
+ padding-left: 4.8cm;
|
|
|
|
+ min-height: 0.25cm;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .articulos1{
|
|
|
|
- height: 0.15cm;
|
|
|
|
- }
|
|
|
|
- .art-col11{
|
|
|
|
- width:1.3cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
- .art-col21{
|
|
|
|
- padding-left: 1.1cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- width:1.5cm;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
- .art-col31{
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- padding-left: 0.6cm;
|
|
|
|
- width:8.9cm;
|
|
|
|
- }
|
|
|
|
- .art-col41{
|
|
|
|
- width:1.8cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- text-align: right;
|
|
|
|
- }
|
|
|
|
- .art-col51{
|
|
|
|
- width:1.5cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- text-align: right;
|
|
|
|
- }
|
|
|
|
- .art-col61{
|
|
|
|
- width:1.8cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- text-align: left;
|
|
|
|
- }
|
|
|
|
- .art-col71{
|
|
|
|
- width:1.7cm;
|
|
|
|
- padding-left: 0.1cm;
|
|
|
|
- padding-top: 0.1cm;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
|
|
|
|
</style>
|
|
</style>
|
|
<t t-foreach="docs" t-as="o">
|
|
<t t-foreach="docs" t-as="o">
|
|
<div class="pagina">
|
|
<div class="pagina">
|
|
<div class="logo"> </div>
|
|
<div class="logo"> </div>
|
|
<div class="linea1">
|
|
<div class="linea1">
|
|
- <div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMM yyyy"}'/></div>
|
|
|
|
|
|
+ <div class="fecha_emision_data">Ciudad del Este,<span t-field="o.date_invoice" t-field-options='{"format": "dd MMMM yyyy"}'/></div>
|
|
|
|
+ <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="linea2">
|
|
<div class="linea2">
|
|
<div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
<div class="razon_data"><span t-field="o.partner_id.name"/></div>
|
|
- <div class="ruc_data"><span t-field="o.partner_id.ruc"/></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="linea3">
|
|
<div class="linea3">
|
|
@@ -276,28 +250,30 @@
|
|
|
|
|
|
<div class="linea4">
|
|
<div class="linea4">
|
|
<div class="telefono_data"><span t-field="o.partner_id.phone"/></div>
|
|
<div class="telefono_data"><span t-field="o.partner_id.phone"/></div>
|
|
- <div class="contado_x">
|
|
|
|
- <t t-if="o.contado == True">X</t>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="linea5">
|
|
|
|
+ <div class="nota_remision_data"> </div>
|
|
|
|
+ <div class="contado_x">
|
|
|
|
+ <t t-if="o.contado == True">x</t>
|
|
<t t-if="o.contado == False"></t>
|
|
<t t-if="o.contado == False"></t>
|
|
</div>
|
|
</div>
|
|
<div class="credito_x">
|
|
<div class="credito_x">
|
|
- <t t-if="o.credito == True">X</t>
|
|
|
|
|
|
+ <t t-if="o.credito == True">x</t>
|
|
<t t-if="o.credito == False"></t>
|
|
<t t-if="o.credito == False"></t>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="nota_remision_data"> </div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div class="cab-articulos"> </div>
|
|
<div class="cab-articulos"> </div>
|
|
<div class="articulos">
|
|
<div class="articulos">
|
|
-
|
|
|
|
<table class="tab-articulos">
|
|
<table class="tab-articulos">
|
|
<tr t-foreach="o.invoice_line" t-as="l">
|
|
<tr t-foreach="o.invoice_line" t-as="l">
|
|
- <td class="art-col1"><span t-field="l.product_id.default_code"/></td>
|
|
|
|
- <td class="art-col2"><span t-esc="'%.0f'%l.quantity"/></td>
|
|
|
|
- <td class="art-col3"><span t-field="l.product_id.name"/></td>
|
|
|
|
|
|
+ <td class="art-col1"><span t-esc="'{0:,.0f}'.format(l.quantity)"/></td>
|
|
|
|
+ <td class="art-col2"></td>
|
|
|
|
+ <td class="art-col3"><span t-field="l.name"/></td>
|
|
<td class="art-col4"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
|
|
<td class="art-col4"><span t-esc="'{0:,.0f}'.format(l.price_unit)"/></td>
|
|
<td class="art-col5"> </td>
|
|
<td class="art-col5"> </td>
|
|
<td class="art-col6"> </td>
|
|
<td class="art-col6"> </td>
|
|
- <td class="art-col7"><span t-esc="'{0:,.0f}'.format((l.quantity * l.price_unit))"/></td>
|
|
|
|
|
|
+ <td class="art-col7"><span t-esc="'{0:,.0f}'.format(l.price_unit*l.quantity)"/></td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@@ -305,38 +281,16 @@
|
|
<div class="subtotal_data"> </div>
|
|
<div class="subtotal_data"> </div>
|
|
<div class="subtotal_excentas"> </div>
|
|
<div class="subtotal_excentas"> </div>
|
|
<div class="subtotal_5"> </div>
|
|
<div class="subtotal_5"> </div>
|
|
- <td style="font-size:7.0px;">
|
|
|
|
|
|
+ <td style="font-size:10px;">
|
|
<div class="subtotal_10"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
|
|
<div class="subtotal_10"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
|
|
</td>
|
|
</td>
|
|
- <div class="linea5">
|
|
|
|
- <div class="total_pagar_data">Gs.: <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
|
|
|
|
- <div class="total_pagar"><span t-esc="'{0:,.0f}'.format(o.amount_total)"/></div>
|
|
|
|
- </div>
|
|
|
|
- <div class="cab-articulos1"> </div>
|
|
|
|
- <div class="articulos1">
|
|
|
|
- <table class="tab-articulos1">
|
|
|
|
- <td class="art-col11"></td>
|
|
|
|
- <td class="art-col21"></td>
|
|
|
|
- <td class="art-col31"></td>
|
|
|
|
- <td class="art-col41"></td>
|
|
|
|
- <td class="art-col51"> </td>
|
|
|
|
- <td class="art-col61"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></td>
|
|
|
|
- <td class="art-col71"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></td>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <!-- <div class="iva_espacio"> </div>
|
|
|
|
- <div class="iva_5_data"> </div>
|
|
|
|
- <div class="iva_10_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
|
|
|
|
- <div class="iva_total_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div> -->
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <t t-if="i == 1">
|
|
|
|
- <div class="logo1"> </div>
|
|
|
|
- </t>
|
|
|
|
- <t t-if="i == 2">
|
|
|
|
- <div class="logo2"> </div>
|
|
|
|
- </t>
|
|
|
|
|
|
+ <div class="total_pagar_data"><span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
|
|
|
|
|
|
|
|
+ <div class="iva_5_data"> </div>
|
|
|
|
+ <div class="iva_10_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
|
|
|
|
+ <div class="iva_total_data"><span t-esc="'{0:,.0f}'.format(o.amount_tax)"/></div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="logo1"> </div>
|
|
</t>
|
|
</t>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|