Fix: Allows to use a comma decimal separator in supplier invoices
payments
This commit is contained in:
parent
c92bd58278
commit
954f46ec62
@ -78,7 +78,7 @@ if ($action == 'add_paiement')
|
|||||||
if (substr($key,0,7) == 'amount_')
|
if (substr($key,0,7) == 'amount_')
|
||||||
{
|
{
|
||||||
$other_facid = substr($key,7);
|
$other_facid = substr($key,7);
|
||||||
$amounts[$other_facid] = $_POST[$key];
|
$amounts[$other_facid] = price2num(GETPOST($key));
|
||||||
$total = $total + $amounts[$other_facid];
|
$total = $total + $amounts[$other_facid];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user