{% extends "pretixcontrol/vouchers/base.html" %} {% load i18n %} {% block title %}{% trans "Vouchers" %}{% endblock %} {% block inside %}

{% blocktrans trimmed %} Vouchers allow you to assign tickets to specific persons for a lower price. They also enable you to reserve some quota for your very special guests. {% endblocktrans %}

{% if vouchers|length == 0 %}

{% if request.GET.search or request.GET.tag or request.GET.status %} {% trans "Your search did not match any vouchers." %} {% else %} {% blocktrans trimmed %} You haven't created any vouchers yet. {% endblocktrans %} {% endif %}

{% trans "Create a new voucher" %} {% trans "Create multiple new vouchers" %}
{% else %}

{% trans "Create a new voucher" %} {% trans "Create multiple new vouchers" %}

{% for v in vouchers %} {% endfor %}
{% trans "Voucher code" %} {% trans "Redemptions" %} {% trans "Expiry" %} {% trans "Tag" %} {% trans "Product" %}
{{ v.code }} {{ v.redeemed }} / {{ v.max_usages }} {{ v.valid_until|date }} {{ v.tag }} {% if v.item %} {{ v.item }} {% if v.variation %} – {{ v.variation }} {% endif %} {% else %} {% blocktrans trimmed with quota=v.quota.name %} Any product in quota "{{ quota }}" {% endblocktrans %} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}