Fix rounding

This commit is contained in:
Laurent Destailleur 2020-06-14 21:21:18 +02:00
parent f0ca29cc6e
commit c22a9781d8

View File

@ -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();