Un mauvais placement d'une ligne de commande faisait que l'tat des "cumuls" ne cumulait rien.
This commit is contained in:
parent
b46600e199
commit
a0ecb8dbd9
@ -106,9 +106,10 @@ function pt ($db, $sql, $date)
|
||||
{
|
||||
$obj = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
$total = $total + $obj->amount;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD>$obj->dm</TD>\n";
|
||||
print "<TD align=\"right\">".price($obj->amount)."</TD><td> </td>\n";
|
||||
print "<TD align=\"right\">".$total."</TD><td> </td>\n";
|
||||
print "</TR>\n";
|
||||
|
||||
$total = $total + $obj->amount;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user