|
|
@@ -24,22 +24,22 @@
|
|
|
.detalle{position:absolute; top:3.6cm; left:1.2cm; width:19cm; font-size:9.5px; line-height:0.47cm;}
|
|
|
.total_pagar_data{position:absolute; top:7.7cm; left:2cm; width:14cm;}
|
|
|
.total_pagar{position:absolute; top:7.7cm; right:2.2cm; text-align:right; width:3cm;}
|
|
|
- .iva_5_data{position:absolute; top:8.3cm; left:12.6cm; width:3cm; text-align:right;}
|
|
|
- .iva_10_data{position:absolute; top:8.3cm; left:16.4cm; width:3cm; text-align:right;}
|
|
|
- .iva_total_data{position:absolute; top:8.3cm; left:19.5cm; width:3cm; text-align:right;}
|
|
|
+ .iva_5_data{position:absolute; top:8.3cm; left:9.6cm; width:3cm; text-align:right;padding-bottom:0.7cm;}
|
|
|
+ .iva_10_data{position:absolute; top:8.3cm; left:12.4cm; width:3cm; text-align:right;padding-bottom:0.7cm;}
|
|
|
+ .iva_total_data{position:absolute; top:8.3cm; left:18.5cm; width:3cm; text-align:right;padding-bottom:0.7cm;}
|
|
|
.xmark{position:absolute; font-weight:bold; font-size:12px;}
|
|
|
</style>
|
|
|
|
|
|
<!-- Fecha de emisión -->
|
|
|
- <div class="campo" style="top:0.9cm; left:7.8cm;">
|
|
|
+ <div class="campo" style="top:0.6cm; left:7.8cm;">
|
|
|
<span t-field="o.date_invoice" t-field-options='{"format":"dd MMM yyyy"}'/>
|
|
|
</div>
|
|
|
|
|
|
<!-- Condición de venta (Contado / Crédito) -->
|
|
|
- <div class="xmark" style="top:0.9cm; left:18.3cm;">
|
|
|
+ <div class="xmark" style="top:0.6cm; left:18.3cm;">
|
|
|
<t t-if="o.contado">X</t>
|
|
|
</div>
|
|
|
- <div class="xmark" style="top:0.9cm; left:19.6cm;">
|
|
|
+ <div class="xmark" style="top:0.6cm; left:19.6cm;">
|
|
|
<t t-if="o.credito">X</t>
|
|
|
</div>
|
|
|
|
|
|
@@ -76,14 +76,10 @@
|
|
|
</t>
|
|
|
</div>
|
|
|
<div style="width:2.2cm; text-align:right;">
|
|
|
- <t t-if="any(t.amount==5 for t in l.invoice_line_tax_id)">
|
|
|
- <span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
- </t>
|
|
|
+
|
|
|
</div>
|
|
|
<div style="width:2.2cm; text-align:right;">
|
|
|
- <t t-if="any(t.amount==10 for t in l.invoice_line_tax_id)">
|
|
|
- <span t-esc="'{0:,.0f}'.format(l.price_subtotal)"/>
|
|
|
- </t>
|
|
|
+ <span t-esc="'{0:,.0f}'.format((l.quantity * l.price_unit))"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</t>
|