|
@@ -17,6 +17,7 @@
|
|
<style type="text/css">
|
|
<style type="text/css">
|
|
body{
|
|
body{
|
|
font-size: 3mm;
|
|
font-size: 3mm;
|
|
|
|
+
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
}
|
|
div{
|
|
div{
|
|
@@ -26,39 +27,39 @@
|
|
width:19.3cm;
|
|
width:19.3cm;
|
|
}
|
|
}
|
|
.logo{
|
|
.logo{
|
|
- height: 1.8cm;
|
|
|
|
|
|
+ height: 3.38cm;
|
|
width: 100%;
|
|
width: 100%;
|
|
top: 0px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
.fecha_emision_data{
|
|
.fecha_emision_data{
|
|
width: 11.2cm;
|
|
width: 11.2cm;
|
|
- padding-left: 1.1cm;
|
|
|
|
|
|
+ padding-left:2cm;
|
|
float: left;
|
|
float: left;
|
|
min-height: 0cm;
|
|
min-height: 0cm;
|
|
}
|
|
}
|
|
.contado_x{
|
|
.contado_x{
|
|
width: 5.7cm;
|
|
width: 5.7cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 0.4cm;
|
|
|
|
|
|
+ padding-left: 0.9cm;
|
|
min-height: 0cm;
|
|
min-height: 0cm;
|
|
}
|
|
}
|
|
|
|
|
|
.razon_data{
|
|
.razon_data{
|
|
width: 13cm;
|
|
width: 13cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 3cm;
|
|
|
|
|
|
+ padding-left: 4.3cm;
|
|
min-height: 0cm;
|
|
min-height: 0cm;
|
|
}
|
|
}
|
|
.ruc_data{
|
|
.ruc_data{
|
|
width: 5.7cm;
|
|
width: 5.7cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 3.3cm;
|
|
|
|
|
|
+ padding-left: 3.8cm;
|
|
min-height: 0cm;
|
|
min-height: 0cm;
|
|
}
|
|
}
|
|
.direccion_data{
|
|
.direccion_data{
|
|
- width: 10.8cm;
|
|
|
|
|
|
+ width: 10.5cm;
|
|
float: left;
|
|
float: left;
|
|
- padding-left: 1.3cm;
|
|
|
|
|
|
+ padding-left:3.8cm;
|
|
min-height: 0cm;
|
|
min-height: 0cm;
|
|
}
|
|
}
|
|
.telefono_data{
|
|
.telefono_data{
|
|
@@ -72,10 +73,7 @@
|
|
height: 1.1cm;
|
|
height: 1.1cm;
|
|
clear: both;
|
|
clear: both;
|
|
}
|
|
}
|
|
- .divisoria-sumatoriacab-articulos{
|
|
|
|
- height: 0.2cm;
|
|
|
|
- clear: both;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
.borderless td, .borderless th {
|
|
.borderless td, .borderless th {
|
|
border: none !important;
|
|
border: none !important;
|
|
}
|
|
}
|
|
@@ -87,12 +85,12 @@
|
|
}
|
|
}
|
|
|
|
|
|
.logo1{
|
|
.logo1{
|
|
- height: 1.2cm;
|
|
|
|
|
|
+ height: 2.8cm;
|
|
width: 100%;
|
|
width: 100%;
|
|
top: 0px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
.logo2{
|
|
.logo2{
|
|
- height: 1.45cm;
|
|
|
|
|
|
+ height: 2.7cm;
|
|
width: 100%;
|
|
width: 100%;
|
|
top: 0px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
@@ -100,7 +98,16 @@
|
|
</style>
|
|
</style>
|
|
<t t-foreach="docs" t-as="o">
|
|
<t t-foreach="docs" t-as="o">
|
|
<div class="pagina">
|
|
<div class="pagina">
|
|
|
|
+ <t t-if="i == 1">
|
|
<div class="logo"> </div>
|
|
<div class="logo"> </div>
|
|
|
|
+ </t>
|
|
|
|
+ <t t-if="i == 2">
|
|
|
|
+ <div class="logo1"> </div>
|
|
|
|
+ </t>
|
|
|
|
+ <t t-if="i == 3">
|
|
|
|
+ <div class="logo2"> </div>
|
|
|
|
+ </t>
|
|
|
|
+
|
|
<tr>
|
|
<tr>
|
|
<div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMMM yyyy"}'/></div>
|
|
<div class="fecha_emision_data"><span t-field="o.date_invoice" t-field-options='{"format": "dd MMMM yyyy"}'/></div>
|
|
<div class="contado_x">
|
|
<div class="contado_x">
|
|
@@ -122,7 +129,7 @@
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
<div class="cab-articulos"> </div>
|
|
<div class="cab-articulos"> </div>
|
|
- <div style="height:3.5cm;">
|
|
|
|
|
|
+ <div style="height:3.3cm;padding-left:1.5cm;">
|
|
<div style="font-family: Arial;">
|
|
<div style="font-family: Arial;">
|
|
<table class="table borderless table-condensed">
|
|
<table class="table borderless table-condensed">
|
|
<t t-set="valor_exentas" t-value="0"/>
|
|
<t t-set="valor_exentas" t-value="0"/>
|
|
@@ -132,7 +139,7 @@
|
|
<tr t-foreach="o.invoice_line" t-as="l">
|
|
<tr t-foreach="o.invoice_line" t-as="l">
|
|
<!-- CODIGO DE PRODUCTO -->
|
|
<!-- CODIGO DE PRODUCTO -->
|
|
<td style="font-size:7.5px;font-family: Arial;width:1.8cm;overflow: auto; text-align: left;">
|
|
<td style="font-size:7.5px;font-family: Arial;width:1.8cm;overflow: auto; text-align: left;">
|
|
- <span t-field="l.product_id.ean13"/>
|
|
|
|
|
|
+ <span t-field="l.product_id.id"/>
|
|
</td>
|
|
</td>
|
|
<!-- CANTIDAD -->
|
|
<!-- CANTIDAD -->
|
|
<td style="font-size:7.5px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">
|
|
<td style="font-size:7.5px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;">
|
|
@@ -144,7 +151,7 @@
|
|
<span t-field="l.name"/>
|
|
<span t-field="l.name"/>
|
|
</td>
|
|
</td>
|
|
<!-- PRECIO UNITARIO -->
|
|
<!-- PRECIO UNITARIO -->
|
|
- <td style="font-size:7.5px;font-family: Arial;width:1.6cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
+ <td style="font-size:7.5px;font-family: Arial;width:1.4cm;overflow: auto; text-align: right;">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
</t>
|
|
</t>
|
|
@@ -179,7 +186,7 @@
|
|
</td>
|
|
</td>
|
|
|
|
|
|
<!-- IVA 10% -->
|
|
<!-- IVA 10% -->
|
|
- <td style="font-size:7.5px;font-family: Arial;width:2.3cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
+ <td style="font-size:7.5px;font-family: Arial;width:2.5cm;overflow: auto; text-align: right;">
|
|
<span t-if="'IVA 10% Venta' in [ilt.name for ilt in l.invoice_line_tax_id]">
|
|
<span t-if="'IVA 10% Venta' in [ilt.name for ilt in l.invoice_line_tax_id]">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(l.quantity * l.price_unit)"/>
|
|
<span t-esc="'{0:,.0f}'.format(l.quantity * l.price_unit)"/>
|
|
@@ -195,8 +202,7 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="div-sumatoria"> </div>
|
|
|
|
- <div style="height:1.9cm">
|
|
|
|
|
|
+ <div style="height:1.9cm;padding-left:1.5cm;">
|
|
|
|
|
|
<t t-set="total_5" t-value="0"/>
|
|
<t t-set="total_5" t-value="0"/>
|
|
<t t-set="total_10" t-value="0"/>
|
|
<t t-set="total_10" t-value="0"/>
|
|
@@ -209,7 +215,7 @@
|
|
<td style="font-size:10px;font-family: Arial;width:1.8cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:1.8cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:1.3cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:9cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:9cm;overflow: auto; text-align: center;"></td>
|
|
- <td style="font-size:10px;font-family: Arial;width:1.9cm;overflow: auto; text-align: center;"></td>
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:1.4cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;">
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(valor_exentas)"/>
|
|
<span t-esc="'{0:,.0f}'.format(valor_exentas)"/>
|
|
@@ -227,7 +233,7 @@
|
|
</t>
|
|
</t>
|
|
<t t-set="iva_5" t-value="valor_5/21" />
|
|
<t t-set="iva_5" t-value="valor_5/21" />
|
|
</td>
|
|
</td>
|
|
- <td style="font-size:10px;font-family: Arial;width:2.3cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.5cm;overflow: auto; text-align: right;">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(valor_10)"/>
|
|
<span t-esc="'{0:,.0f}'.format(valor_10)"/>
|
|
</t>
|
|
</t>
|
|
@@ -249,11 +255,11 @@
|
|
<div>Dólares <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
|
|
<div>Dólares <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
|
|
</t>
|
|
</t>
|
|
</td>
|
|
</td>
|
|
- <td style="font-size:10px;font-family: Arial;width:1.9cm;overflow: auto; text-align: center;"></td>
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:1.4cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;">
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
- <td style="font-size:10px;font-family: Arial;width:2.3cm;overflow: auto; text-align: right;">
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.5cm;overflow: auto; text-align: right;">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
<span t-esc="'{0:,.0f}'.format(o.amount_total)"/>
|
|
</t>
|
|
</t>
|
|
@@ -298,9 +304,9 @@
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</td>
|
|
</td>
|
|
- <td style="font-size:10px;font-family: Arial;width:1.6cm;overflow: auto; text-align: center;"></td>
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:1.4cm;overflow: auto; text-align: center;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;"></td>
|
|
<td style="font-size:10px;font-family: Arial;width:2.2cm;overflow: auto; text-align: right;"></td>
|
|
- <td style="font-size:10px;font-family: Arial;width:2.1cm;overflow: auto; text-align: left;">
|
|
|
|
|
|
+ <td style="font-size:10px;font-family: Arial;width:2.1cm;overflow: auto; text-align: center;">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
|
|
<span t-esc="'{0:,.0f}'.format(o.amount_tax)"/>
|
|
</t>
|
|
</t>
|
|
@@ -318,12 +324,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
- <t t-if="i == 1">
|
|
|
|
- <div class="logo1"> </div>
|
|
|
|
- </t>
|
|
|
|
- <t t-if="i == 2">
|
|
|
|
- <div class="logo2"> </div>
|
|
|
|
- </t>
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
</t>
|