From 4e9a964174bc1fd72146c2c24532e245fd0c03ac Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Jan 2005 20:38:05 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Les=20factures=20abandonn=E9es=20ne=20do?= =?UTF-8?q?ivent=20pas=20sortir=20dans=20les=20impay=E9es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture/impayees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php index 0bb542b9b79..a209833f7e2 100644 --- a/htdocs/compta/facture/impayees.php +++ b/htdocs/compta/facture/impayees.php @@ -89,7 +89,7 @@ if ($user->rights->facture->lire) $sql .= ",".MAIN_DB_PREFIX."facture as f"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."paiement_facture as pf ON f.rowid=pf.fk_facture "; $sql .= " WHERE f.fk_soc = s.idp"; - $sql .= " AND f.paye = 0 AND f.fk_statut > 0"; + $sql .= " AND f.paye = 0 AND f.fk_statut = 1"; if ($socidp) $sql .= " AND s.idp = $socidp";