{% extends "base.html" %} {% import "_bank.html" as bank with context %} {% block title %}{{ t('orders.title') }} — painfree{% endblock %} {% block body %}
{{ t('orders.lede') }}
| {{ t('orders.creditor') }} | {{ t('orders.amount') }} | {{ t('orders.creditor_iban') }} | {{ t('common.state') }} | {{ t('orders.scheme') }} | {{ t('orders.return_code') }} | {{ t('orders.report_text') }} | {{ t('orders.accepted') }} | {{ t('orders.order') }} |
|---|---|---|---|---|---|---|---|---|
| {{ (paid.creditor.name if paid else none) or '—' }}
{% if paid and paid.batch %} {{ t('orders.and_more', count=paid.extra) }}{% endif %} |
{# The control sum, which for a batch is the whole message and not the one
transfer named beside it. Said in the label rather than left to be
assumed. #}
{{ row.control_sum | amount(row.currency) }} | {% if paid and paid.creditor.iban %}{{ paid.creditor.iban }}
{% else %}—{% endif %} |
{{ row.state.value }} {{ t('state.' ~ row.state.value) }} |
{{ row.scheme.value }}
{% if row.downgraded %}{{ t('order.downgraded') }}{% endif %} |
{% if row.return_code %}{{ row.return_code }}{% else %}—{% endif %} |
{% if row.report_text %}{{ bank.quiet(row.report_text) }}{% else %}—{% endif %} | {{ row.accepted_at | moment }} | {{ row.order_id }}{{ row.connection_id }} |
{{ t('bank.note') }}
{% else %}{{ t('orders.empty') }}
{% endif %}