Fix rounding
This commit is contained in:
parent
83263cc174
commit
f9da31e658
@ -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