From 2cda70ed44ed2bdef392bc442d82e2fda9a0315f 2016-08-21 23:30:39 From: Christopher Neugebauer Date: 2016-08-21 23:30:39 Subject: [PATCH] Merge branch 'invoice_templates' --- diff --git a/pinaxcon/templates/registrasion/emails/invoice_created/message.html b/pinaxcon/templates/registrasion/emails/invoice_created/message.html new file mode 100644 index 0000000000000000000000000000000000000000..bef331929857b3bfa078f45fdf10f3fb10eb6247 --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_created/message.html @@ -0,0 +1,20 @@ +{% load i18n %} + +{% 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.

+ +

Please ensure this invoice is paid by the due date.

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

This invoice is available at http://{{ current_site }}{{ access_url }} -- + You can give this URL to your accounts department to pay your registration. +

+ +
+ +{% include "registrasion/_invoice_details.html" %} diff --git a/pinaxcon/templates/registrasion/emails/invoice_created/subject.txt b/pinaxcon/templates/registrasion/emails/invoice_created/subject.txt new file mode 100644 index 0000000000000000000000000000000000000000..e5fa82a8d20da77e149eaefe7f3607000f8808e7 --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_created/subject.txt @@ -0,0 +1 @@ +{% load i18n %}Invoice {{ invoice.id }} from (CONFERENCE_COMPANY) diff --git a/pinaxcon/templates/registrasion/emails/invoice_updated/message.html b/pinaxcon/templates/registrasion/emails/invoice_updated/message.html new file mode 100644 index 0000000000000000000000000000000000000000..aa59ddd6dc7f12d35ff6b3630beb442f1fd472c2 --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_updated/message.html @@ -0,0 +1 @@ +{% include "registrasion/emails/invoice_created/message.html" %} diff --git a/pinaxcon/templates/registrasion/emails/invoice_updated/subject.txt b/pinaxcon/templates/registrasion/emails/invoice_updated/subject.txt new file mode 100644 index 0000000000000000000000000000000000000000..b8512914d358805bba0109aac58256c9cc5d4cc0 --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_updated/subject.txt @@ -0,0 +1 @@ +{% load i18n %}{{ invoice.get_status_display }} -- Invoice {{ invoice.id }} from (CONFERENCE_COMPANY)