{% if not hideSource %} {% endif %} {% if not hideDestination %} {% endif %} {# Hide budgets? #} {% if not hideBudget %} {% endif %} {# Hide categories? #} {% if not hideCategory %} {% endif %} {# Make sum: #} {% set sum = 0 %} {% for transaction in journals %} {# add to sum #} {% set sum = (sum + transaction.transaction_amount) %} {% if not hideSource %} {% endif %} {% if not hideDestination %} {% endif %} {# Do NOT hide the budget? #} {% if not hideBudget %} {% endif %} {# Do NOT hide the category? #} {% if not hideCategory %} {% endif %} {% endfor %}
  {{ trans('list.description') }} {{ trans('list.amount') }}
{{ transaction|transactionDescription }} {{ transaction|transactionAmount }}
{{ 'sum'|_ }}: {% if inverseAmount %} {{ (sum*-1)|formatAmount }} {% else %} {{ sum|formatAmount }} {% endif %}
{{ journals.render|raw }}