[16/07/2024] On force le calcul du montant HT des frais de livraison, la plupart des modules proposant un montant TTC.

This commit is contained in:
2024-07-16 15:57:51 +02:00
parent a8a412d8ce
commit 38fbe0533e
3725 changed files with 104990 additions and 3 deletions

View File

@@ -347,7 +347,7 @@
{/if}
<tr>
<td class="table-3-1"><p>{intl l="Postage without tax"}</p></td>
<td class="table-3-1 align-right"><p>{format_money number={$POSTAGE_UNTAXED} currency_id=$CURRENCY}</p></td>
<td class="table-3-1 align-right"><p>{if $POSTAGE_TAX != 0}{format_money number={$POSTAGE_UNTAXED} currency_id=$CURRENCY}{else}{format_money number={$POSTAGE / (1 + $taux_tva)} currency_id=$CURRENCY}{/if}</p></td>
</tr>
{assign var="tax_on_products" value={($totalItemsPriceWtTaxes - $discount_without_tax) * $taux_tva}}