From d007e090396c7cea5a2a68a205eaa5c025f2b49b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Apr 2007 22:20:27 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Maintenant=20que=20les=20avoirs=20sont?= =?UTF-8?q?=20g=E9r=E9s,=20il=20ne=20faut=20plus=20pouvoir=20valider=20de?= =?UTF-8?q?=20facture=20avec=20un=20montant=20inf=E9rieur=20=E0=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index f659d8ea1ca..ce793b0d962 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2553,7 +2553,7 @@ else } // Valider - if ($fac->statut == 0 && $num_lignes > 0) + if ($fac->statut == 0 && $num_lignes > 0 && $fac->total_ttc >= 0) { if ($user->rights->facture->valider) {