Update card.php
This commit is contained in:
parent
7f6c29fd65
commit
bc66be51a8
@ -2058,9 +2058,11 @@ else
|
||||
$totalpaid += $objp->amount;
|
||||
$i++;
|
||||
}
|
||||
if ( !is_null($totalpaid))
|
||||
if (! is_null($totalpaid))
|
||||
{
|
||||
$totalpaid = price2num($totalpaid); // Round $totalpaid to fix floating problem after addition into loop
|
||||
|
||||
}
|
||||
|
||||
$remaintopay = price2num($object->total_ttc - $totalpaid);
|
||||
$resteapayeraffiche = $remaintopay;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user