{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventsignal %} {% load money %} {% 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.expires|date:"SHORT_DATE_FORMAT" %} Please complete your payment before {{ date }} {% endblocktrans %} {% if last_payment %} {{ last_payment_info }} {% if can_pay %} {% endif %} {% else %} {% if can_pay %} {% endif %} {% endif %}
{% endif %} {% if order.status == "p" or order.status == "c" %} {% if refunds %}
{% for r in refunds %} {% if r.state == "created" or r.state == "transit" %} {% blocktrans trimmed with amount=r.amount|money:request.event.currency %} A refund of {{ amount }} will be sent out to you soon, please be patient. {% endblocktrans %} {% elif r.state == "done" %} {% blocktrans trimmed with amount=r.amount|money:request.event.currency %} A refund of {{ amount }} has been sent to you. Depending on the payment method, please allow for up to 14 days until it shows up on your statement. {% endblocktrans %} {% endif %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% endif %} {% endif %} {% include "pretixpresale/event/fragment_downloads.html" %}
{% 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 %}
{% 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.cancel_allowed and order.user_cancel_allowed %}

{% trans "Cancellation" context "action" %}

{% if order.status == "p" and order.total != 0 %} {% if order.user_cancel_fee %}

{% blocktrans trimmed with fee=order.user_cancel_fee|money:request.event.currency %} You can cancel this order. In this case, a cancellation fee of {{ fee }} will be kept and you will receive a refund of the remainder to your original payment method. {% endblocktrans %} {% trans "This will invalidate all tickets in this order." %}

{% else %}

{% blocktrans trimmed %} You can cancel this order and receive a full refund to your original payment method. {% endblocktrans %} {% trans "This will invalidate all tickets in this order." %}

{% endif %} {% trans "Cancel order" %} {% else %}

{% blocktrans trimmed %} You can cancel this order using the following button. {% endblocktrans %} {% trans "This will invalidate all tickets in this order." %}

{% trans "Cancel order" %} {% endif %}
{% endif %} {% endblock %}