{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load urlreplace %} {% block title %}{% trans "Quotas" %}{% endblock %} {% block inside %}

{% trans "Quotas" %}

{% blocktrans trimmed %} To make your products actually available, you also need quotas. Quotas define, how many instances of your product pretix will sell. This way, you can configure whether your event can take an unlimited number of attendees or the number of attendees is limited. You can assign a product to multiple quotas to fulfill more complex requirements, e.g. if you want to limit the total number of tickets sold and the number of a specific ticket type at the same time. {% endblocktrans %}

{% if request.event.has_subevents %}
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
{% endif %} {% if quotas|length == 0 %}

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

{% trans "Create a new quota" %}
{% else %}

{% trans "Create a new quota" %}

{% if request.event.has_subevents %} {% endif %} {% for q in quotas %} {% if request.event.has_subevents %} {% endif %} {% endfor %}
{% trans "Quota name" %} {% trans "Products" %}{% trans "Date" context "subevent" %} {% trans "Total capacity" %} {% trans "Capacity left" %}
{{ q.name }} {% if q.ignore_for_event_availability %} {% endif %} {{ q.subevent.name }} – {{ q.subevent.get_date_range_display }} {{ q.subevent.date_from|date:"TIME_FORMAT" }} {% if q.size == None %}Unlimited{% else %}{{ q.size }}{% endif %} {% include "pretixcontrol/items/fragment_quota_availability.html" with availability=q.cached_avail closed=q.closed %}
{% endif %} {% include "pretixcontrol/pagination.html" %} {% endblock %}