{% extends "manage/base.html" %} {% load compress i18n static crispy_forms_tags lfs_tags %} {% block help_link %}user/management/customer/orders.html{% endblock %} {% block section %}manage-order{% endblock %} {% block content %}
{% csrf_token %}
{% trans "General Information" %}
{% trans 'Order number' %}: {{ current_order.number|default_if_none:"-" }}
{% trans 'Date' %}: {{ current_order.created|date:_("DATETIME_FORMAT") }}
{% trans 'E-mail' %}: {{ current_order.customer_email }}
{% trans 'Phone' %}: {{ current_order.shipping_phone|default:"-" }}
{% if current_order.state_modified %} {% endif %}
{% trans 'State' %}: {{ current_order.get_state_display }}
{% trans 'State modified' %}: {{ current_order.state_modified|date:_("DATETIME_FORMAT") }}
{% trans 'Total' %}: {{ current_order.price|currency:request }}
{% trans 'Lieferzeit' %}: {{ current_order.delivery_time.round.as_string }}
{% trans 'Gesamtgewicht' %}: {{ current_order.order_extensions.total_weight }} kg
Europallettentausch möglich: {% if current_order.order_extensions.europallet_change %} Ja {% else %} Nein {% endif %}
{% trans "Addresses & Methods" %}
{% trans "Shipping Address" %}
{{ current_order.shipping_address.as_html|safe }}
{% trans "Invoice Address" %}
{{ current_order.invoice_address.as_html|safe }}
{% trans "Shipping Method" %}
{{ current_order.shipping_method }}
{% trans "Payment Method" %}
{{ current_order.payment_method.name }}
{% if current_order.payment_method.id == 1 %}
{% trans 'Account' %}: {{ current_order.account_number }}
{% trans 'BIC' %}: {{ current_order.bank_identification_code }}
{% trans 'Bank' %}: {{ current_order.bank_name }}
{% trans 'Depositor' %}: {{ current_order.depositor }}
{% endif %}
{% trans "Order Items" %}
{% for item in current_order.items.all %} {% endfor %} {% if current_order.voucher_number %} {% endif %}
{% trans 'Image' %} {% trans 'SKU' %} {% trans 'Name' %} {% trans 'Amount' %} {% trans 'Price' %} {% trans 'VAT' %} {% trans 'Total' %}
{% if item.product.get_image.image %} {{ item.product_name }} {% else %} - {% endif %} {{ item.product_sku }} {{ item.product_name }}   {% if item.product %} {% endif %} {% for property in item.product.get_displayed_properties %}
{{ property.title }}: {{ property.value }} {{ property.unit|safe }}
{% endfor %} {% for property in item.product.get_variant_properties %}
{{ property.title }}: {{ property.value }} {{ property.unit|safe }}
{% endfor %} {% if item.product.is_configurable_product %} {% for property in item.get_properties %}
{{ property.title }} [{{ property.property_group_name }}]: {{ property.value }} {{ property.unit|safe }} {% if property.display_price %} ({{ property.price|currency:request }}) {% endif %}
{% endfor %} {% endif %}
{{ item.amount }} {{ item.product.unit }} {% if item.product.active_packing_unit %}
({{ item|packages }} {{ item.product.packing_unit_unit }})
{% endif %}
{{ item.product_price_gross|currency:request }} {% if item.product.price_unit %}
/ {{ item.product.price_unit }}{% endif %}
{{ item.product_tax|currency:request }} {{ item.price_gross|currency:request }}
{% trans 'Voucher' %} ({{ current_order.voucher_number }}): - {{ current_order.voucher_price|currency:request }}
{% trans 'Shipping' %} ({{ current_order.shipping_method }}): 1 {{ current_order.shipping_price|currency:request }} {{ current_order.shipping_tax|currency:request }} {{ current_order.shipping_price|currency:request }}
{% trans 'Payment' %} ({{ current_order.payment_method }}): 1 {{ current_order.payment_price|currency:request }} {{ current_order.payment_tax|currency:request }} {{ current_order.payment_price|currency:request }}
{% trans 'Total' %}: {{ current_order.price|currency:request }}
{% trans 'Inclusive VAT' %}: {{ current_order.tax|currency:request }}
{% if current_order.message %}
{% trans "Message from the customer" %}

{{ current_order.message }}

{% endif %} {% if current_order.paypalordertransaction_set.all %}
{% trans "PayPal Transaction ID" %}
{% for ppt in current_order.paypalordertransaction_set.all %} {% for ipn in ppt.ipn.all %}
{{ ipn.txn_id }}
{% endfor %} {% endfor %}
{% endif %}
{% include 'manage/snippets/modals/modal-lg.html' %} {% include 'manage/snippets/modals/modal-xl.html' %} {% include 'manage/snippets/modals/modal-sm.html' %} {% endblock %}