diff --git a/make_post_sell/templates/invoice.j2 b/make_post_sell/templates/invoice.j2 index ed2a3d1..1193def 100644 --- a/make_post_sell/templates/invoice.j2 +++ b/make_post_sell/templates/invoice.j2 @@ -4,9 +4,31 @@
Customer Name: {{ invoice.user.name }}
Date: {{ invoice.human_created_timestamp }}
-Total: ${{ '%0.2f' % invoice.total }}
+ + +Subtotal: ${{ '%0.2f' % (invoice.subtotal_in_cents / 100) }}
+ + {% if invoice.coupon_redemptions %} ++ {{ redemption.coupon.code }}: {{ redemption.coupon.description }} +
+ {% endfor %} +Total Discounts: -${{ '%0.2f' % (invoice.discount_amount_in_cents / 100) }}
+ {% endif %} + + {% if invoice.handling_cost_in_cents %} +Handling Cost: ${{ '%0.2f' % (invoice.handling_cost_in_cents / 100) }}
+ {% endif %} + +Total: ${{ '%0.2f' % invoice.total }}
+Shipping/Pickup: {{ invoice.handling_option }}
-Handling Cost: ${{ '%0.2f' % ((invoice.handling_cost_in_cents or 0) / 100) }}
{% if invoice.delivery_address %}Delivery Address: {{ invoice.delivery_address }}
{% endif %}