{% if not next_date %}
Safe to spend ?Amount which is safe to spend according to the budget
{{famount(budget.expected_remaining)}}
{% else %}
Savings ?Savings made after expected planned expenses are taken into account. If negative then amount used from the savings to cover this month.
{{famount(budget.savings, True)}}
{% endif %}
{% if not next_date %}

{{famount(budget.expected_savings)}} {% if budget.savings_goal > 0 %}/ {{famount(budget.savings_goal)}}{% endif %} {% if budgets.adjusted_savings_goal > budget.savings_goal %} {% endif %}

{% else %}

{{famount(budget.balance, True)}}

{% endif %}

{{famount(budget.real_balance, True)}}

{{famount(max(budget.expected_income, budget.income) if not next_date else budget.income)}} {% if budget.expected_income %} {% if budget.income > budget.expected_income %} ({{famount(budget.income - budget.expected_income, True)}}) {% elif budget.income < budget.expected_income %} ({{famount(budget.expected_income - budget.income, True)}}) {% endif %} {% endif %}

{% if budget.expected_planned_expenses %}

{{famount(budget.expected_planned_expenses)}} ({{famount(budget.planned_expenses)}})

{% endif %}

{{famount(budget.expenses)}}