Add success notification emails.

Enable RevisionMixin for EventAuthorisation.

Add signal receivers for RIGS.

Expand RIGS into an explicitly defined app to support signals.
This commit is contained in:
Tom Price
2017-04-10 19:16:45 +01:00
parent cf11e8235f
commit 3b2aa02ae5
8 changed files with 76 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
Hi there,
Just to let you know your event N{{object.event.pk|stringformat:"05d"}} has been successfully authorised for {{object.amount}} by {{object.name}} as of {{object.last_edited_at}}.
{% if object.event.organisation and object.event.organisation.union_account %}{# internal #}
Your event is now fully booked and payment will be processed by the finance department automatically.
{% else %}{# external #}
Your event is now fully booked and our finance department will be contact to arrange payment.
{% endif %}
The TEC Rig Information Gathering System

View File

@@ -0,0 +1,5 @@
Hi {{object.event.mic.name}},
Just to let you know your event N{{object.event.pk|stringformat:"05d"}} has been successfully authorised for {{object.amount}} by {{object.name}} as of {{object.last_edited_at}}.
The TEC Rig Information Gathering System