{% extends "base.html" %} {% block title %}Budgets{% endblock %} {% block page_title %}Budgets{% endblock %} {% block extra_css %} .progress-bar-budget { height: 8px; border-radius: 4px; background: #f1f5f9; overflow: hidden; } .progress-bar-fill { height: 100%; border-radius: 4px; transition: width .6s ease; } .budget-over { background: #fee2e2; border-color: #fca5a5 !important; } {% endblock %} {% block topbar_actions %} Add Budget {% endblock %} {% block content %}
{% if total_budget > 0 %}| Category | Spent | Limit | Progress | Remaining | Actions |
|---|---|---|---|---|---|
|
{% if item.category %}
|
{{ item.spent | currency }} | {% if item.limit is not none %} {{ item.limit | currency }} {% else %} — {% endif %} | {% if item.pct is not none %} {{ item.pct }}% {% else %} — {% endif %} | {% if item.remaining is not none %} {{ item.remaining | currency }} {% endif %} | {% if item.budget %} Edit {% else %} Set Budget {% endif %} |
Set spending limits per category to track your budget.
Set First Budget {% set prev_year, prev_mo = prev_month.split('-') %}