From c4eee7b4c8eabd01d348a1be751aec1ab2528de9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Oct 2006 22:45:48 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Validation=20facture=20si=20remise=20fix?= =?UTF-8?q?e=20appliqu=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/facture.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index d0217fb0339..9e3d6732ca5 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -1091,6 +1091,8 @@ class Facture extends CommonObject /* * Tope les lignes de remises fixes avec id des lignes de facture de remise */ +// Plus necessaire car deja topé des état brouillon +/* foreach($this->lignes as $i => $line) { if (($this->lignes[$i]->info_bits & 2) == 2 && $this->lignes[$i]->fk_remise_except) @@ -1145,6 +1147,7 @@ class Facture extends CommonObject } } } +*/ // On vérifie si la facture était une provisoire if (! $error && $facref == 'PROV')