{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventurl %} {% block title %}{% trans "Swap Request Statistics" %}{% endblock %} {% block content %}

{% trans "Swap Request Statistics" %}

{% trans "Approve cancelations" %}

{% blocktrans trimmed %} With this table, you can see how many users currently want to cancel their orders, and if there are matching orders waiting for approval. You can approve orders (as long as your quotas permit it). {% endblocktrans %}

{% blocktrans trimmed %} When you approve orders, the waiting customers are sent an email that their order is now pending and that they need to pay. Only once they have paid, a matching order waiting to cancel will be canceled. {% endblocktrans %}

{% csrf_token %}
{% for item in items %} {% endfor %} {% for subevent in by_subevents %} {% for avail in subevent.available_in_quota %} {% endfor %} {% empty %} {% endfor %}
{% trans "Available in quota" %} {% if subevent %}
{{ item.name }}{% endif %}
{% trans "Orders waiting for approval" %} {% trans "Orders waiting for payment" %} {% trans "Cancelation requests" %} {% trans "Approve orders" %}
{{ subevent.subevent }} {{ avail }}{{ subevent.approval_orders }} {{ subevent.pending_orders }} {{ subevent.open_cancelation_requests }} {% if subevent.form_field %}{% bootstrap_field subevent.form_field layout="inline" %}{% endif %}
{% trans "There are currently no open requests." %}


{% trans "Request overview" %}

{% for line in overview %} {% endfor %}
{% trans "Product" %} {% trans "Waiting swaps" %} {% trans "Completed swaps" %} {% trans "Waiting cancelations" %} {% trans "Completed cancelations" %}
{{ line.subevent }} {{ line.open_swap_requests }} {{ line.completed_swap_requests }} {{ line.open_cancelation_requests }} {{ line.completed_cancelation_requests }}
{% endblock %}