{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load money %} {% block title %}{% trans "euPago" %}{% endblock %} {% block content %}

{% trans "euPago payments" %}

{% comment %} A real submit button, not onchange="this.form.submit()": the Control panel's CSP blocks inline event handlers. {% endcomment %}
{% if filtered %} {% trans "Clear filters" %} {% endif %}
{% for payment in payments %} {% empty %} {% endfor %}
{% trans "Order" %} {% trans "Order status" %} {% trans "Method" %} {% trans "Payment status" %} {% trans "Method details" %} {% trans "Amount" %} {% trans "Created" %}
{{ payment.order.code }}
{{ payment.order.email|default_if_none:"" }}
{{ payment.order.get_status_display }} {% if payment.provider == "eupago_multibanco" %} {% trans "Multibanco" %} {% else %} {% trans "MB WAY" %} {% endif %} {{ payment.get_state_display }} {% if payment.info_data.eupago_webhook_status %}
{{ payment.info_data.eupago_webhook_status }} {% endif %}
{% if payment.provider == "eupago_multibanco" and payment.info_data.entidade %} {% trans "Entity" %}: {{ payment.info_data.entidade }}
{% trans "Reference" %}: {{ payment.info_data.referencia }} {% elif payment.provider == "eupago_mbway" and payment.info_data.transactionID %} {% trans "Transaction ID" %}: {{ payment.info_data.transactionID }} {% elif payment.state == "failed" or payment.state == "canceled" %} {% trans "None — the request to euPago failed or was canceled" %} {% else %} {% trans "Not generated yet" %} {% endif %}
{{ payment.amount|money:request.event.currency }} {{ payment.created|date:"SHORT_DATETIME_FORMAT" }}
{% if filtered %} {% trans "No payments match these filters." %} {% else %} {% trans "No euPago payments found." %} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endblock %}