{% extends "layouts/base.html" %} {% load money %} {% block title %}Kakebo - Month{% endblock %} {% block content %}

Month

{{ current_month|date:"F Y" }} {% if is_current_month %} {% else %} {% endif %}
{# 1. Month start #}

Month start

Income

{% include "pages/monthly/partials/income_table.html" %}

Fixed expenses

{% include "pages/monthly/partials/fixed_expenses_table.html" with entries=fe_entries total=fe_total %}
{% if planned_expenses %}

Planned expenses

{% for pe in planned_expenses %} {% endfor %}
Concept Amount
{{ pe.concept }} {{ pe.amount|money }} €
Total {{ planned_total|money }} €
{% endif %}

Your budget

Your monthly budget is {{ budget|money }} €

I want to save

What are your monthly goals?

{% include "pages/monthly/partials/goals_list.html" with items=goals kind="goal" %}

And your promises?

{% include "pages/monthly/partials/goals_list.html" with items=promises kind="promise" %}
{# 2. Month end #}

Month end

{# Weekly expenses table #}

Your weekly expenses

{% for wt in month_end.weekly_totals %} {% endfor %}
Week #{{ forloop.counter }} {{ wt|money }} €
Total {{ month_end.monthly_expense_total|money }} €
{# 3. Expense summary #}

Expense summary

{% for cat_data in month_end.category_weeks %}

{{ cat_data.category.name }}

{% for val in cat_data.weekly %} {% endfor %}
Week #{{ forloop.counter }} {{ val|money }} €
Total {{ cat_data.total|money }} €
{% empty %}

No expenses this month

{% endfor %} {# Budget result #}

Your initial budget

{{ budget|money }} €

Total monthly expenses

{{ month_end.monthly_expense_total|money }} €

Your savings!

{{ savings_result|money }} €

{# Assessment #}

Self-assessment

Did you achieve your monthly goals?

Did you keep your promises?

Did you keep your initial savings intact?

Reflect on your successes, efforts, failures...

{# 4. Notes #}

Notes

{% endblock %}