diff --git a/app/Helpers/Bank/Nordigen/Transformer/TransactionTransformer.php b/app/Helpers/Bank/Nordigen/Transformer/TransactionTransformer.php index d7aaf5f5887c..9f744d64bb81 100644 --- a/app/Helpers/Bank/Nordigen/Transformer/TransactionTransformer.php +++ b/app/Helpers/Bank/Nordigen/Transformer/TransactionTransformer.php @@ -123,7 +123,7 @@ class TransactionTransformer implements BankRevenueInterface if (isset($transaction['currencyExchange'])) { foreach ($transaction["currencyExchange"] as $exchangeRate) { $targetAmount = round($amount * (float) ($exchangeRate["exchangeRate"] ?? 1), 2); - $description .= '\n' + ctrans('texts.exchange_rate') + ': ' . $amount . " " . ($exchangeRate["sourceCurrency"] ?? '?') . " = " . $targetAmount . " " . ($exchangeRate["targetCurrency"] ?? '?') . " (" . ($exchangeRate["quotationDate"] ?? '?') . ")"; + $description .= '\n' + ctrans('texts.exchange_rate') + ': ' . $amount . " " . ($exchangeRate["sourceCurrency"] ?? '?') . " = " . $targetAmount . " " . ($exchangeRate["targetCurrency"] ?? '?') . " (" . ($exchangeRate["quotationDate"] ? $this->formatDate($exchangeRate["quotationDate"]) : '?') . ")"; } }