{% extends "pretixpresale/organizers/customer_base.html" %} {% load i18n %} {% load icon %} {% load eventurl %} {% load money %} {% load textbubble %} {% block title %}{% trans "Your account" %}{% endblock %} {% block inner %}

{% icon "shopping-cart" %} {% trans "Orders" %} ({{ page_obj.paginator.count }})

{% if orders %}
{% for o in orders %}

{% icon "shopping-cart" %} {{ o.code }} {% if o.customer_id != customer.pk %} {% icon "compress" %} {% endif %} {% include "pretixpresale/event/fragment_order_status.html" with order=o event=o.event %}

{% if o.testmode %}

{% textbubble "warning" %} {% trans "TEST MODE" %} {% endtextbubble %}

{% endif %}

{{ o.total|money:o.event.currency }}
{% blocktranslate count counter=o.count_positions|default_if_none:0 %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktranslate %}

{{ o.event }} {% if not o.event.has_subevents and o.event.settings.show_dates_on_frontpage %}
{{ o.event.get_date_range_display }} {% endif %}

{% endfor %}
{% else %}

{% trans "You don’t have any orders in your account yet." %}

{% endif %}
{% include "pretixcontrol/pagination.html" %} {% endblock %}