{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% 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." %}

{% else %}

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

{% endif %}

{% trans "We also sent you an email with a link to this page if you want to come back later." %}

{% 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" %}

{% 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 %}

{% trans "Ticket download" %}

{% if can_download %}

{% blocktrans trimmed %} Please use the buttons below to obtain your ticket. Please have your ticket ready when entering the event. {% endblocktrans %}

{% for b in download_buttons %} {{ b.text }} {% endfor %} {% else %} {% blocktrans trimmed with date=event.settings.ticket_download_date|date:"SHORT_DATE_FORMAT" %} You will be able to download your tickets here 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 editable=False %}
{% if invoices %}

{% trans "Invoices" %}

{% 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 }} {{ addr.city }}
{% trans "Country" %}
{{ order.invoice_address.country }}
{% trans "Phone" %}
{{ order.invoice_address.phone }}
{% if request.event.settings.invoice_address_vatid %}
{% trans "VAT ID" %}
{{ order.invoice_address.vat_id }}
{% endif %}
{% endif %}
{% if order.status == "n" %}

{% trans "Cancel order" %}

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

{% trans "Payment" %}

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