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

{% trans "Create multiple vouchers" %}

{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "Voucher codes" %}
{% bootstrap_field form.codes layout="control" %}
{% trans "Voucher details" %} {% bootstrap_field form.max_usages layout="control" %} {% bootstrap_field form.valid_until layout="control" %} {% bootstrap_field form.itemvar layout="control" %}
{% bootstrap_field form.price_mode show_label=False form_group_class="" %}
{% bootstrap_field form.value show_label=False form_group_class="" %}
{% 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 %} {% if "seats" in form.fields %} {% bootstrap_field form.seats layout="control" %} {% endif %}
{% trans "Advanced settings" %} {% bootstrap_field form.block_quota layout="control" %} {% bootstrap_field form.allow_ignore_quota layout="control" %} {% bootstrap_field form.min_usages layout="control" %} {% bootstrap_field form.budget addon_after=request.event.currency layout="control" %} {% bootstrap_field form.tag layout="control" %} {% bootstrap_field form.comment layout="control" %} {% bootstrap_field form.show_hidden_items layout="control" %} {% bootstrap_field form.all_addons_included layout="control" %} {% bootstrap_field form.all_bundles_included layout="control" %}
{% trans "Send out emails" %} {% bootstrap_field form.send layout="control" %}
{% with field=form.send_subject item="send_subject" %}
{% bootstrap_field field show_label=False form_group_class="" %}
{% endwith %}
{% with field=form.send_message item="send_message" %}
{% bootstrap_field field show_label=False form_group_class="" %}
{% endwith %}
{% bootstrap_field form.send_recipients layout="horizontal" %}
{% eventsignal request.event "pretix.control.signals.voucher_form_html" form=form %}
{% endblock %}