{% if rows %}
{% for row in rows %} {% endfor %}
Category Period Window Budget € Actual € Remaining € Used Status Actions
{{ row.category }} {{ row.period }} {{ row.period_start.isoformat() }} → {{ row.period_end.isoformat() }} {{ "%.2f" | format(row.budget) }} {{ "%.2f" | format(row.actual) }} {{ "%.2f" | format(row.remaining) }} {{ row.percentage }}% {% if row.status == 'over' %} over {% elif row.status == 'near' %} near {% else %} under {% endif %}
Edit
{% else %}

No budgets{% if period %} with period "{{ period }}"{% endif %} valid for this date. Add one below.

{% endif %}