From f629654546a80443c9cc7d1eee9de619c24af3d0 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 2 Oct 2017 18:48:29 -0700 Subject: [PATCH] Invoice bits --- .../registrasion/dashboard_widget.html | 29 +++++++++++++++++++ .../registrasion/invoice/details.html | 2 +- .../registrasion/invoice/unpaid_notice.html | 11 +++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 pinaxcon/templates/registrasion/dashboard_widget.html create mode 100644 pinaxcon/templates/registrasion/invoice/unpaid_notice.html diff --git a/pinaxcon/templates/registrasion/dashboard_widget.html b/pinaxcon/templates/registrasion/dashboard_widget.html new file mode 100644 index 0000000..13387f0 --- /dev/null +++ b/pinaxcon/templates/registrasion/dashboard_widget.html @@ -0,0 +1,29 @@ +{% extends "registrasion/dashboard_widget_.html" %} + +{% comment %} + Blocks that you can override: + + - heading_actions + - heading + - panel_content + - available_credit + - invoices_heading + - invoice_item_prefix + +{% endcomment %} + +{% block heading %} + Tickets +{% endblock %} + +{% block invoices_heading %} + Statements & Receipts +{% endblock %} + +{% block invoice_item_prefix %} + {% if invoice.is_paid %} + Receipt + {% else %} + Statement + {% endif %} +{% endblock %} diff --git a/pinaxcon/templates/registrasion/invoice/details.html b/pinaxcon/templates/registrasion/invoice/details.html index 7213d38..886f514 100644 --- a/pinaxcon/templates/registrasion/invoice/details.html +++ b/pinaxcon/templates/registrasion/invoice/details.html @@ -37,7 +37,7 @@ {% block contact_info %}

Direct inquiries to spam@northbaypython.org

-

North Bay Python is a member project of Software Freedom Conservancy, a 501(c)(3) public charity registered in New York.

+

North Bay Python is run by North Bay and Bay Area locals, as a member project of Software Freedom Conservancy, a 501(c)(3) public charity registered in New York.

Mailing Address
diff --git a/pinaxcon/templates/registrasion/invoice/unpaid_notice.html b/pinaxcon/templates/registrasion/invoice/unpaid_notice.html new file mode 100644 index 0000000..11f71aa --- /dev/null +++ b/pinaxcon/templates/registrasion/invoice/unpaid_notice.html @@ -0,0 +1,11 @@ +

NOTICE: The below statement is automatically generated, and will be voided if you amend your registration before payment, or if discounts or products contained in the statement 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 %} +{% url "invoice" invoice.id invoice.user.attendee.access_code as invoice_url %} + +

You can send the following links to your accounts department to pay for your registration:

+ +