Fix rounding
This commit is contained in:
parent
f0ca29cc6e
commit
c22a9781d8
@ -89,7 +89,7 @@ if (empty($reshook))
|
||||
$source_type = 'supplier_invoice';
|
||||
}
|
||||
|
||||
$result = $object->demande_prelevement($user, price2num(GETPOST('withdraw_request_amount'), 'alpha'), $newtype, $source_type);
|
||||
$result = $object->demande_prelevement($user, price2num(GETPOST('withdraw_request_amount', 'alpha')), $newtype, $source_type);
|
||||
if ($result > 0)
|
||||
{
|
||||
$db->commit();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user