{% 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 {showBudgets:true, showBill:true} %}

{{ 'show_the_current_period_and_overview'|_ }}

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

{{ 'showEverything'|_ }}

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