mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
fix
This commit is contained in:
parent
d53cc4c8c6
commit
5bd11da2e9
@ -111,7 +111,7 @@ class TransactionTransformer implements BankRevenueInterface
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'transaction_id' => $transaction["transactionId"],
|
'transaction_id' => $transaction["transactionId"],
|
||||||
'amount' => abs((int) $transaction["transactionAmount"]["amount"]),
|
'amount' => (int) $transaction["transactionAmount"]["amount"],
|
||||||
'currency_id' => $this->convertCurrency($transaction["transactionAmount"]["currency"]),
|
'currency_id' => $this->convertCurrency($transaction["transactionAmount"]["currency"]),
|
||||||
'category_id' => null, // nordigen has no categories
|
'category_id' => null, // nordigen has no categories
|
||||||
'category_type' => array_key_exists('additionalInformation', $transaction) ? $transaction["additionalInformation"] : null, // TODO: institution specific keys like: GUTSCHRIFT, ABSCHLUSS, MONATSABSCHLUSS etc
|
'category_type' => array_key_exists('additionalInformation', $transaction) ? $transaction["additionalInformation"] : null, // TODO: institution specific keys like: GUTSCHRIFT, ABSCHLUSS, MONATSABSCHLUSS etc
|
||||||
|
Loading…
Reference in New Issue
Block a user