{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }} {% endblock %} {% block content %}

{{ Session.get('start').formatLocalized(monthFormat) }}

{{ 'budgeted'|_ }}: {{ budgeted|formatAmountPlain }}
{{ trans('firefly.availableIn',{date : period }) }}: {{ budgetIncomeTotal|formatAmount }}
{{ 'spent'|_ }}: {{ spent|formatAmount }}

{{ 'createBudget'|_ }}

{% for budget in budgets %}

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

{{ 'budgeted'|_ }}
{{ defaultCurrency.symbol|raw }}
{{ 'spent'|_ }} {{ budget.spent|formatAmount }}
{% endfor %} {% 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 %}