diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php index 1b148ba0da1..6c382ac5d63 100644 --- a/htdocs/compta/bank/budget.php +++ b/htdocs/compta/bank/budget.php @@ -24,12 +24,6 @@ require("./pre.inc.php"); llxHeader(); /* - * - * - * TODO attention des sommes positives sont a consideres - * - * - * exemple remboursement de frais de gestion par la banque * * */ @@ -123,10 +117,10 @@ else print "".strftime("%d %B %Y",$objp->do)."\n"; print "rowid\">$objp->label"; - print "".price(abs($objp->amount))." "; + print "".price(0 - $objp->amount)." "; print ""; $i++; - $total = $total + $objp->amount; + $total = $total + (0 - $objp->amount); } $db->free(); print "Total".price(abs($total))."".MAIN_MONNAIE."";