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

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

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

{# The two refusals an operator can hit before the bank is involved -- the model's own shape rules and the Swiss Payment Standards rules -- render as one list. To the person fixing them they are the same kind of problem, and the location is the name of the input they typed into. #} {% if failures %}
{{ t('payment_new.refused') }} {% for failure in failures %} {% endfor %}
{{ t('payment_new.field') }}{{ t('payment_new.problem') }}
{{ failure.location }} {{ failure.message }}
{{ failure.rule }}
{% endif %} {% if not connection.initialised %}
{{ t('payment_new.not_initialised') }}

{{ t('payment_new.not_initialised_body') }}

{% endif %}

{{ t('payment_new.debtor') }}

{{ t('payment_new.creditor') }}

{{ t('payment_new.the_payment') }}

{# QRR and SCOR are not interchangeable and the rule about which goes with which account is in `painfree.sps`, not here. The form offers the choice and lets that module refuse the combination. #}
{{ t('common.cancel') }}

{{ t('payment_new.preview_hint') }}

{% endblock %}