{% extends "base.html" %} {% load i18n plata_tags %} {% block title %}{% trans "Order summary" %} - {{ block.super }}{% endblock %} {% block content %}

{% trans "Order summary" %}

{% trans "Billing address" %}

{{ order.billing_company }}
{{ order.billing_first_name }} {{ order.billing_last_name }}
{{ order.billing_address|linebreaksbr }}
{{ order.billing_country }}-{{ order.billing_zip_code }} {{ order.billing_city }}

{% trans "Shipping address" %}

{{ order.shipping_company }}
{{ order.shipping_first_name }} {{ order.shipping_last_name }}
{{ order.shipping_address|linebreaksbr }}
{{ order.shipping_country }}-{{ order.shipping_zip_code }} {{ order.shipping_city }}

{% trans "Order items" %}

{% for item in order.items.all %} {% endfor %}
{{ item.variation }} {{ item.quantity }} * {{ item.currency }} {{ item.unit_price|floatformat:2 }} {{ item.currency }} {{ item.discounted_subtotal|floatformat:2 }}

{% trans "Total" %}

{% trans "subtotal"|capfirst %} {{ order.currency }} {{ order.subtotal|floatformat:2 }}
{% trans "discount"|capfirst %} {{ order.currency }} {{ order.discount|floatformat:2 }}
{% trans "tax"|capfirst %} {{ order.currency }} {{ order.tax|floatformat:2 }}
{% trans "total"|capfirst %} {{ order.currency }} {{ order.total|floatformat:2 }}
{% csrf_token %}

{% trans "Payment and order confirmation" %}

{% form_errors form %} {% form_item form.payment_method %}
PDF {% endblock %}