{% extends "./layout/default.twig" %} {% block content %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
{{ Session.get('start').formatLocalized(monthFormat) }}
{{ 'budgeted'|_ }}:
{{ trans('firefly.availableIn',{date : Session.get('start').formatLocalized(monthFormat) }) }}: {{ amount|formatAmount }}
{{ 'spent'|_ }}: {{ spent|formatAmount }}
{% if overspent %}
{% else %}
{% endif %}
{% for budget in budgets %}
{% if budget.currentRep %} {{ budget.name }} {% else %} {{ budget.name }} {% endif %}

{% if budget.currentRep %} {% else %} {% endif %}

{% if budget.currentRep %} Budgeted: {% if budget.currentRep.amount > budget.spent %} {{ getCurrencySymbol()|raw }} {% else %} {{ getCurrencySymbol()|raw }} {% endif %} {% else %} No budget {% endif %}

{{ 'spent'|_ }}: {{ budget.spent|formatAmount }}

{% endfor %}
{{ 'createBudget'|_ }}
{% if inactive|length > 0 %}
{{ 'inactiveBudgets'|_ }}
{% for index,budget in inactive %} {% if index != inactive|length-1 %} {{ budget.name }}, {% else %} {{ budget.name }} {% endif %} {% endfor %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}