{% load i18n %} {% if orders %}
| {% trans "Order code" %} {% include "pretix_ordersummary/fragment_sort.html" with key="code" %} | {% trans "Attendee" %} {% include "pretix_ordersummary/fragment_sort.html" with key="attendee" %} | {% if show_datetime %}{% trans "Order date" %} {% include "pretix_ordersummary/fragment_sort.html" with key="datetime" %} | {% endif %} {% if show_payment %}{% trans "Payment method" %} | {% endif %} {% for q in questions %}{{ q.question }} {% include "pretix_ordersummary/fragment_sort.html" with key=q.sort_key %} | {% endfor %} {% if age_question %}{% trans "Age" %} {% include "pretix_ordersummary/fragment_sort.html" with key="age" %} | {% endif %} {% if checkin_list %}{% trans "Check-in" %}
{% include "pretix_ordersummary/fragment_sort.html" with key="checkin" %}
{% if not checkin_list_any %} {{ checkin_list.name }}{% endif %} |
{% endif %}
{% trans "Status" %} {% include "pretix_ordersummary/fragment_sort.html" with key="status" %} |
|---|---|---|---|---|---|---|---|
| {{ o.code }} {% if o.testmode %} {% trans "TEST MODE" %} {% endif %} |
{% if o.attendee_names %}
{% for name in o.attendee_names %}{{ name }}{% if not forloop.last %} {% endif %}{% endfor %} {% if o.name_source == "customer" %} ({% trans "Name from customer account" %}) {% elif o.name_source == "invoice" %} ({% trans "Name from invoice address" %}) {% endif %} {% else %} – {% endif %} |
{% if show_datetime %}
{{ o.datetime|date:"SHORT_DATETIME_FORMAT" }} | {% endif %} {% if show_payment %}
{% for m in o.payment_methods %}{{ m }}{% if not forloop.last %} {% endif %}{% empty %}–{% endfor %} |
{% endif %}
{% for values in o.question_values %}
{% for v in values %}{{ v }}{% if not forloop.last %} {% endif %}{% empty %}–{% endfor %} |
{% endfor %}
{% if age_question %}
{% for age in o.ages %}{{ age }}{% if not forloop.last %} {% endif %}{% empty %}–{% endfor %} |
{% endif %}
{% if checkin_list %}
{% if o.checkins_total == 0 %} – {% elif o.checkins_total == 1 %} {% if o.checkins_entered %} {% trans "Checked in" %} {% else %} {% trans "Not checked in" %} {% endif %} {% else %} {% if o.checkins_entered %}{% endif %} {{ o.checkins_entered }} / {{ o.checkins_total }} {% endif %} | {% endif %}{% include "pretixcontrol/orders/fragment_order_status.html" with order=o %} |
{% trans "No orders found." %}
{% endif %}