From e9ab6a81ae020cc9262c62e59853905426e58d5a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Jan 2004 18:13:29 +0000 Subject: [PATCH] =?UTF-8?q?Un=20mauvais=20placement=20d'une=20ligne=20de?= =?UTF-8?q?=20commande=20faisait=20que=20l'=E9tat=20des=20"cumuls"=20ne=20?= =?UTF-8?q?cumulait=20rien.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/stats/cumul.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/stats/cumul.php b/htdocs/compta/stats/cumul.php index 902549d663d..38a0e0b95d6 100644 --- a/htdocs/compta/stats/cumul.php +++ b/htdocs/compta/stats/cumul.php @@ -59,7 +59,7 @@ if ($socidp) } $sql .= " GROUP BY dm"; -pt($db, $sql,"Mois cumulés"); +pt($db, $sql,"Suivi cumul par mois"); print "
"; @@ -72,7 +72,7 @@ if ($socidp) } $sql .= " GROUP BY dm DESC"; -pt($db, $sql,"Année"); +pt($db, $sql,"Suivi cumul par année"); print ""; @@ -112,8 +112,6 @@ function pt ($db, $sql, $date) print "".$total." \n"; print "\n"; - $total = $total + $obj->amount; - $i++; } print 'Total :'.price($total).''.MAIN_MONNAIE.' HT';