diff --git a/pinaxcon/templates/registrasion/invoice.html b/pinaxcon/templates/registrasion/invoice.html new file mode 100644 index 0000000000000000000000000000000000000000..4e8612af8ae36bd5475c52563593d1b72faf7e2f --- /dev/null +++ b/pinaxcon/templates/registrasion/invoice.html @@ -0,0 +1,81 @@ +{% extends "site_base.html" %} +{% load bootstrap %} +{% load registrasion_tags %} +{% block body %} + + +{% if invoice.is_unpaid %} +

NOTICE: The below invoice is automatically generated, and will be voided + if you amend your registration before payment, or if discounts or products contained in the + invoice become unavailable. The items and discounts are only reserved until + the invoice due time.

+ + {% url "invoice_access" invoice.user.attendee.access_code as access_url %} +

Your most recent unpaid invoice will be available at + {{ request.scheme }}://{{ request.get_host }}{{ access_url }} + You can give this URL to your accounts department to pay your registration.

+ +
+ Pay this invoice + {% if user.is_staff %} + Apply manual payment + {% endif %} +
+{% elif invoice.is_paid %} + {% if user.is_staff %} +
+ {% if user.is_staff %} + Apply manual payment/refund + {% endif %} +
+ {% endif %} +{% endif %} + +
+ +

Invoice

+ +{% with invoice_user=invoice.cart.user %} + +{% endwith %} + +

This invoice has been issued as a result of an application to attend (conference name).

+ + + + + + + + + + {% for line_item in invoice.lineitem_set.all %} + + + + + + + {% endfor %} + + + + + + +
DescriptionQuantityPrice/UnitTotal
{{ line_item.description }}{{ line_item.quantity }}${{ line_item.price }}${{ line_item.price|multiply:line_item.quantity }}
TOTAL${{ invoice.value }}
+ +{% if invoice.paymentbase_set.all %} +

Payments received

+{% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %} +{% endif %} + +{% endblock %}