1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

change datatype to float

This commit is contained in:
paulwer 2024-01-14 08:55:59 +01:00
parent cc59ee0b1f
commit bc30c55e74

View File

@ -111,7 +111,7 @@ class TransactionTransformer implements BankRevenueInterface
return [
'transaction_id' => $transaction["transactionId"],
'amount' => (int) $transaction["transactionAmount"]["amount"],
'amount' => (float) $transaction["transactionAmount"]["amount"],
'currency_id' => $this->convertCurrency($transaction["transactionAmount"]["currency"]),
'category_id' => null,
'category_type' => array_key_exists('additionalInformation', $transaction) ? $transaction["additionalInformation"] : '',