mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
This commit is contained in:
@@ -205,7 +205,6 @@ trait PeriodOverview
|
|||||||
$foreignCurrencyId = $journal['foreign_currency_id'];
|
$foreignCurrencyId = $journal['foreign_currency_id'];
|
||||||
$amount = $journal['amount'] ?? '0';
|
$amount = $journal['amount'] ?? '0';
|
||||||
|
|
||||||
|
|
||||||
if ($this->convertToNative && $currencyId !== $this->defaultCurrency->id && $foreignCurrencyId !== $this->defaultCurrency->id) {
|
if ($this->convertToNative && $currencyId !== $this->defaultCurrency->id && $foreignCurrencyId !== $this->defaultCurrency->id) {
|
||||||
$amount = $journal['native_amount'] ?? '0';
|
$amount = $journal['native_amount'] ?? '0';
|
||||||
$currencyId = $this->defaultCurrency->id;
|
$currencyId = $this->defaultCurrency->id;
|
||||||
|
Reference in New Issue
Block a user