From d5a898943344c0ff8d3716d1b58a126e1bc23d79 2016-08-21 23:30:21 From: Christopher Neugebauer Date: 2016-08-21 23:30:21 Subject: [PATCH] Adds invoice_created 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..eff895d20af2e919a930dd68c7bb155274f6fe08 --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_created/message.html @@ -0,0 +1,19 @@ +{% load i18n %} + +

The following invoice was created as part of an attempt to register at (conference name). Please ensure it is paid by the due date.

+ +{% 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.

+{% 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..7b336861a01424b53b38e6011f3962118e7c750e --- /dev/null +++ b/pinaxcon/templates/registrasion/emails/invoice_created/subject.txt @@ -0,0 +1 @@ +{% load i18n %}{% blocktrans %}Invoice {{invoice.id}} from (CONFERENCE_COMPANY){% endblocktrans %}