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

{% trans "Create multiple voucher" %}

{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "Voucher codes" %}
{% bootstrap_field form.codes layout="control" %} {% bootstrap_field form.max_usages layout="control" %}
{% trans "Voucher details" %} {% bootstrap_field form.valid_until layout="control" %} {% bootstrap_field form.block_quota layout="control" %} {% bootstrap_field form.allow_ignore_quota layout="control" %}
{% 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="control" %}
{% 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 %}
{% if form.subevent %} {% bootstrap_field form.subevent layout="control" %} {% endif %} {% bootstrap_field form.tag layout="control" %} {% bootstrap_field form.comment layout="control" %}
{% eventsignal request.event "pretix.control.signals.voucher_form_html" form=form %}
{% endblock %}