{% extends basetemplate %} {% load i18n %} {% load icon %} {% load locale %} {% load bootstrap3 %} {% block title %}{% trans "Withdrawals" %}{% endblock %} {% block content %}

{% trans "Mark withdrawal as settled" %}

{% blocktrans trimmed %} Do you really want to mark this withdrawal as settled? {% endblocktrans %}

{% if warn_order_cancel %}

{% blocktrans trimmed %}The order this withdrawal is linked to, is not canceled yet!{% endblocktrans %}
{% blocktrans trimmed %}Please make sure that you have canceled the order or parts of it manually through the order page before marking a withdrawal settled.{% endblocktrans %}

{% endif %}

{% trans "Details" %}

{% trans "Received" %}
{{ withdrawal.created }}
{% trans "Name" %}
{{ withdrawal.name }}
{% trans "Email" %}
{{ withdrawal.email }}
{% trans "Order" %}
{% if withdrawal.order %} {% if request.event %} {{ withdrawal.order.code }} {% else %} {{ withdrawal.order.full_code }} {% endif %} {% if withdrawal.email != withdrawal.order.email %} {% if '@' in withdrawal.order.email %}
{{ withdrawal.order.email }} {% endif %}
{% icon "exclamation-triangle" %} {% if '@' not in withdrawal.order.email %} {% trans "Beware: order has no email - withdrawal might be from a different email than the order!" %} {% else %} {% trans "Beware: withdrawal is from a different email than the order!" %} {% endif %} {% endif %} {% else %} {{ withdrawal.order_code }} {% if request.event %} {% icon "question-circle" %} {% endif %} {% endif %}
{% if not request.event %}
{% trans "Event" %}
{% if withdrawal.event %} {{ withdrawal.event }} {% else %} {% trans "unknown" %} {% endif %}
{% endif %}
{% trans "Customer reference" %}
{{ withdrawal.locale|human_readable_locale }}
{{ withdrawal.message|default:"–"|linebreaksbr }}
{% trans "Internal comment" %}
{{ withdrawal.locale|human_readable_locale }}
{{ withdrawal.internal_notes|default:"–"|linebreaksbr }}
{% csrf_token %}
{% if request.event %} {% url "plugins:pretix_withdrawal:control.event.view" pk=withdrawal.pk event=withdrawal.event.slug organizer=withdrawal.organizer.slug as withdrawal_url %} {% else %} {% url "plugins:pretix_withdrawal:control.organizer.view" pk=withdrawal.pk organizer=withdrawal.organizer.slug as withdrawal_url %} {% endif %} {% trans "Cancel" %}
{% endblock %}