FIX: add payment to bank (#34263)
This commit is contained in:
parent
8f5889b987
commit
cd72d947b1
1 changed files with 2 additions and 2 deletions
|
|
@ -426,8 +426,8 @@ class Paiement extends CommonObject
|
|||
}
|
||||
}
|
||||
|
||||
$totalamount = (float) price2num($totalamount);
|
||||
$totalamount_converted = (float) price2num($totalamount_converted);
|
||||
$totalamount = (float) price2num($totalamount, 'MT');
|
||||
$totalamount_converted = (float) price2num($totalamount_converted, 'MT');
|
||||
|
||||
// Check parameters
|
||||
if (empty($totalamount) && empty($atleastonepaymentnotnull)) { // We accept negative amounts for withdraw reject but not empty arrays
|
||||
|
|
|
|||
Loading…
Reference in a new issue