{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventsignal %} {% load eventurl %} {% block title %}{% trans "Order details" %}{% endblock %} {% block content %} {% if "thanks" in request.GET or "paid" in request.GET %}

{% trans "Thank you!" %}

{% if order.status != 'p' %}

{% trans "Your order has been placed successfully. See below for details." %}
{% trans "Please note that we still await your payment to complete the process." %}

{% elif order.total == 0 %}

{% trans "Your order has been processed successfully! See below for details." %}

{% else %}

{% trans "We successfully received your payment. See below for details." %}

{% endif %}

{% blocktrans trimmed %} Please bookmark or save the link to this exact page if you want to download your ticket or change your details later. We also sent you an email containing the link to the address you specified. {% endblocktrans %}

{% blocktrans trimmed %} Please save the following link if you want to download your ticket or change your details later. We also sent you an email containing the link to the address you specified. {% endblocktrans %}
{{ url }}

{% endif %}

{% blocktrans trimmed with code=order.code %} Your order: {{ code }} {% endblocktrans %} {% include "pretixpresale/event/fragment_order_status.html" with order=order class="pull-right" %}

{% if order.status == "n" %}
{% if can_change_method %} {% endif %}

{% trans "Payment" %}

{% if can_retry %} {% trans "Complete payment" %} {% endif %} {{ payment }} {% blocktrans trimmed with date=order.expires|date:"SHORT_DATE_FORMAT" %} Please complete your payment before {{ date }} {% endblocktrans %}
{% endif %} {% if order.status == 'p' and event.settings.ticket_download %} {% if can_download and download_buttons %}
{% blocktrans trimmed %} You can download your tickets using the buttons below. Please have your ticket ready when entering the event. {% endblocktrans %}
{% if cart.positions|length > 1 and can_download_multi %}

{% trans "Download all tickets at once:" %} {% for b in download_buttons %} {% if b.multi %} {{ b.text }} {% endif %} {% endfor %}

{% endif %} {% elif not download_buttons %}
{% blocktrans trimmed with date=ticket_download_date|date:"SHORT_DATE_FORMAT" %} You will be able to download your tickets here starting on {{ date }}. {% endblocktrans %}
{% endif %} {% endif %}
{% if order.can_modify_answers %} {% endif %}

{% trans "Ordered items" %}

{% include "pretixpresale/event/fragment_cart.html" with cart=cart event=request.event download=can_download editable=False %}
{% eventsignal event "pretix.presale.signals.order_info" order=order %}
{% if invoices %}

{% trans "Invoices" %}

{% elif can_generate_invoice %}

{% trans "Invoices" %}

{% csrf_token %}
{% endif %} {% if request.event.settings.invoice_address_asked %}
{% if order.can_modify_answers %} {% endif %}

{% trans "Invoice information" %}

{% trans "Company" %}
{{ order.invoice_address.company }}
{% trans "Name" %}
{{ order.invoice_address.name }}
{% trans "Address" %}
{{ order.invoice_address.street|linebreaksbr }}
{% trans "ZIP code and city" %}
{{ order.invoice_address.zipcode }} {{ order.invoice_address.city }}
{% trans "Country" %}
{{ order.invoice_address.country.name|default:order.invoice_address.country_old }}
{% if request.event.settings.invoice_address_vatid %}
{% trans "VAT ID" %}
{{ order.invoice_address.vat_id }}
{% endif %}
{% trans "Internal Reference" %}
{{ order.invoice_address.internal_reference }}
{% endif %}
{% if order.status == "n" and order.can_user_cancel %}

{% trans "Cancel order" %}

{% endif %} {% if order.status == "p" and payment %}

{% trans "Payment" %}

{{ payment }}
{% endif %} {% endblock %}