|
|
|
Invoice summary
|
{% for line in line_items %}
|
{{ line.quantity }}x {{ line.title }} for {{ line.price | money_with_currency }} {% if line.applied_discounts.size > 0 %}(regularly {{ line.original_price | money_with_currency }}) {% endif %}each
|
{% endfor %}
|
Subtotal: {{ subtotal_price | money_with_currency }}{% if discounts %}
|
|
Discount{% if discounts.first.code %} ({{ discounts.first.code }}){% endif %}: - {{ discounts_amount | money_with_currency }}{% endif %}{% for tax_line in tax_lines %}
|
|
{{ tax_line.title }}: {{ tax_line.price | money_with_currency }}{% endfor %}{% if requires_shipping %}
|
|
{% if shipping_method %}Shipping: {{ shipping_price | money_with_currency }}{% else %}Shipping available upon checkout.{% endif %}{% endif %}
|
|
|
Amount due: {{ total_price | money_with_currency }}
|
|
{% 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 %}
|
|