From be8b3f241fd0717389f2867f5643a2081268f29e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sun, 16 Dec 2007 20:18:39 +0000 Subject: [PATCH] Fix: Le montant de l'escompte ne s'affichait pas. --- htdocs/compta/facture.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 9c3a6c0ffca..bdeaf1585f1 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -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); -- GitLab