{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName, account, moment, start, end) }} {% endblock %} {% block content %}

{% if moment == 'all' %} {{ trans('firefly.chart_all_journals_for_account', {name:account.name}) }} {% else %} {{ trans('firefly.chart_account_in_period', {name: account.name, start: start.formatLocalized(monthAndDayFormat), end: end.formatLocalized(monthAndDayFormat) }) }} {% endif %}

{{ 'expenses_by_category'|_ }}

{{ 'expenses_by_budget'|_ }}

{{ 'income_by_category'|_ }}

{% if account.notes.count == 1 %}

{{ 'notes'|_ }}

{{ account.notes.first.text|markdown }}
{% endif %} {% if periods.count > 0 %}

{{ 'showEverything'|_ }}

{% endif %}

{{ 'transactions'|_ }}

{% if account.accountType.type == 'Asset account' %} {% set showReconcile = true %} {% else %} {% set showReconcile = false %} {% endif %} {% include 'list.journals' with {sorting:true, hideBills:true, hideBudgets: true, hideCategories: true, showReconcile: showReconcile} %} {% if periods.count > 0 %}

{{ 'show_all_no_filter'|_ }}

{% else %}

{{ 'show_the_current_period_and_overview'|_ }}

{% endif %}
{% if periods.count > 0 %}
{% for period in periods %} {% if (period.spent != 0 or period.earned != 0) %}
{% if period.spent != 0 %} {% endif %} {% if period.earned != 0 %} {% endif %}
{{ 'spent'|_ }} {{ formatAmountByCurrency(currency, period.spent) }}
{{ 'earned'|_ }} {{ formatAmountByCurrency(currency, period.earned) }}
{% endif %} {% endfor %}

{{ 'showEverything'|_ }}

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}