From c7199e4fb9baac2772ebdf69ce685252eb1ad579 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 4 Sep 2003 21:52:35 +0000 Subject: [PATCH] =?UTF-8?q?bugfix=20sur=20les=20propales=20sign=E9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/stats/comp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/stats/comp.php b/htdocs/compta/stats/comp.php index 706ee7d8852..f3ffdebdefd 100644 --- a/htdocs/compta/stats/comp.php +++ b/htdocs/compta/stats/comp.php @@ -27,7 +27,7 @@ function propals ($db, $year, $month) { global $bc; $sql = "SELECT s.nom, s.idp, p.rowid as propalid, p.price - p.remise as price, p.ref,".$db->pdate("p.datep")." as dp, c.label as statut, c.id as statutid"; $sql .= " FROM llx_societe as s, llx_propal as p, c_propalst as c WHERE p.fk_soc = s.idp AND p.fk_statut = c.id"; - $sql .= " AND c.id in (1,2)"; + $sql .= " AND c.id in (1,2,4)"; $sql .= " AND date_format(p.datep, '%Y') = $year "; $sql .= " AND round(date_format(p.datep, '%m')) = $month ";