{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% block title %} {% blocktrans trimmed with code=order.code %} Order details: {{ code }} {% endblocktrans %} {% endblock %} {% block content %}

{% blocktrans trimmed with code=order.code %} Order details: {{ code }} {% endblocktrans %} {% include "pretixcontrol/orders/fragment_order_status.html" with order=order class="pull-right" %}

{% if order.status == 'n' or order.status == 'p' %}
{% csrf_token %}
{% endif %}

{% trans "Ordered items" %}

{% for line in items.positions %}
{{ line.item }} {% if line.variation %} – {{ line.variation }} {% endif %} {% if line.has_questions %}
{% if line.item.admission and event.settings.attendee_names_asked == 'True' %}
{% trans "Attendee name" %}
{% if line.attendee_name %}{{ line.attendee_name }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %} {% for q in line.questions %}
{{ q.question }}
{% if q.answer %}{{ q.answer }}{% else %}{% trans "not answered" %}{% endif %}
{% endfor %}
{% endif %}
{{ line.count }}
{{ event.currency }} {{ line.price|floatformat:2 }}
{{ event.currency }} {{ line.total|floatformat:2 }} {% if line.item.tax_rate %}
{% blocktrans trimmed with rate=line.item.tax_rate %} incl. {{ rate }}% taxes {% endblocktrans %} {% endif %}
{% endfor %} {% if items.payment_fee %} {# TODO: Tax rate? #}
{% trans "Payment method fee" %}
{{ event.currency }} {{ items.payment_fee|floatformat:2 }}
{% endif %}
{% trans "Total" %}
{{ event.currency }} {{ items.total|floatformat:2 }}

{% trans "Payment information" %}

{% if order.payment_manual %}
{% trans "The payment state of this order was manually modified." %}
{% endif %} {{ payment }} {% if order.status == 'n' %}

{% blocktrans trimmed with date=order.expires %} The payment has to be completed before {{ date }}. {% endblocktrans %}

{% endif %}
{% endblock %}