Fix #11849 : missing price2num in discount split
This commit is contained in:
parent
bfb8a4e8da
commit
a220d43bd6
@ -62,7 +62,9 @@ if ($action == 'confirm_split' && GETPOST("confirm") == 'yes')
|
|||||||
//if ($user->rights->facture->creer)
|
//if ($user->rights->facture->creer)
|
||||||
|
|
||||||
$amount_ttc_1 = GETPOST('amount_ttc_1');
|
$amount_ttc_1 = GETPOST('amount_ttc_1');
|
||||||
|
$amount_ttc_1 = price2num($amount_ttc_1);
|
||||||
$amount_ttc_2 = GETPOST('amount_ttc_2');
|
$amount_ttc_2 = GETPOST('amount_ttc_2');
|
||||||
|
$amount_ttc_2 = price2num($amount_ttc_2);
|
||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
$remid=GETPOST("remid")?GETPOST("remid"):0;
|
$remid=GETPOST("remid")?GETPOST("remid"):0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user