diff --git a/htdocs/compta/tva/index.php3 b/htdocs/compta/tva/index.php3 index e9809ede685..e8bafe5825b 100644 --- a/htdocs/compta/tva/index.php3 +++ b/htdocs/compta/tva/index.php3 @@ -33,7 +33,8 @@ function pt ($db, $sql, $date) { $result = $db->query($sql); if ($result) { $num = $db->num_rows(); - $i = 0; $total = 0 ; + $i = 0; + $total = 0 ; print "
| $date | "; @@ -46,11 +47,11 @@ function pt ($db, $sql, $date) { $var=!$var; print "||
| $obj->dm | \n"; - print "".price($obj->amount)." | \n"; - print " | ".price($obj->amount)." | ".$total." | \n"; + print "\n"; + $i++; } print "
| Total : | ".price($total)." | euros HT |