{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventsignal %} {% load money %} {% load expiresformat %} {% 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." %}
{% if order.require_approval %} {% trans "Please note that we still await approval by the event organizer before you can pay and complete this order." %} {% else %} {% trans "Please note that we still await your payment to complete the process." %} {% endif %}

{% 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 access your order 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 access your order 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 %} {% if order.testmode %} {% trans "TEST MODE" %} {% endif %} {% if backend_user %} {% trans "View in backend" %} {% endif %} {% include "pretixpresale/event/fragment_order_status.html" with order=order class="pull-right flip" %}

{% if order.status == "n" and not order.require_approval %}

{% trans "Payment" %}

{% blocktrans trimmed with total=pending_sum|money:request.event.currency %} A payment of {{ total }} is still pending for this order. {% endblocktrans %} {% blocktrans trimmed with date=order|format_expires %} Please complete your payment before {{ date }} {% endblocktrans %} {% if last_payment %} {{ last_payment_info }} {% if can_pay %} {% endif %} {% else %} {% if can_pay %} {% endif %} {% endif %}
{% endif %} {% eventsignal event "pretix.presale.signals.order_info_top" order=order request=request %} {% if order.status == "p" or order.status == "c" %} {% if order.cancellation_requests.exists %}
{% blocktrans trimmed %} We've received your request to cancel this order. Please stay patient while the event organizer decides on the cancellation. {% endblocktrans %}
{% endif %} {% if refunds %}

{% trans "Refunds" %}

{% endif %} {% endif %} {% include "pretixpresale/event/fragment_downloads.html" with position_page=False %}
{% 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 %} {% if order.status == "n" and order.total > pending_sum %}
{% trans "Successful payments" %}
{{ payment_sum_neg|money:event.currency }}
{% trans "Pending total" %}
{{ pending_sum|money:event.currency }}
{% endif %}
{% eventsignal event "pretix.presale.signals.order_info" order=order request=request %}
{% if invoices %}

{% trans "Invoices" %}

{% elif can_generate_invoice %}

{% trans "Invoices" %}

{% if generate_invoice_requires == "payment" %}
{% trans "You need to select a payment method above before you can request an invoice." %}
{% elif invoice_address_asked and order.invoice_address.is_empty %} {% trans "Request invoice" %} {% else %}
{% csrf_token %}
{% endif %}
{% endif %} {% if invoice_address_asked or request.event.settings.invoice_name_required %}
{% if order.can_modify_answers %} {% endif %}

{% if request.event.settings.invoice_address_asked %} {% trans "Invoice information" %} {% else %} {% trans "Contact information" %} {% endif %}

{% if invoice_address_asked %}
{% trans "Company" %}
{{ order.invoice_address.company }}
{% endif %}
{% trans "Name" %}
{{ order.invoice_address.name }}
{% if invoice_address_asked %}
{% 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 order.invoice_address.state %}
{% trans "State" context "address" %}
{{ order.invoice_address.state_name }}
{% endif %} {% if request.event.settings.invoice_address_vatid %}
{% trans "VAT ID" %}
{{ order.invoice_address.vat_id }}
{% endif %} {% if request.event.settings.invoice_address_custom_field and order.invoice_address.custom_field %}
{{ request.event.settings.invoice_address_custom_field }}
{{ order.invoice_address.custom_field }}
{% endif %}
{% trans "Internal Reference" %}
{{ order.invoice_address.internal_reference }}
{% endif %}
{% endif %}
{% if order.user_change_allowed or order.user_cancel_allowed %}

{% trans "Change or cancel your order" context "action" %}

{% endif %} {% endblock %}