diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 9c3a6c0ffcaeaad468827cbccee756478fcb8abb..bdeaf1585f1c40163f0d79e1e3fb520fe330be01 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);