FIX : create a deposit with amount using comma didn't work
This commit is contained in:
parent
afacfa702d
commit
6553c40bea
@ -1255,7 +1255,8 @@ if (empty($reshook))
|
||||
if ($_POST['type'] == Facture::TYPE_DEPOSIT)
|
||||
{
|
||||
$typeamount = GETPOST('typedeposit', 'alpha');
|
||||
$valuedeposit = GETPOST('valuedeposit', 'int');
|
||||
$valuedeposit = GETPOST('valuedeposit');
|
||||
$valuedeposit = price2num($valuedeposit, 'MU');
|
||||
|
||||
$amountdeposit = array();
|
||||
if (!empty($conf->global->MAIN_DEPOSIT_MULTI_TVA))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user