{% extends "expenses/base.html" %}
{% block title %}Dashboard{% endblock %}
{% block content %}
{% if selected_month %}
{{ selected_month }}/{{ selected_year}}
{% else %}
Año {{ selected_year }}
{% endif %}
{% if selected_account_obj %}
{{ selected_account_obj.name }}
{% else %}
Todas las cuentas
{% endif %}
Saldo actual: {{ acc.current_balance|floatformat:2 }} €
Diferencia: {% if kpi_trend == "up" %}+{% endif %} {{ kpi_difference_abs|floatformat:2 }} € {% if kpi_percentage %} ({{ kpi_percentage|floatformat:1 }}%) {% endif %}
| Categoría | Total |
|---|---|
| {{ row.category__name }} | {{ row.total|floatformat:2 }} € |