diff --git a/pinaxcon/templates/registrasion/_invoice_details.html b/pinaxcon/templates/registrasion/_invoice_details.html deleted file mode 100644 index cfd18cbb823a6542d218161badbff2331b859ce6..0000000000000000000000000000000000000000 --- a/pinaxcon/templates/registrasion/_invoice_details.html +++ /dev/null @@ -1,57 +0,0 @@ -{% load registrasion_tags %} - -

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.total_price }}
TOTAL${{ invoice.value }}
- - - - - - - - - - - -
Total payments:${{ invoice.total_payments }}
Balance due:${{ invoice.balance_due }}
- -{% if invoice.paymentbase_set.all %} -

Payments received

- {% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %} -{% endif %} diff --git a/pinaxcon/templates/registrasion/invoice.html b/pinaxcon/templates/registrasion/invoice.html deleted file mode 100644 index 39e45fdca5f8d454bd0bb933b49550506a91ebb3..0000000000000000000000000000000000000000 --- a/pinaxcon/templates/registrasion/invoice.html +++ /dev/null @@ -1,40 +0,0 @@ -{% 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 (dummy) - Pay this invoice with Stripe - {% if user.is_staff %} - Apply manual payment - {% endif %} -
-{% elif invoice.is_paid %} - {% if user.is_staff %} -
- {% if user.is_staff %} - Apply manual payment/refund - Refund by issuing credit note - {% endif %} -
- {% endif %} -{% endif %} - -
- -{% include "registrasion/_invoice_details.html" %} - -{% endblock %}