diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index dec991e07f3..36dae818cfa 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -1565,25 +1565,20 @@ print '
'.price($object->total_tva).' | ';
print ''.$langs->trans("Currency".$conf->currency).' | ';
// Amount Local Taxes
-if ($mysoc->hasLocalTax(1))
+if ($mysoc->localtax1_assuj=="1") //Localtax1
{
- if ($mysoc->localtax1_assuj=="1") //Localtax1
- {
- print '| '.$langs->transcountry("AmountLT1",$mysoc->country_code).' | ';
- print ''.price($object->total_localtax1).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
- }
+ print '| '.$langs->transcountry("AmountLT1",$mysoc->country_code).' | ';
+ print ''.price($object->total_localtax1).' | ';
+ print ''.$langs->trans("Currency".$conf->currency).' |
';
}
-if ($mysoc->hasLocalTax(2))
+if ($mysoc->localtax2_assuj=="1") //Localtax2
{
- if ($mysoc->localtax2_assuj=="1") //Localtax2
- {
- print '| '.$langs->transcountry("AmountLT2",$mysoc->country_code).' | ';
- print ''.price($object->total_localtax2).' | ';
- print ''.$langs->trans("Currency".$conf->currency).' |
';
- }
+ print '| '.$langs->transcountry("AmountLT2",$mysoc->country_code).' | ';
+ print ''.price($object->total_localtax2).' | ';
+ print ''.$langs->trans("Currency".$conf->currency).' |
';
}
+
// Amount TTC
print '| '.$langs->trans('AmountTTC').' | ';
print ''.price($object->total_ttc).' | ';