{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventsignal %} {% block title %}{% trans "Voucher" %}{% endblock %} {% block inside %}

{% trans "Voucher" %}

{% if voucher.redeemed %}
{% trans "This voucher already has been used. It is not recommended to modify it." %}
{% endif %}
{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "Voucher details" %} {% bootstrap_field form.code layout="horizontal" %} {% bootstrap_field form.max_usages layout="horizontal" %} {% bootstrap_field form.valid_until layout="horizontal" %} {% bootstrap_field form.block_quota layout="horizontal" %} {% bootstrap_field form.allow_ignore_quota layout="horizontal" %}
{% bootstrap_field form.price_mode show_label=False form_group_class="" %}
{% bootstrap_field form.value show_label=False form_group_class="" %}
{% bootstrap_field form.itemvar layout="horizontal" %}
{% blocktrans trimmed %} If you choose "any product" for a specific quota and choose to reserve quota for this voucher above, the product can still be unavailable to the voucher holder if another quota associated with the product is sold out! {% endblocktrans %}
{% bootstrap_field form.tag layout="horizontal" %} {% bootstrap_field form.comment layout="horizontal" %}
{% eventsignal request.event "pretix.control.signals.voucher_form_html" form=form %}

{% trans "Voucher history" %}

{% include "pretixcontrol/includes/logs.html" with obj=voucher %}
{% endblock %}