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