{% load i18n satchmo_currency satchmo_discounts normalize_decimal %}
Order #:{{ order.id }}
{% trans "Contact Information" %}
{{ order.contact.full_name }}
{{ order.contact.email }}
{{ order.contact.primary_phone.phone }}
{% if order.is_shippable %}{% endif %} {% if order.is_shippable %} {% endif %}
{% trans "Billing Information" %}{% trans "Shipping Address" %}
{{ order.full_bill_street }}
{{ order.bill_city }}, {{ order.bill_state }} {{ order.bill_postal_code }}
{{ order.bill_country }}
{{ order.full_ship_street }}
{{ order.ship_city }}, {{ order.ship_state }} {{ order.ship_postal_code }}
{{ order.ship_country }}
{% for item in order.orderitem_set.all %} {% endfor %} {% if order.discount %} {% endif %} {% if order.is_shippable %} {% endif %} {% if order.tax %} {% endif %}
SKU Item QTY UNIT SUBTOTAL
{{ item.product.sku }} {{ item }} {{item.quantity|normalize_decimal}} {{item.product|discount_price:sale|currency }} {{item|discount_line_total:sale|currency}}
{% trans "Discount:" %} {{order.discount|currency}}
{% trans "Shipping:" %} - {{order.shipping_method}} {{order.shipping_sub_total|currency}}
{% trans "Tax:" %} {{order.tax|currency}}
{% trans "Total:" %} {{order.total|currency}}
{% trans "Payment: " %} {% with order.credit_card.credit_type as credit_card_type %} {% with order.credit_card.display_cc as credit_card_number %} {% with order.total|currency as order_total %} {% blocktrans %}{{ credit_card_type }} card ending in {{ credit_card_number }} will be charged {{ order_total }}.{% endblocktrans %} {% endwith %} {% endwith %} {% endwith %}
{% if order.has_downloads %} {% trans "This is a downloadable product" %} {% for download in order.downloadlink_set.all %} {{ download.product_name }} - {{download.get_full_url}} {% endfor %} {% endif %}