{% extends "base.html" %} {% block title %}{{ t('statements.title') }} — painfree{% endblock %} {% block body %}

{{ t('statements.heading') }}

{{ t('statements.lede') }}

{% if statements %} {% for row in statements %} {% endfor %}
{{ t('statements.statement') }}{{ t('statements.type') }} {{ t('statements.account') }}{{ t('statements.reports_on') }} {{ t('statements.entries') }}{{ t('statements.closing_balance') }} {{ t('order.ingested') }}
{{ row.statement_id }}
{{ row.identification or '—' }}
{{ row.message_type }} {{ row.iban or '—' }} {% if row.order_id %}{{ row.order_id }}{% else %}—{% endif %} {{ row.entry_count | count }} {% if row.closing_balance is not none %}{{ row.closing_balance | amount(row.currency) }}{% else %}—{% endif %} {{ row.ingested_at | moment }}
{% else %}

{{ t('statements.empty') }}

{% endif %}
{% endblock %}