{% extends 'budget/base.html' %} {% load budget %} {% load cycle from future %} {% block title %}Year Summary For {{ year }}{% endblock %} {% block budget_content %}

Year Summary For {{ year }}

{{ budget.name }}

{% for month in months %} {% endfor %} {% if estimates_and_actuals %} {% for category, monthly_data, yearly_actual_total_cat, estimated_yearly_total_cat in estimates_and_actuals %} {% if not category.level %} {% for data in monthly_data %} {% endfor %} {% endfor %} {% endif %} {% for month in months %} {% endfor %}
Category {{ month }} Estimated Total Actual Total
{% else %} {% endif %} {{ category.name }} {{ data.actual_monthly_total_in_category|stringformat:".02f" }} {{ estimated_yearly_total_cat|stringformat:".02f" }} {{ yearly_actual_total_cat|stringformat:".02f" }}
     
Total: ${{ budget.yearly_estimated_total|stringformat:".02f" }} ${{ actual_yearly_total|stringformat:".02f" }}
{% endblock budget_content %}