{% load i18n %} {% load bootstrap3 %} {% if order.status == "p" %} {% with order.sepaexportorder_set.last as seo %} {% if seo %}
{% blocktrans trimmed with date=seo.export.datetime|date:"SHORT_DATETIME_FORMAT" %} This order has been paid via SEPA debit. It was part of the export file exported at {{ date }}. {% endblocktrans %} {% trans "View export file" %}
{% else %}{% blocktrans trimmed %} This shall be paid via SEPA debit, but has not yet been included in any SEPA file export. {% endblocktrans %}
{% endif %} {% endwith %} {% else %}{% blocktrans trimmed %} This order has been planned to be paid via SEPA debit but has been marked as unpaid again (or could never be marked as paid). {% endblocktrans %}
{% endif %} {% if payment_info %}