{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName, start, end) }} {% endblock %} {% block content %} {# upper show-all instruction #} {% if periods.count > 0 %}

{{ 'showEverything'|_ }}

{% endif %}

{{ subTitle }}

{% if periods.count > 0 %} {% include 'list.transactions' %}

{{ 'show_all_no_filter'|_ }}

{% else %} {% include 'list.transactions' with {showCategories:true, showBill:true} %}

{{ 'show_the_current_period_and_overview'|_ }}

{% endif %}
{% if periods.count > 0 %}
{% for period in periods %} {% if period.count > 0 %}
{{ 'transactions'|_ }} {{ period.count }}
{{ 'spent'|_ }} {{ period.sum|formatAmount }}
{% endif %} {% endfor %}
{% endif %}
{# lower show-all instruction #} {% if periods.count > 0 %}

{{ 'showEverything'|_ }}

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