{% extends "../base.html" %} {% load crispy_forms_tags %} {% load humanize %} {% load custom_filters %} {% block page_title %} Back to Budgets {{budget}} Items{% endblock page_title %} {% block content %}
| # | Budget Item | Allocated Amount | Amount Spent | Balance | Action | |
|---|---|---|---|---|---|---|
| {{forloop.counter}} | {{item}} | {{ item.allocated_amount|floatformat:'2'|intcomma }}/- | {{ item.amount_spent|floatformat:'2'|intcomma }}/- | {{ item.remaining_amount|floatformat:'2'|intcomma }}/- | ||
| Totals: | {{ budget_items|sum_attr:'allocated_amount'|floatformat:'2'|intcomma }}/- | {{ budget_items|sum_attr:'amount_spent'|floatformat:'2'|intcomma }}/- | {{ budget_items|sum_attr:'remaining_amount'|floatformat:'2'|intcomma }}/- | |||
Get started by adding your first budget item.