A more generic email template system that will make it possible to add new email types quickly in the future. This system will replace the current email settings, but offer the flexibility to add new email templates and rules without software changes.
Customer Events (a new screen) have been introduced to connect significant steps in the sales and administration process with the emails that will be sent.
Email templates are no longer associated specifically with an enquiry or registration.
Uses our default with override model:
A new Event Controller selects the best match of Customer Event from the Customer Event table based on the Customer Event type, Provider, Course Type and Title, and send all matching emails.
e.g.
If there is at least one entry for a Customer Event with a Provider and Type and Title send all email templates with those keys [Customer Event, Provider, Type, Title], and no others
If there is at least one entry for a Customer Event with a Provider and Type but no Title send all email templates with those keys [Customer Event, Provider, Type], and no others
If there is at least one entry for a Customer Event with a Provider and no Type or Title send all email templates with those keys, [Customer Event, Provider] and no others
If there is no Customer Event entry for a Customer Event with a Provider, Type or Title specified send all the email templates with no keys for that Customer Event