|
@@ -11,13 +11,13 @@
|
|
|
<div>
|
|
|
|
|
|
<!-- Numero de factura -->
|
|
|
- <div style="padding-left:250px; padding-top:115px;">
|
|
|
+ <div style="padding-left:250px; padding-top:90px;">
|
|
|
<t t-esc="sequence"/>
|
|
|
</div>
|
|
|
|
|
|
<div class="row" style="column-count: 2;">
|
|
|
<!-- Fecha de Emision -->
|
|
|
- <div style="padding-left:130px; padding-top:12px;">
|
|
|
+ <div style="padding-left:120px; padding-top:12px;">
|
|
|
<t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate)"/>
|
|
|
</div>
|
|
|
<!-- Conficion de venta -->
|
|
@@ -44,7 +44,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- lista de productos -->
|
|
|
- <div style="padding-left:20px; padding-top:45px; font-size: 9px; height: 135px;">
|
|
|
+ <div style="padding-left:10px; padding-top:45px; font-size: 9px; height: 135px;">
|
|
|
<table class="table table-condensed">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
@@ -57,7 +57,12 @@
|
|
|
</colgroup>
|
|
|
<tr t-foreach="data" t-as="item">
|
|
|
<td>
|
|
|
- <t t-esc="item.qty"/>
|
|
|
+ <t t-set="monto" t-value="item.qty"/>
|
|
|
+ <t t-js="ctx">
|
|
|
+ ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
|
+ </t>
|
|
|
+ <t t-esc="monto"/>
|
|
|
+ <!-- <t t-esc="item.qty"/> -->
|
|
|
</td>
|
|
|
<td>
|
|
|
<t t-esc="item.name"/>
|
|
@@ -96,7 +101,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Subtotales -->
|
|
|
- <div style="padding-left:20px; padding-top:45px; font-size: 9px;">
|
|
|
+ <div style="padding-left:10px; padding-top:60px; font-size: 9px;">
|
|
|
<table class="table table-condensed">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
@@ -137,17 +142,24 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
- <!-- Total a pagar -->
|
|
|
- <div style="padding-left:300px; padding-top:15px;">
|
|
|
- <t t-set="monto" t-value="order.getTotalTaxIncluded()"/>
|
|
|
- <t t-js="ctx">
|
|
|
- ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
|
- </t>
|
|
|
- <t t-esc="monto"/>
|
|
|
+ <div class="row" style="column-count: 2;">
|
|
|
+ <!-- Total en letras -->
|
|
|
+ <div style="padding-left:15px; padding-top:25px; font-size: 8px;">
|
|
|
+ <t t-esc="total_in_letters"/>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- Total a pagar -->
|
|
|
+ <div style="padding-left:90px; padding-top:15px;">
|
|
|
+ <t t-set="monto" t-value="order.getTotalTaxIncluded()"/>
|
|
|
+ <t t-js="ctx">
|
|
|
+ ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
|
+ </t>
|
|
|
+ <t t-esc="monto"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Total de IVA -->
|
|
|
- <div style="padding-left:320px; padding-top:15px; font-size: 9px;">
|
|
|
+ <div style="padding-left:320px; padding-top:15px; font-size: 8px;">
|
|
|
<t t-set="monto" t-value="total_tax"/>
|
|
|
<t t-js="ctx">
|
|
|
ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
@@ -164,13 +176,13 @@
|
|
|
<div>
|
|
|
|
|
|
<!-- Numero de factura -->
|
|
|
- <div style="padding-left:250px; padding-top:115px;">
|
|
|
+ <div style="padding-left:250px; padding-top:90px;">
|
|
|
<t t-esc="sequence"/>
|
|
|
</div>
|
|
|
|
|
|
<div class="row" style="column-count: 2;">
|
|
|
<!-- Fecha de Emision -->
|
|
|
- <div style="padding-left:130px; padding-top:12px;">
|
|
|
+ <div style="padding-left:120px; padding-top:12px;">
|
|
|
<t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate)"/>
|
|
|
</div>
|
|
|
<!-- Conficion de venta -->
|
|
@@ -197,7 +209,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- lista de productos -->
|
|
|
- <div style="padding-left:20px; padding-top:45px; font-size: 9px; height: 135px;">
|
|
|
+ <div style="padding-left:10px; padding-top:45px; font-size: 9px; height: 135px;">
|
|
|
<table class="table table-condensed">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
@@ -249,7 +261,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Subtotales -->
|
|
|
- <div style="padding-left:20px; padding-top:45px; font-size: 9px;">
|
|
|
+ <div style="padding-left:10px; padding-top:60px; font-size: 9px;">
|
|
|
<table class="table table-condensed">
|
|
|
<tbody>
|
|
|
<colgroup>
|
|
@@ -290,17 +302,24 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
- <!-- Total a pagar -->
|
|
|
- <div style="padding-left:300px; padding-top:15px;">
|
|
|
- <t t-set="monto" t-value="order.getTotalTaxIncluded()"/>
|
|
|
- <t t-js="ctx">
|
|
|
- ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
|
- </t>
|
|
|
- <t t-esc="monto"/>
|
|
|
+ <div class="row" style="column-count: 2;">
|
|
|
+ <!-- Total en letras -->
|
|
|
+ <div style="padding-left:15px; padding-top:25px; font-size: 8px;">
|
|
|
+ <t t-esc="total_in_letters"/>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- Total a pagar -->
|
|
|
+ <div style="padding-left:90px; padding-top:15px;">
|
|
|
+ <t t-set="monto" t-value="order.getTotalTaxIncluded()"/>
|
|
|
+ <t t-js="ctx">
|
|
|
+ ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|
|
|
+ </t>
|
|
|
+ <t t-esc="monto"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Total de IVA -->
|
|
|
- <div style="padding-left:320px; padding-top:15px; font-size: 9px;">
|
|
|
+ <div style="padding-left:320px; padding-top:15px; font-size: 8px;">
|
|
|
<t t-set="monto" t-value="total_tax"/>
|
|
|
<t t-js="ctx">
|
|
|
ctx.monto = accounting.formatNumber(ctx.monto,0,'.',',');
|