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

{{ 'showEverything'|_ }}

{% endif %}

{{ subTitle }}

{% include 'list.journals-tasker' with {'journals': journals} %} {% 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 what == 'withdrawal' %} {% endif %} {% if what == 'deposit' %} {% endif %} {% if what == 'transfers' or what == 'transfer' %} {% endif %}
{{ 'transactions'|_ }} {{ period.count }}
{{ 'spent'|_ }} {{ period.spent|formatAmount }}
{{ 'earned'|_ }} {{ period.earned|formatAmount }}
{{ 'transferred'|_ }} {{ period.transferred|formatAmountPlain }}
{% endfor %}
{% endif %}
{# lower show-all instruction #} {% if periods.count > 0 %}

{{ 'showEverything'|_ }}

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