diff --git a/htdocs/compta/comp.php3 b/htdocs/compta/comp.php3 index b8642d22615..5dccf06a569 100644 --- a/htdocs/compta/comp.php3 +++ b/htdocs/compta/comp.php3 @@ -223,7 +223,7 @@ function pt ($db, $sql, $year) { print ""; print "dm\">"; print strftime("%B",mktime(12,0,0,$obj->dm, 1, $year))."\n"; - print "$obj->sum\n"; + print "".price($obj->sum)."\n"; print "\n"; $month = $obj->dm + 1; @@ -250,7 +250,7 @@ function pt ($db, $sql, $year) { } } - print "Total :$total"; + print "Total :".price($total).""; print ""; $db->free(); @@ -312,7 +312,7 @@ function ppt ($db, $year, $socidp) { $deltat = $deltat + $delta ; print ""; print "".strftime("%B",mktime(12,0,0,$b, 1, $year))."\n"; - print "".$delta."\n"; + print "".price($delta)."\n"; print "\n"; } @@ -320,9 +320,9 @@ function ppt ($db, $year, $socidp) { $acat = get_ca($db, $ayear, $socidp) - get_ca_propal($db, $ayear, $socidp); - print "Total :$deltat"; - print "Rappel $ayear :$acat"; - print "Soit :".($acat+$deltat).""; + print "Total :".price($deltat).""; + print "Rappel $ayear :".price($acat).""; + print "Soit :".price($acat+$deltat).""; print ""; print ""; diff --git a/htdocs/compta/prev.php3 b/htdocs/compta/prev.php3 index 202370f6e3c..0dce40f8dfd 100644 --- a/htdocs/compta/prev.php3 +++ b/htdocs/compta/prev.php3 @@ -20,7 +20,6 @@ * */ require("./pre.inc.php3"); -require("../lib/functions.inc.php3"); function pt ($db, $sql, $title) {