mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix balance display #9826
This commit is contained in:
@@ -69,9 +69,13 @@
|
||||
{% for key, balance in account.endBalances %}
|
||||
<span title="{{ key }}">
|
||||
{% if 'balance' == key %}
|
||||
{{ formatAmountBySymbol(balance, account.currency.symbol, account.currency.decimal_places) }}
|
||||
{% if not convertToNative %}
|
||||
{{ formatAmountBySymbol(balance, account.currency.symbol, account.currency.decimal_places) }}
|
||||
{% endif %}
|
||||
{% elseif 'native_balance' == key %}
|
||||
{{ formatAmountBySymbol(balance, defaultCurrency.symbol, defaultCurrency.decimal_places) }}
|
||||
{% if convertToNative %}
|
||||
{{ formatAmountBySymbol(balance, defaultCurrency.symbol, defaultCurrency.decimal_places) }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
({{ formatAmountByCode(balance, key) }})
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user