From 888e8d7588a53abfe6766de82b372e7b0c4b9221 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 23 Aug 2023 21:56:02 +0200 Subject: [PATCH] FIX bad balance of TR tag in multicurrency price view --- htdocs/comm/propal/card.php | 2 +- htdocs/commande/card.php | 2 +- htdocs/fourn/commande/card.php | 2 +- htdocs/supplier_proposal/card.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index beb236d441ee9..973cfbee9e35e 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -2822,8 +2822,8 @@ } print ''; - print ''; if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; print '' . $langs->transcountry("AmountLT2", $mysoc->country_code) . ''; print '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 5963ff4014fb1..4c40f086d3ef4 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -2747,9 +2747,9 @@ } print ''; - print ''; // Amount Local Taxes if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; print '' . $langs->transcountry("AmountLT2", $mysoc->country_code) . ''; print '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 688979ddc545d..fca9363df255e 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -2348,8 +2348,8 @@ } print ''; - print ''; if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; print '' . $langs->transcountry("AmountLT2", $mysoc->country_code) . ''; print '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php index 8e49cc3626043..a03d52ecbd0a1 100644 --- a/htdocs/supplier_proposal/card.php +++ b/htdocs/supplier_proposal/card.php @@ -1848,8 +1848,8 @@ } print ''; - print ''; if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; print '' . $langs->transcountry("AmountLT2", $mysoc->country_code) . ''; print '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) {