{% load i18n %} {% if action == "return" %}

{% trans "PAYMENT REFUND" %}

{% else %}

{% trans "PAYMENT CONFIRMATION" %}

{% endif %} {% if errortxt %} {% endif %} {% if action == "return" %} {% else %} {% if paid %} {% endif %} {% endif %}
{% trans "Action" %}:{{action}}
{% trans "Error" %}:{{error}}
{% trans "Error explained" %}:{{errortxt}}
{% trans "Requested" %}:{{request.request_date}}
{% trans "Status" %}: {% if request.refund == "A" %}{% trans "All" %} {% trans "All" %} {% elif request.refund == "P" %} {% trans "Partial" %} {% elif request.refund == "N" %} {% trans "None" %} {% else %} {% trans "ERROR" %} {% endif %} ( {{request.total_returned}} {% trans "refunded" %}/ {{request.total}} {% trans "total" %} )
{% trans "Answered" %}:{{paid.answer_date}}
{% trans "Status" %}: {% if paid %} {% trans "PAID" %} {% else %} {% trans "NOT PAID" %} {% endif %}