{% load main_extras category %} {% load i18n %}
{% spaceless %} {% for cat in categories %} {% empty %} {% endfor %} {% endspaceless %} {% if categories %} {% endif %} {% if statement %} {% endif %}
{% translate "Category" %} {% translate "Expenses" %} {% translate "Income" %}
{% if cat.category %} {% if month %} {{ cat.category__name }} {% elif year %} {{ cat.category__name }} {% else %} {{ cat.category__name }} {% endif %} {% endif %} {% if cat.category %}{{ cat.category__icon|remix }}{% endif %} {{ cat.sum_m|pmvalue }} {% if cat.sum_m %}
{% endif %} {% if cat.sum < 0 %}
{{ cat.sum|pmvalue }}
{% endif %}
{% if cat.sum_p %}
{% endif %} {% if cat.sum > 0 %}
{{ cat.sum|pmvalue }}
{% endif %}
{{ cat.sum_p|pmvalue }}
{% translate "No transaction" %}
{% translate "Total" %} {{ total_m|pmvalue }}
{% if total < 0 %}
{{ total|pmvalue }}
{% endif %}
{% if total > 0 %}
{{ total|pmvalue }}
{% endif %}
{{ total_p|pmvalue }}
{% translate "Expected total" %} {{ total|check:statement.diff }} {% if statement.diff < 0 %}
{{ statement.diff|pmvalue }}
{% endif %}
{% if statement.diff >= 0 %}
{{ statement.diff|pmvalue }}
{% endif %}