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

{{ trans('firefly.chart_account_in_period', {name: account.name, start: start.formatLocalized(monthAndDayFormat), end: end.formatLocalized(monthAndDayFormat) }) }}

{% if not showAll and isLiability %}

pay-off by date

Content
{% endif %} {% if not showAll and not isLiability %}

{{ 'expenses_by_category'|_ }}

{{ 'expenses_by_budget'|_ }}

{{ 'income_by_category'|_ }}

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

{{ 'notes'|_ }}

{{ account.notes.first.text|markdown }}
{% endif %}

{{ 'transactions'|_ }}

{% if account.accountType.type == 'Asset account' %} {% set showReconcile = true %} {% else %} {% set showReconcile = false %} {% endif %} {% if periods.count > 0 %} {% include 'list.transactions' with {sorting:true, showReconcile: showReconcile} %} {% else %} {% include 'list.transactions' with {sorting:true, showReconcile: showReconcile, showCategories: true, showBudgets: true, showBill:true} %} {% endif %}

{% 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 %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}