{% 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 subevent in subevents %} {% endfor %} {% for product in by_products %} {% for avail in product.available_in_quota %} {% endfor %} {% empty %} {% endfor %}
{% trans "Available in quota" %} {% if subevent %}
{{ subevent.name }}{% endif %}
{% trans "Orders waiting for approval" %} {% trans "Orders waiting for payment" %} {% trans "Cancelation requests" %} {% trans "Approve orders" %}
{{ product.item }} {{ avail }}{{ product.approval_orders }} {{ product.pending_orders }} {{ product.open_cancelation_requests }} {% if product.form_field %}{% bootstrap_field product.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.item }} {{ line.open_swap_requests }} {{ line.completed_swap_requests }} {{ line.open_cancelation_requests }} {{ line.completed_cancelation_requests }}
{% endblock %}