Mostrando: {{ selected_year }} {% if selected_month %}/{{ selected_month }}{% endif %}
Comparado con el periodo inmediatamente anterior
{{ kpi_total }}€
{{ kpi_count }}
{{ kpi_categories }}
No hay datos en el periodo anterior
{% else %}Total anterior: {{ kpi_previous_total|floatformat:2 }}
{% endif %}Variación: {% if kpi_percentage is not None %} {{ kpi_percentage|floatformat:2 }}% {% else %} Variación: N/D {% endif %}
No hay gastos para este periodo.
{% else %}| Categoría | Total |
|---|---|
| {{ row.category__name }} | {{ row.total }} |
| Sin datos | |
| Categoría | Actual | Anterior | Diferencia |
|---|---|---|---|
| {{ row.category }} | {{ row.current }} | {{ row.previous }} | {% if row.difference > 0 %} ▲ {{ row.difference }} {% elif row.difference < 0 %} ▼ {{ row.difference }} {% else %} = {% endif %} |