{% load tools %} {% load i18n %}
{% if account.account.group %}{{ account.account.group }}{% endif %} {{ account.account.name }}
{% translate 'projected income' %}
{% if account.income_projected != 0 %} {% if account.exchanged and account.exchanged.income_projected %} {% endif %} {% else %} - {% endif %}
{% translate 'projected expenses' %}
{% if account.expense_projected != 0 %} {% if account.exchanged and account.exchanged.expense_projected %} {% endif %} {% else %} - {% endif %}
{% translate 'projected total' %}
{% if account.exchanged.total_projected and account.exchanged.total_projected %} {% endif %}

{% translate 'current income' %}
{% if account.income_current != 0 %} {% if account.exchanged and account.exchanged.income_current %} {% endif %} {% else %} - {% endif %}
{% translate 'current expenses' %}
{% if account.expense_current != 0 %} {% if account.exchanged and account.exchanged.expense_current %} {% endif %} {% else %} - {% 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 %}