{% extends "pretixpresale/organizers/base.html" %} {% load i18n %} {% load eventurl %} {% load urlreplace %} {% load money %} {% load bootstrap3 %} {% block title %}{% trans "Your account" %}{% endblock %} {% block content %}

{% trans "Your account" %}

{{ customer.name }}
{{ customer.email }}
{% if customer.phone %}
{% endif %}
{% trans "Customer ID" %}
#{{ customer.identifier }}

{% trans "Orders" %} ({{ page_obj.paginator.count }})

{% if orders %}
    {% for o in orders %}
  1. {% trans "Order" %}
    {{ o.code }} {% if o.customer_id != customer.pk %} {% endif %} {% include "pretixpresale/event/fragment_order_status.html" with order=o event=o.event %}
    {% if o.testmode and False %}
    {% trans "TEST MODE" %}
    {% endif %}
    {% trans "Order total" %}
    {{ o.total|money:o.event.currency }}
    {% trans "Positions" %}
    {% blocktranslate count counter=o.count_positions|default_if_none:0 %}{{ counter }} item{% plural %}{{ counter }} items{% endblocktranslate %}
    {% trans "Event" %}
    {{ o.event }} {% if not o.event.has_subevents and o.event.settings.show_dates_on_frontpage %}
    {{ o.event.get_date_range_display }} {% endif %}
    {% trans "Actions" %}
    {% trans "Details" %}
  2. {% endfor %}
{% else %}

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

{% endif %}
{% include "pretixcontrol/pagination.html" %}
{% for m in memberships %} {% empty %} {% endfor %}
{% trans "Memberships" %}
{% trans "Membership type" %} {% trans "Valid from" %} {% trans "Valid until" %} {% trans "Attendee name" %} {% trans "Usages" %}
{% if m.canceled %}{% endif %} {{ m.membership_type.name }} {% if m.canceled %}{% endif %} {% if m.testmode %}{% trans "TEST MODE" %}{% endif %} {{ m.date_start|date:"SHORT_DATETIME_FORMAT" }} {{ m.date_end|date:"SHORT_DATETIME_FORMAT" }} {{ m.attendee_name }}
{{ m.usages }} / {{ m.membership_type.max_usages|default_if_none:"∞" }}
{% trans "No memberships are stored in your account." %}
{% for ia in invoice_addresses %} {% empty %} {% endfor %}
{% trans "Address" %}
{{ ia.describe|linebreaksbr }}
{% trans "No addresses are stored in your account." %}
{% for ap in attendee_profiles %} {% empty %} {% endfor %}
{% trans "Profile" %}
{{ ap.describe|linebreaksbr }}
{% trans "No attendee profiles are stored in your account." %}
{% endblock %}