Adds invoice_updated templates too

This commit is contained in:
Christopher Neugebauer 2016-08-21 17:55:59 +10:00
parent d5a8989433
commit e34347ecac
4 changed files with 6 additions and 3 deletions

View file

@ -1,12 +1,13 @@
{% load i18n %} {% load i18n %}
<p>The following invoice was created as part of an attempt to register at (conference name). Please ensure it is paid by the due date.</p>
{% if invoice.is_unpaid %} {% if invoice.is_unpaid %}
<p><strong>NOTICE:</strong> The below invoice is automatically generated, and will be voided <p><strong>NOTICE:</strong> 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 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 invoice become unavailable. The items and discounts are only reserved until
the invoice due time.</p> the invoice due time.</p>
<p>Please ensure this invoice is paid by the due date.</p>
{% endif %} {% endif %}
{% url "invoice" invoice.id invoice.user.attendee.access_code as access_url %} {% url "invoice" invoice.id invoice.user.attendee.access_code as access_url %}

View file

@ -1 +1 @@
{% load i18n %}{% blocktrans %}Invoice {{invoice.id}} from (CONFERENCE_COMPANY){% endblocktrans %} {% load i18n %}Invoice {{ invoice.id }} from (CONFERENCE_COMPANY)

View file

@ -0,0 +1 @@
{% include "registrasion/emails/invoice_created/message.html" %}

View file

@ -0,0 +1 @@
{% load i18n %}{{ invoice.get_status_display }} -- Invoice {{ invoice.id }} from (CONFERENCE_COMPANY)