|
|
|
Date {{ date | date: "%m/%d/%Y" }}
|
|
{% if requires_shipping and shipping_address %}
|
Shipping address:
|
|
{% if shipping_address.name %}
|
{{ shipping_address.name }}
|
{% endif %} {% if shipping_address.street %}
|
{{ shipping_address.street }}
|
{% endif %} {% if shipping_address.province or shipping_address.zip or shipping_address.city %}
|
{{ shipping_address.province }}, {{ shipping_address.city }} {{ shipping_address.zip }}
|
{% endif %} {% if shipping_address.country %}
|
{{ shipping_address.country }}
|
{% endif %}
|
{% endif %} {% if billing_address %}
|
Billing address
|
|
{% if billing_address.name %}
|
{{ billing_address.name }}
|
{% endif %} {% if billing_address.street %}
|
{{ billing_address.street }}
|
{% endif %} {% if billing_address.city or billing_address.province or billing_address.zip %}
|
{{ billing_address.province }}, {{ billing_address.city }} {{ billing_address.zip }}
|
{% endif %} {% if billing_address.country %}
|
{{ billing_address.country }}
|
{% endif %}
|
{% endif %} {% for line in line_items %}
|
{{ line.quantity }} x {{line.title }} for {{ line.price | money_with_currency }} each {% for discount in line.applied_discounts %} ( -{{ discount.amount | money_with_currency }} ){% endfor %}
|
{% endfor %}
|
Subtotal: {{ subtotal_price | money_with_currency }}
|
{% if discounts %}
|
Discount (code: {{ discounts.first.code }}): {{ discounts_savings | money_with_currency }}
|
{% endif %}
{% for tax_line in tax_lines %}
|
{{ tax_line.title }} : {{ tax_line.price | money_with_currency }}
|
{% endfor %}
{% if requires_shipping %}
|
Shipping: {{ shipping_price | money_with_currency }}
|
{% endif %}
|
Total : {{ total_price | money_with_currency }}
|
|
|