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';