{% load i18n %}
{% for date, x in totals.items %}
{% for id, account in x.items %} {% if not single %}
{% if account.group %} {{ account.group }}{% endif %}{{ account.name }}
{% endif %}
{% translate 'projected income' %}
{% if account.exchange_currency and account.exchange_income_unpaid %}
{% endif %}
{% translate 'projected expenses' %}
{% if account.exchange_currency and account.exchange_expense_unpaid %}
{% endif %}
{% translate 'projected total' %}
{% if account.exchange_currency and account.exchange_balance_unpaid %}
{% endif %}
{% translate 'current income' %}
{% if account.exchange_currency and account.exchange_income_paid %}
{% endif %}
{% translate 'current expenses' %}
{% if account.exchange_currency and account.exchange_expense_paid %}
{% endif %}
{% translate 'current total' %}
{% if account.exchange_currency and account.exchange_balance_paid %}
{% endif %}

{% translate 'final total' %}
{% if account.exchange_currency and account.exchange_balance_total %}
{% endif %}
{% empty %} {% endfor %}
{% endfor %}