{% 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 %} {% 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" %}
{% 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.cancel_allowed and order.user_cancel_allowed %}

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

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

{% if request.event.settings.cancel_allow_user_paid_require_approval %} {% blocktrans trimmed %} You can request to cancel this order, but you will not receive a refund. {% endblocktrans %} {% else %} {% blocktrans trimmed %} You can cancel this order, but you will not receive a refund. {% endblocktrans %} {% endif %} {% trans "This will invalidate all tickets in this order." %}

{% elif order.user_cancel_fee %}

{% if request.event.settings.cancel_allow_user_paid_require_approval %} {% blocktrans trimmed with fee=order.user_cancel_fee|money:request.event.currency %} You can request to cancel this order. If your request is approved, a cancellation fee of {{ fee }} will be kept and you will receive a refund of the remainder. {% endblocktrans %} {% else %} {% 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. {% endblocktrans %} {% endif %} {% if request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "force" %} {% trans "The refund will be issued in form of a gift card that you can use for further purchases." %} {% elif request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "option" %} {% trans "The refund can be issued to your original payment method or as a gift card." %} {% else %} {% trans "The refund will be issued to your original payment method." %} {% endif %} {% trans "This will invalidate all tickets in this order." %}

{% else %}

{% if request.event.settings.cancel_allow_user_paid_require_approval %} {% blocktrans trimmed %} You can request to cancel this order. If your request is approved, you get a full refund. {% endblocktrans %} {% else %} {% blocktrans trimmed %} You can cancel this order and receive a full refund. {% endblocktrans %} {% endif %} {% if request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "force" %} {% trans "The refund will be issued in form of a gift card that you can use for further purchases." %} {% elif request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "option" %} {% trans "The refund can be issued to your original payment method or as a gift card." %} {% else %} {% trans "The refund will be issued to your original payment method." %} {% endif %} {% 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 %}