Fix: Allows to use a comma decimal separator in supplier invoices

payments
This commit is contained in:
Raphaël Doursenaud 2012-07-27 13:54:16 +02:00 committed by Regis Houssin
parent 723df0dd43
commit 9ffb6317cf

View File

@ -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];
}
}