|
@@ -314,7 +314,9 @@
|
|
|
<t t-if="o.currency_id.id == 166">
|
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit).replace(',', '.')"/>
|
|
|
</t>
|
|
|
-
|
|
|
+ <t t-if="o.currency_id.id == 3">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(l.price_unit).replace(',', '.')"/>
|
|
|
+ </t>
|
|
|
</td>
|
|
|
|
|
|
<td class="text-right">
|
|
@@ -323,6 +325,11 @@
|
|
|
<span t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/></span>
|
|
|
<t t-set="valor_mat" t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/>
|
|
|
</span>
|
|
|
+ <span t-if="o.currency_id.id == 3">
|
|
|
+ <span t-esc= "'{0:,.2f}'.format(int(l.product_uom_qty * l.price_unit)).replace(',', '.')">
|
|
|
+ <span t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/></span>
|
|
|
+ <t t-set="valor_mat" t-value="valor_mat+(l.product_uom_qty * l.price_unit)"/>
|
|
|
+ </span>
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
@@ -332,10 +339,14 @@
|
|
|
<table class="table table-condensed table-bordered">
|
|
|
<tr>
|
|
|
<td class="art-col1"><b>Total: </b></td>
|
|
|
- <!-- <td class="art-col3"></td>
|
|
|
- <td class="art-col4"></td> -->
|
|
|
+
|
|
|
<td class="art-col5">
|
|
|
- <span t-esc="'{0:,.0f}'.format(int(valor_mat-o.amount_discount)).replace(',', '.')"></span>
|
|
|
+ <t t-if="o.currency_id.id == 166">
|
|
|
+ <span t-esc="'{0:,.0f}'.format(int(valor_mat-o.amount_discount)).replace(',', '.')"></span> Gs.
|
|
|
+ </t>
|
|
|
+ <t t-if="o.currency_id.id == 3">
|
|
|
+ <span t-esc="'{0:,.2f}'.format(int(valor_mat-o.amount_discount)).replace(',', '.')"></span> U$.
|
|
|
+ </t>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|