Merge pull request #14150 from atm-gauthier/9.0_deposit_amount_with_comma

FIX : create a deposit with amount using comma didn't work
This commit is contained in:
Laurent Destailleur 2020-07-03 00:38:59 +02:00 committed by GitHub
commit 4f5c5356c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1255,7 +1255,7 @@ if (empty($reshook))
if ($_POST['type'] == Facture::TYPE_DEPOSIT)
{
$typeamount = GETPOST('typedeposit', 'alpha');
$valuedeposit = GETPOST('valuedeposit', 'int');
$valuedeposit = price2num(GETPOST('valuedeposit', 'alpha'), 'MU');
$amountdeposit = array();
if (!empty($conf->global->MAIN_DEPOSIT_MULTI_TVA))