{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load formset_tags %} {% load money %} {% block title %} {% blocktrans trimmed with code=order.code %} Change order: {{ code }} {% endblocktrans %} {% endblock %} {% block content %}

{% blocktrans trimmed with code=order.code %} Change order: {{ code }} {% endblocktrans %} {% blocktrans trimmed with order=order.code %} Back to order {{ order }} {% endblocktrans %}

{% blocktrans trimmed %} You can use this tool to change the ordered products or to partially cancel the order. Please keep in mind that changing an order can have several implications, e.g. the payment method fee might change or additional questions can be added to the order that need to be answered by the user. {% endblocktrans %}

{% blocktrans trimmed %} The user will receive a notification about the change but in the case of new required questions, the user will not be forced to answer them. {% endblocktrans %}

{% blocktrans trimmed %} If an invoice is attached to the order, a cancellation will be created together with a new invoice. {% endblocktrans %}

{% blocktrans trimmed %} If you chose "split into new order" for multiple positions, they will be all split in one second order together, not multiple orders. {% endblocktrans %}

{% blocktrans trimmed %} Please use this tool carefully. Changes you make here are not reversible. Also, if you change an order manually, not all constraints (e.g. on required add-ons) will be checked. Therefore, you might construct an order that would not be able to exist otherwise. In most cases it is easier to cancel the order completely and create a new one. {% endblocktrans %}
{% csrf_token %} {% for position in positions %}

#{{ position.positionid }} – {{ position.item }} {% if position.variation %} – {{ position.variation }} {% endif %} {% if position.addon_to %} – {% blocktrans trimmed with posid=position.addon_to.positionid %} Add-On to position #{{ posid }} {% endblocktrans %} {% endif %}

{% bootstrap_form_errors position.form %} {% if position.custom_error %}
{{ position.custom_error }}
{% endif %} {% if position.voucher and position.voucher.budget %}
{% blocktrans trimmed %} This position has been created with a voucher with a limited budget. If you change the price or item, the discount will still be calculated from the original price at the time of purchase. {% endblocktrans %}
{% endif %}
{% trans "Current value" %}
{% trans "Change to" %}
{% if request.event.has_subevents %}
{% trans "Date" context "subevent" %}
{{ position.subevent }}
{% bootstrap_field position.form.subevent layout='inline' %}
{% endif %} {% if position.form.seat %}
{% trans "Seat" %}
{{ position.seat }}
{% bootstrap_field position.form.seat layout='inline' %}
{% endif %}
{% trans "Product" %}
{{ position.item }} {% if position.variation %} – {{ position.variation }} {% endif %}
{% bootstrap_field position.form.itemvar layout='inline' %}
{% trans "Tax rule" %}
{% if position.tax_rule.internal_name %} {{ position.tax_rule.internal_name }} {% else %} {{ position.tax_rule.name }} {% endif %} ({{ position.tax_rule.rate }} %)
{% bootstrap_field position.form.tax_rule layout='inline' %}
{% trans "Membership" %}
{{ position.used_membership|default:"–" }}
{% bootstrap_field position.form.used_membership layout='inline' %}
{% trans "Price" %}
{{ position.price|money:request.event.currency }} {% if position.tax_rate %}
({{ position.net_price|money:request.event.currency }} + {{ position.tax_rate }}%) {% endif %}
{% bootstrap_field position.form.price addon_after=request.event.currency layout='inline' %} {% trans "including all taxes" %}
{% trans "Ticket secret" %}
{{ position.secret|slice:":12" }}…
{% bootstrap_field position.form.operation_secret layout='inline' %}
{% bootstrap_field position.form.operation_cancel layout='inline' %} {% if position.form.operation_split %} {% bootstrap_field position.form.operation_split layout='inline' %} {% endif %} {% if position.addons.exists %} {% trans "Removing or splitting this position will also remove or split all add-ons to this position." %} {% endif %}
{% endfor %}
{{ add_formset.management_form }} {% bootstrap_formset_errors add_formset %}
{% for add_form in add_formset %}

{% trans "Add product" %}
{{ add_form.id }} {% bootstrap_field add_form.DELETE form_group_class="" layout="inline" %}

{% bootstrap_form_errors add_form %} {% if add_form.custom_error %}
{{ add_form.custom_error }}
{% endif %} {% bootstrap_field add_form.itemvar layout="control" %} {% bootstrap_field add_form.price addon_after=request.event.currency layout="control" %} {% if add_form.addon_to %} {% bootstrap_field add_form.addon_to layout="control" %} {% endif %} {% if add_form.subevent %} {% bootstrap_field add_form.subevent layout="control" %} {% endif %} {% if add_form.used_membership %} {% bootstrap_field add_form.used_membership layout="control" %} {% endif %} {% bootstrap_field add_form.seat layout="control" %}
{% endfor %}

{% for fee in fees %}

{{ fee.get_fee_type_display }} {% if fee.description %} – {{ fee.description }} {% endif %}

{% bootstrap_form_errors fee.form %} {% if fee.custom_error %}
{{ fee.custom_error }}
{% endif %}
{% trans "Current value" %}
{% trans "Change to" %}
{% trans "Price" %}
{{ fee.value|money:request.event.currency }} {% if fee.tax_rate %}
({{ fee.net_value|money:request.event.currency }} + {{ fee.tax_rate }}%) {% endif %}
{% bootstrap_field fee.form.value addon_after=request.event.currency layout='inline' %} {% trans "including all taxes" %} {% bootstrap_field fee.form.tax_rule layout='inline' %}
{% bootstrap_field fee.form.operation_cancel layout='inline' %} {% if fee.fee_type == "payment" %} {% trans "Manually modifying payment fees is discouraged since they might automatically be on subsequent order changes or when choosing a different payment method." %} {% endif %}
{% endfor %}

{% trans "Other operations" %}

{% bootstrap_form_errors other_form %} {% if other_form.custom_error %}
{{ other_form.custom_error }}
{% endif %} {% bootstrap_field other_form.recalculate_taxes layout="control" %} {% bootstrap_field other_form.reissue_invoice layout="control" %} {% bootstrap_field other_form.notify layout="control" %}
{% bootstrap_field other_form.ignore_quotas layout="" %}
{% trans "Cancel" %}
{% endblock %}