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

{{ 'showEverything'|_ }}

{% endif %} {# list with journals #}

{{ subTitle }}

{% if what == 'transfers' %} {{ ('new_' ~ what)|_ }} {% else %} {{ ('new_' ~ what)|_ }} {% endif %}
{# actual list #} {% if periods.count > 0 %} {# page is not "all"-overview#} {% include 'list.transactions' %} {% else %} {% include 'list.transactions' with {showCategories: true, showBudgets: true, showBill:true} %} {% endif %}
{# boxes with info #} {% if periods.count > 0 %}
{% for period in periods %} {% if period.sum != 0 %}
{% for sum in period.sums %} {% endfor %}
{% if what == 'withdrawal' %} {{ 'spent'|_ }} {% endif %} {% if what == 'deposit' %} {{ 'earned'|_ }} {% endif %} {% if what == 'transfers' or what == 'transfer' %} {{ 'transferred'|_ }} {% endif %} {% if what == 'transfers' or what == 'transfer' %} {{ formatAmountBySymbol(Steam.positive(sum.sum), sum.currency.symbol, sum.currency.dp, false) }} {% else %} {{ formatAmountBySymbol(sum.sum, sum.currency.symbol, sum.currency.dp) }} {% endif %}
{% endif %} {% endfor %}
{% endif %}
{# lower show-all instruction #} {% if periods.count > 0 %}

{{ 'showEverything'|_ }}

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