mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add convertToGoCardlessAmount
This commit is contained in:
parent
f4ddc5a974
commit
c913c61493
@ -102,4 +102,9 @@ class GoCardlessPaymentDriver extends BaseDriver
|
||||
{
|
||||
// ..
|
||||
}
|
||||
|
||||
public function convertToGoCardlessAmount($amount, $precision)
|
||||
{
|
||||
return \round(($amount * pow(10, $precision)), 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user