This commit is contained in:
Philippe GRAND 2019-04-09 09:12:54 +02:00
parent b42d2aa41e
commit 2722760d1d

View File

@ -136,7 +136,7 @@ if (empty($reshook))
if (substr($key, 0, 7) == 'amount_')
{
$cursorfacid = substr($key, 7);
$amounts[$cursorfacid] = (float) price2num(trim(GETPOST($key)));
$amounts[$cursorfacid] = price2num(trim(GETPOST($key)));
$totalpayment = $totalpayment + $amounts[$cursorfacid];
if (! empty($amounts[$cursorfacid])) $atleastonepaymentnotnull++;
$result=$tmpinvoice->fetch($cursorfacid);