Auto commit for release 'v6.2.1' on 2025-02-01

This commit is contained in:
github-actions
2025-02-01 19:06:02 +01:00
parent 7f0eb3b064
commit e0643bed7a
43 changed files with 158 additions and 155 deletions

View File

@@ -204,7 +204,7 @@ trait PeriodOverview
$currencyDecimalPlaces = $journal['currency_decimal_places'];
$foreignCurrencyId = $journal['foreign_currency_id'];
$amount = $journal['amount'] ?? '0';
if ($this->convertToNative && $currencyId !== $this->defaultCurrency->id && $foreignCurrencyId !== $this->defaultCurrency->id) {
$amount = $journal['native_amount'] ?? '0';
$currencyId = $this->defaultCurrency->id;