diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index dfe8095d0e9..6218400d7ce 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -1471,16 +1471,15 @@ else
print '
| '.$langs->trans('AmountVAT').' | '.price($object->total_tva).' | '.$langs->trans('Currency'.$conf->currency).' |
';
// Amount Local Taxes
- // TODO I use here $societe->localtax1_assuj. Before it was $mysoc->localtax1_assuj, but this is a supplier invoice, so made by supplier, so depends on supplier properties
if ($societe->localtax1_assuj=="1") //Localtax1 RE
{
- print '| '.$langs->transcountry("AmountLT1",$mysoc->country_code).' | ';
+ print '
| '.$langs->transcountry("AmountLT1",$societe->country_code).' | ';
print ''.price($object->total_localtax1).' | ';
print ''.$langs->trans("Currency".$conf->currency).' |
';
}
if ($societe->localtax2_assuj=="1") //Localtax2 IRPF
{
- print '| '.$langs->transcountry("AmountLT2",$mysoc->country_code).' | ';
+ print '
| '.$langs->transcountry("AmountLT2",$societe->country_code).' | ';
print ''.price($object->total_localtax2).' | ';
print ''.$langs->trans("Currency".$conf->currency).' |
';
}