{% load tools %} {% load i18n %}
{% for account_id, account in totals.items %} {% if not single %}
{% if account.account.group %} {{ account.account.group }}{% endif %}{{ account.account.name }}
{% endif %}
{% translate 'projected income' %}
{% if account.exchanged and account.exchanged.income_projected %}
{% endif %}
{% translate 'projected expenses' %}
{% if account.exchanged and account.exchanged.expense_projected %}
{% endif %}
{% translate 'projected total' %}
{% if account.exchanged.total_projected and account.exchanged.total_projected %}
{% endif %}
{% translate 'current income' %}
{% if account.exchanged and account.exchanged.income_current %}
{% endif %}
{% translate 'current expenses' %}
{% if account.exchanged and account.exchanged.expense_current %}
{% endif %}
{% translate 'current total' %}
{% if account.exchanged and account.exchanged.total_current %}
{% endif %}

{% translate 'final total' %}
{% if account.exchanged and account.exchanged.total_final %}
{% endif %}
{% with p=percentages|get_dict_item:account_id %}
{% endwith %}
{% empty %} {% endfor %}