{% extends "pretixcontrol/event/settings_base.html" %} {% load i18n %} {% load static %} {% load bootstrap3 %} {% block title %} {% trans "Swap Configuration" %} {% endblock %} {% block inside %}

{% trans "Swap Configuration" %}

{% if warn_multiple_items %}
{% blocktrans trimmed %} You currently allow more than one item per order. Please note that cancelations will not work correctly with this configuration. You can change this in your cart settings. {% endblocktrans %}
{% endif %} {% if warn_no_swap_groups %}
{% blocktrans trimmed %} You have set swaps to be allowed, but haven't configured any swap groups. {% endblocktrans %}
{% endif %} {% if warn_no_cancel_groups %}
{% blocktrans trimmed %} You have set cancelations to be allowed, but haven't configured any cancel groups. {% endblocktrans %}
{% endif %}
{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "Settings" %}
{% blocktrans trimmed %}

You can allow users two ways of getting rid of a ticket that they don't want anymore:

You can allow them to swap the ticket with somebody else. You can configure the products that can be swapped with one another with swap groups. Currently, only products of the same price can be swapped with each other. Swaps will be performed automatically whenever matching swap requests are found.

You can also allow them to request to cancel a ticket. You have to trigger pending cancelations manually in the "Swap overview" page. Cancelations only take place when there is an unapproved order that is part of a matching cancelation group. Cancelations are only permitted if the unapproved order has the same price or is more expensive than the order about to be canceled.

{% endblocktrans %}
{% bootstrap_field form.swap_orderpositions layout="control" %} {% bootstrap_field form.swap_orderpositions_specific layout="control" %} {% bootstrap_field form.cancel_orderpositions layout="control" %} {% bootstrap_field form.cancel_orderpositions_specific layout="control" %} {% bootstrap_field form.cancel_orderpositions_verified_only layout="control" %} {% bootstrap_field form.swap_cancellation_fee layout="control" %}
{% trans "Swap Groups" %} {% for sg in swap_groups %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Type" %} {% trans "Items" %}
{{ sg.name }} {% if sg.swap_type == "s" %} {% trans "Swap group" %} {% else %} {% trans "Cancelation group" %} {% endif %} {% for item in sg.items.all %} {{ item.name }}
{% endfor %}
{% trans "No swap groups yet" %}
{% endblock %}