Fix: Le montant de l'escompte ne s'affichait pas.

This commit is contained in:
Laurent Destailleur 2007-12-16 20:18:39 +00:00
parent 6d6a8270cb
commit be8b3f241f

View File

@ -2109,9 +2109,9 @@ else
{
dolibarr_print_error($db);
}
// Payé partiellement 'escompte'
if (($fac->statut == 2 || $fac->statut == 3) && $fac->close_code == 'escompte')
if (($fac->statut == 2 || $fac->statut == 3) && $fac->close_code == 'discount_vat')
{
print '<tr><td colspan="2" align="right" nowrap="1">';
print $html->textwithhelp($langs->trans("Escompte").':',$langs->trans("HelpEscompte"),-1);