{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, category, start, end) }} {% endblock %} {% block content %}
{% if method == 'default' %} {# both charts #}

{{ 'overview'|_ }} ({{ 'per_period'|_|lower }})

{{ 'overview'|_ }} ({{ 'all_periods'|_|lower }})

{% endif %} {% if method == 'date' %} {# single chart #}

{{ 'overview'|_ }} ({{ 'current_period'|_|lower }})

{% endif %} {% if method == 'all' %} {# all chart #}

{{ 'overview'|_ }} ({{ 'all_periods'|_|lower }})

{% endif %}
{% if entries %}

{{ 'showEverything'|_ }}

{% endif %}

{{ 'transactions'|_ }}

{% include 'list.journals-tasker' with {hideCategories: true} %} {% if entries %}

{{ 'show_all_no_filter'|_ }}

{% else %}

{{ 'show_the_current_period_and_overview'|_ }}

{% endif %}
{% if entries %}
{% for entry in entries %} {% if entry[2] != 0 or entry[3] != 0 %}
{% if entry[2] != 0 %} {% endif %} {% if entry[3] != 0 %} {% endif %}
{{ 'spent'|_ }} {{ entry[2]|formatAmount }}
{{ 'earned'|_ }} {{ entry[3]|formatAmount }}
{% endif %} {% endfor %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}