{% from 'macros.html' import goal_bar with context %} {% extends "layout.html" %} {% block title %}{{date.year}}{% endblock %} {% block head %} {% endblock %} {% block page_header %} {% include "_year_overview.html" %} {% include "_month_switcher.html" %} {% endblock %} {% block page %}
Savings {% if not next_year %}
(after remaining planned expenses) {% endif %}
{% if not next_year %}
{{famount(budgets.savings, True)}}
{% else %}
{{famount(budgets.real_balance, True)}}
{% endif %}
{% if budgets.expected_planned_expenses %} {% endif %} {% if budgets.expected_planned_expenses %} {% endif %} {% if budget_goals and not next_year %} {% endif %}
Current Expected Planned
Budget balance {{famount(budgets.savings_balance, True)}}
{% if next_year %}Undetected{% else %}Remaining{% endif %} planned expenses ?Delta between expected planned expenses and detected ones {{famount(budgets.undetected_planned_expenses)}}
Income {{famount(budgets.real_income)}} {{famount(budgets.income)}} {% if budgets.expected_income %}{{famount(budgets.expected_income)}}{% endif %}
Avg. income {{famount(budgets.real_income / nb_months)}} {{famount(budgets.income / nb_months)}} {% if budgets.expected_income %}{{famount(budgets.expected_income / nb_months)}}{% endif %}
Planned expenses {{famount(budgets.real_planned_expenses)}} {{famount(budgets.expected_planned_expenses)}}
Avg. monthly planned expenses {{famount(budgets.real_planned_expenses / nb_months)}} {{famount(budgets.expected_planned_expenses / nb_months)}}
Expenses ?Planned expenses are calculated based on savings goal {{famount(budgets.expenses)}} {{famount(safe_to_spend)}}
Avg. monthly expenses {{famount(budgets.expenses / nb_months)}} {{famount(safe_to_spend / nb_months)}}
Total expenses {{famount(budgets.all_real_expenses)}} {{famount(budgets.all_expected_expenses)}} {{famount(safe_to_spend + budgets.expected_planned_expenses)}}
Avg. total monthly expenses {{famount(budgets.all_real_expenses / nb_months)}} {{famount(budgets.all_expected_expenses / nb_months)}} {{famount((safe_to_spend + budgets.expected_planned_expenses) / nb_months)}}
Savings {{famount(savings, True)}} {% if budgets.expected_planned_expenses %}{{famount(expected_savings, True)}}{% endif %} {{famount(planned_savings, True)}}
Avg. monthly savings {{famount(savings/nb_months, True)}} {% if budgets.expected_planned_expenses %}{{famount(expected_savings/nb_months, True)}}{% endif %} {% if budgets.expected_planned_expenses %}{{famount(planned_savings/nb_months, True)}}{% endif %}
Available savings after goals {{famount(savings_after_goals, True)}}
{% if budget_goals %} {% for goal in budget_goals %} {% endfor %}
Budget goals
{{goal.label}}{% if goal.target %} ({{famount(goal.target)}}){% endif %} {% if goal.target %} {{ goal_bar(goal) }} {% else %} {{famount(goal.used)}} {% endif %}
{% endif %} {% if categories %} {% for category in categories %} {% endfor %}
Categories
{{category.name or 'Uncategorized'}} {% if category.has_warning %}⚠{% endif %} {{famount(category.amount)}} {% if category.warning_threshold %} / {{famount(category.warning_threshold)}}{% endif %} {{famount(category.amount / nb_months)}}
{% include "_categories_bar.html" %} {% endif %} {% endblock %}