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

@ -2111,7 +2111,7 @@ else
} }
// Payé partiellement 'escompte' // 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 '<tr><td colspan="2" align="right" nowrap="1">';
print $html->textwithhelp($langs->trans("Escompte").':',$langs->trans("HelpEscompte"),-1); print $html->textwithhelp($langs->trans("Escompte").':',$langs->trans("HelpEscompte"),-1);