{% 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 %}

Remaining planned expenses: {{famount(budgets.undetected_planned_expenses)}}

{% endif %} {% for acc in accounts %} {% endfor %}
Accounts
{{acc.title}} {{famount(acc.amount)}}