{% extends "vendor/base.html" %} {% block vendor_content %}

Purchase Confirmation

Thank you for the order. You can view this invoice in "My Account" under the Billing section.
The order number is: {{ object.pk }}
Ordered on {{ object.created|date }}
{% for order_item in object.order_items.all %}
{{ order_item.name }}

Type: {{ order_item.offer.get_terms_display }}

Quantity: {{ order_item.quantity }}

${{ order_item.total }}
{% endfor %}

Summary

Subtotal ${{invoice.subtotal}}
Estimated Shipping ${{invoice.shipping}}
Estimated Tax ${{invoice.tax}}

Total Charge ${{invoice.total}}

Billing Address

{{ object.get_payment_billing_address }}

Payment Method

{% for payment in object.payments.all %} {% if payment.success == True %}

{{ payment.result.account_type }} ending {{ payment.result.account_number }}

{% endif %} {% endfor %}
{% endblock %}