{% if not budgets or date.year < current_month.year %}
{{famount(account_balance or 0)}}
{% else %}
{{famount(account_balance - budgets.undetected_planned_expenses)}}
({{famount(account_balance or 0)}})
{% endif %}
{% if budgets and date.year == current_month.year %}