{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventsignal %} {% load money %} {% load expiresformat %} {% load eventurl %} {% load phone_format %} {% load rich_text %} {% load getitem %} {% block title %} {% 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." %} {% 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 %} {% endif %} {% 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 and order.total == 0 %} {% trans "Please note that we still await approval by the event organizer before your order is confirmed." %} {% elif order.require_approval %} {% trans "Please note that we still await approval by the event organizer before you can pay and complete this order." %} {% elif not event.settings.payment_pending_hidden %} {% 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 %} {% if request.event.settings.checkout_success_text %} {{ request.event.settings.checkout_success_text|rich_text }} {% 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 %}

{% trans "Order" %} {{ order.code }} {% if order.testmode %} {% trans "TEST MODE" %} {% endif %} {% if backend_user %} {% trans "View in backend" %} {% endif %}

Status
{% include "pretixpresale/event/fragment_order_status.html" with order=order event=request.event %}
{% 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 %} {% with date_human=order|format_expires|safe date_iso=order.expires|date:"c" %} {% blocktrans trimmed with date='"|safe %} Please complete your payment before {{ date }} {% endblocktrans %} {% endwith %}

{% if last_payment %} {{ last_payment_info }} {% if can_pay %}

{% trans "Re-try payment or choose another payment method" %}

{% endif %} {% else %} {% if can_pay %}

{% trans "Pay now" %}

{% endif %} {% endif %}
{% endif %} {% eventsignal event "pretix.presale.signals.order_info_top" order=order request=request %} {% 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 order.status == "p" or order.status == "c" %} {% if refunds %}

{% trans "Refunds" %}

{% endif %} {% endif %} {% include "pretixpresale/event/fragment_downloads.html" with position_page=False %}

{% trans "Ordered items" %} {% if order.can_modify_answers %} {% trans "Change details" %} {% endif %}

{% 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 and order.can_modify_answers %} {% trans "Request invoice" %} {% else %}
{% csrf_token %}
{% endif %}
{% endif %}

{% trans "Your information" %} {% if invoice_address_asked or request.event.settings.invoice_name_required %} {% if order.can_modify_answers %} {% trans "Change details" %} {% endif %} {% endif %}

{% if order.email %}
{% trans "Email" %}
{{ order.email }}
{% endif %} {% if order.phone %}
{% trans "Phone number" %}
{{ order.phone|phone_format }}
{% endif %} {% if invoice_address_asked %}
{% trans "Company" %}
{{ order.invoice_address.company }}
{% endif %} {% if invoice_address_asked or request.event.settings.invoice_name_required %}
{% trans "Name" %}
{{ order.invoice_address.name }}
{% endif %} {% 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" as state_label %}{{ COUNTRY_STATE_LABEL|getitem:order.invoice_address.country.code|default:state_label }}
{{ order.invoice_address.state_name }}
{% endif %} {% if request.event.settings.invoice_address_vatid and order.invoice_address.vat_id %}
{% 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 %} {% if order.invoice_address.internal_reference %}
{% trans "Internal Reference" %}
{{ order.invoice_address.internal_reference }}
{% endif %} {% endif %}
{% if user_change_allowed or user_cancel_allowed %}

{% if user_change_allowed and user_cancel_allowed %} {% trans "Change or cancel your order" context "action" %} {% elif user_change_allowed %} {% trans "Change your order" context "action" %} {% else %} {% trans "Cancel your order" context "action" %} {% endif %}

{% endif %}
{% endblock %}