My Shop

Invoice no. {{ order.id }}
{{ order.created|date:"M d, Y" }}

Bill to

{{ order.first_name }} {{ order.last_name }}
{{ order.email }}
{{ order.address }}
{{ order.postal_code }}, {{ order.city }}

Items bought

{% for item in order.items.all %} {% endfor %} {% if order.coupon %} {% endif %}
Product Price Quantity Cost
{{ item.product.name }} ${{ item.price }} {{ item.quantity }} ${{ item.get_cost }}
Subtotal ${{ order.get_total_cost_before_discount|floatformat:2 }}
"{{ order.coupon.code }}" coupon ({{ order.discount }}% off) - ${{ order.get_discount|floatformat:2 }}
Total ${{ order.get_total_cost|floatformat:2 }}
{% if order.paid %}Paid{% else %}Pending payment{% endif %}