diff --git a/htdocs/compta/tva/reglement.php b/htdocs/compta/tva/reglement.php index cc7abcd4492..0b6d02ff5e2 100644 --- a/htdocs/compta/tva/reglement.php +++ b/htdocs/compta/tva/reglement.php @@ -22,18 +22,6 @@ require("./pre.inc.php3"); require("../../tva.class.php3"); -/* - * - * - */ - -function pt ($db, $sql, $date) -{ - global $bc; - - -} - /* * */ @@ -48,7 +36,7 @@ print_titre("R $sql = "SELECT amount, date_format(f.datev,'%d-%M-%Y') as dm"; $sql .= " FROM llx_tva as f "; -$sql .= " Order BY dm DESC"; +$sql .= " ORDER BY dm DESC"; $result = $db->query($sql); if ($result) @@ -72,7 +60,6 @@ if ($result) $total = $total + $obj->amount; print "".price($obj->amount).""; - print "".$total."\n"; print "\n"; $i++;