{% extends 'core/base.html' %} {% load i18n material_form %} {% block page_title %} {{ object }} {% endblock %} {% block browser_title %} {{ object }} {% endblock %} {% block content %} {% trans "Back" %} {% trans "Edit order" %} {% trans "Delete order" %}

{% if not object.paid %} {% endif %}

{% if order.processing_option.address_necessary %} {% endif %}
{% trans "Status" %} {% if order.submitted %} {% trans "Submitted" %} {% if order.confirmed %} {% trans "Confirmed" %} {% else %} {% trans "Unconfirmed" %} {% endif %} {% if order.paid %} {% trans "Paid" %} {% else %} {% trans "Unpaid" %} {% endif %} {% if order.sent %} {% trans "Sent" %} {% else %} {% trans "Not sent" %} {% endif %} {% else %} {% trans "Not submitted" %} {% endif %}
{% trans "Full name" %} {{ order.full_name }}
{% trans "Email" %} {{ order.email }}
{% trans "Shipping address" %} {{ order.shipping_full_name }}
{{ order.second_address_row }}
{{ order.street }} {{ order.housenumber }}
{{ order.plz }} {{ order.place }}
{% for item in order.items.all %} {% endfor %}
{% trans "Count" %} {% trans "Item" %} {% trans "Price" %} {% trans "Sum" %}
{{ item.count }} {{ item.item.name }} {{ item.item.price|floatformat:"2" }} € {{ item.total|floatformat:"2" }} €
+ {{ order.processing_option.name }} {{ order.processing_price|floatformat:"2" }} €
{% trans "Total" %} {{ order.total|floatformat:"2" }} €
{% endblock %}