Merge pull request #17118 from rohitwaghchaure/_incorrect_prezzototale
fix: incorrect PrezzoTotale
This commit is contained in:
commit
fb48686d82
@ -184,11 +184,7 @@
|
|||||||
<UnitaMisura>{{ item.stock_uom }}</UnitaMisura>
|
<UnitaMisura>{{ item.stock_uom }}</UnitaMisura>
|
||||||
<PrezzoUnitario>{{ format_float(item.price_list_rate or item.rate) }}</PrezzoUnitario>
|
<PrezzoUnitario>{{ format_float(item.price_list_rate or item.rate) }}</PrezzoUnitario>
|
||||||
{{ render_discount_or_margin(item) }}
|
{{ render_discount_or_margin(item) }}
|
||||||
{%- if (item.discount_amount or item.rate_with_margin) %}
|
<PrezzoTotale>{{ format_float(item.amount) }}</PrezzoTotale>
|
||||||
<PrezzoTotale>{{ format_float(item.net_amount) }}</PrezzoTotale>
|
|
||||||
{%- else %}
|
|
||||||
<PrezzoTotale>{{ format_float(item.amount) }}</PrezzoTotale>
|
|
||||||
{%- endif %}
|
|
||||||
<AliquotaIVA>{{ format_float(item.tax_rate) }}</AliquotaIVA>
|
<AliquotaIVA>{{ format_float(item.tax_rate) }}</AliquotaIVA>
|
||||||
{%- if item.tax_exemption_reason %}
|
{%- if item.tax_exemption_reason %}
|
||||||
<Natura>{{ item.tax_exemption_reason.split("-")[0] }}</Natura>
|
<Natura>{{ item.tax_exemption_reason.split("-")[0] }}</Natura>
|
||||||
|
Loading…
Reference in New Issue
Block a user