Merge pull request #9537 from yannickboy15/nordigen-type-fix
Fix: Update Nordigen to properly handle small money transfer amounts
This commit is contained in:
commit
f52efa88bb
|
|
@ -148,7 +148,7 @@ class TransactionTransformer implements BankRevenueInterface
|
|||
'description' => $description,
|
||||
'participant' => $participant,
|
||||
'participant_name' => $participant_name,
|
||||
'base_type' => (int) $transaction["transactionAmount"]["amount"] <= 0 ? 'DEBIT' : 'CREDIT',
|
||||
'base_type' => $amount < 0 ? 'DEBIT' : 'CREDIT',
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue