This commit is contained in:
paulwer 2024-01-16 06:43:07 +01:00
parent 01cf5fe5a5
commit 52e7158d59

View File

@ -104,7 +104,7 @@ class TransactionTransformer implements BankRevenueInterface
if (array_key_exists('currencyExchange', $transaction)) if (array_key_exists('currencyExchange', $transaction))
foreach ($transaction["currencyExchange"] as $exchangeRate) { foreach ($transaction["currencyExchange"] as $exchangeRate) {
$targetAmount = round($amount * (float) $exchangeRate["exchangeRate"], 2); $targetAmount = round($amount * (float) $exchangeRate["exchangeRate"], 2);
$description += '\nexchangeRate: ' . $amount . " " . $exchangeRate["sourceCurrency"] . " = " . $targetAmount . " " . $exchangeRate["targetCurrency"] . " (" . $exchangeRate["quotationDate"] . ")"; $description .= '\nexchangeRate: ' . $amount . " " . $exchangeRate["sourceCurrency"] . " = " . $targetAmount . " " . $exchangeRate["targetCurrency"] . " (" . $exchangeRate["quotationDate"] . ")";
} }
// participant data // participant data