{% if filter == "" %} {% else %} {% endif %}
to

Transactions {{ account_name }}

{% set amount_sum = 0 %} {% for transaction in transactions %} {% if transaction.amount >= 0 %} {% else %} {% endif %} {% set_global amount_sum = amount_sum + transaction.amount %} {% endfor %} {% if amount_sum >= 0 %} {% else %} {% endif %}
Sender Reference Date Amount
{{ transaction.sender_name }} {{ transaction.reference | truncate(length=40) }} {{ transaction.date }}{{ transaction.amount | round(method="common", precision=2) }}{{ transaction.amount | round(method="common", precision=2) }}
{{ amount_sum | round(method="common", precision=2) }}{{ amount_sum | round(method="common", precision=2) }}