diff --git a/htdocs/compta/cashcontrol/report.php b/htdocs/compta/cashcontrol/report.php
index 515067900e3..04cdea52f7f 100644
--- a/htdocs/compta/cashcontrol/report.php
+++ b/htdocs/compta/cashcontrol/report.php
@@ -133,7 +133,8 @@ if ($resql) {
print "
";
if ($cashcontrol->status != $cashcontrol::STATUS_DRAFT) print $langs->trans("CashControl")." ".$cashcontrol->id;
else print $langs->trans("CashControl")." - ".$langs->trans("Draft");
- print "
".$langs->trans("DateCreationShort").": ".dol_print_date($cashcontrol->date_creation, 'dayhour')."
";
+ print "
".$langs->trans("DateCreationShort").": ".dol_print_date($cashcontrol->date_creation, 'dayhour');
+ print "";
$invoicetmp = new Facture($db);
@@ -156,8 +157,6 @@ if ($resql) {
print_liste_field_titre($arrayfields['b.credit']['label'], $_SERVER['PHP_SELF'], 'b.amount', '', $param, '', $sortfield, $sortorder, 'right ');
print "\n";
- $posconciliatecol = 0;
-
// Loop on each record
$sign = 1;
$cash = $bank = $cheque = $other = 0;
@@ -263,7 +262,7 @@ if ($resql) {
print "";
//$cash = $amountpertype['LIQ'] + $cashcontrol->opening;
- $cash = $cash + $cashcontrol->opening;
+ $cash = price2num($cash + $cashcontrol->opening, 'MT');
print "";
print $langs->trans("Cash").": ".price($cash);