{% extends "customer/emails/base.txt" %}
{% load currency_filters i18n %}{% block body %}{% autoescape off %}
{% blocktrans with order_number=order.number %}We are pleased to confirm your order {{ order_number }} has been received and will be processed shortly.{% endblocktrans %}

{% trans 'Your order contains:' %}

{% for line in order.lines.all %} * {{ line.title }} - {%  trans 'quantity:' %} {{ line.quantity }} - {% trans 'price:' %} {{ line.line_price_before_discounts_incl_tax|currency:order.currency }}{% for option in line.attributes.all %}
   {{ option.option.name }}: {{ option.display_value }}{% endfor %}
{% endfor %}{% if order.basket_discounts.exists %}{% if order.lines.count > 1 %}
{% trans "Basket total (before discounts)" %}: {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }}{% endif %}{% for discount in order.basket_discounts %}
{% trans "Discount" %} {{ discount.offer }}: {{ discount.amount.copy_negate|currency:order.currency }}{% endfor %}{% endif %}
{% trans 'Basket total:' %} {{ order.basket_total_incl_tax|currency:order.currency }}
{% trans 'Shipping:' %} {{ order.shipping_incl_tax|currency:order.currency }}
{% if order.surcharges.exists %}{% for charge in order.surcharges.all %}{{charge.name}}: {{ charge.incl_tax|currency:order.currency }}{% endfor %}{% endif %}

{% trans 'Order Total:' %} {{ order.total_incl_tax|currency:order.currency }}

{% trans 'Shipping address:' %}

{% for field in order.shipping_address.active_address_fields %}  {{ field }}
{% endfor %}
{% if status_url %}{% blocktrans %}You can view the status of this order at the below URL:
{{ status_url }}
{% endblocktrans %}{% endif %}{% endautoescape %}{% endblock %}
