{% extends "customer/emails/base.html" %} {% load currency_filters i18n %} {% block tbody %}

{% trans 'Hello' %} {{ user.get_full_name }},

{% 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 %} {% endfor %} {% if order.basket_discounts.exists %} {% if order.lines.count > 1 %} {% endif %} {% for discount in order.basket_discounts %} {{ discount.amount.copy_negate|currency:order.currency }} {% endfor %} {% endif %} {% if order.has_shipping_discounts %} {% for discount in order.shipping_discounts %} {% endfor %} {% else %} {% endif %} {% if order.surcharges.exists %} {% for charge in order.surcharges.all %} {% endfor %} {% endif %}

{{ line.title }} × {{ line.quantity }}

{% if line.attributes.exists %}
    {% for option in line.attributes.all %}
  • {{ option.option.name }}: {{ option.display_value }}
  • {% endfor %}
{% endif %}
{{ line.line_price_before_discounts_incl_tax|currency:order.currency }}
{% trans "Basket total (before discounts)" %} {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }}
{% trans "Discount" %} {{ discount.offer }}:
{% trans 'Basket total:' %} {{ order.basket_total_incl_tax|currency:order.currency }}
{{ order.shipping_method }} {{ order.shipping_before_discounts_incl_tax|currency:order.currency }}
{% trans "Discount" %} {{ discount.offer }}: {{ discount.amount.copy_negate|currency:order.currency }}
{% trans "Shipping charge (after discounts)" %} {{ order.shipping_incl_tax|currency:order.currency }}
{% trans 'Shipping:' %} {{ order.shipping_incl_tax|currency:order.currency }}
{{charge.name}}: {{ charge.incl_tax|currency:order.currency }}
{% trans 'Order Total:' %} {{ order.total_incl_tax|currency:order.currency }}
{% trans 'Total tax' %} {{ order.total_tax|currency:order.currency }}
{% trans "Total excl. tax" %} {{ order.total_excl_tax|currency:order.currency }}
{% if order.billing_address %} {% else %} {% endif %}
{% trans 'Shipping address' %} {% trans 'Billing address' %}

{% for field in order.shipping_address.ordered_active_address_fields %} {{ field }}
{% endfor %}

{% for field in order.billing_address.ordered_active_address_fields %} {{ field }}
{% endfor %}

{% for field in order.shipping_address.ordered_active_address_fields %} {{ field }}
{% endfor %}

{% if status_url %} {% blocktrans %}You can view the status of this order by clicking here{% endblocktrans %} {% endif %} {% endblock %}