Company “Sirena-travel” informs that from November 27, 2015 to the complex "Sirena-travel" GDS installed the software for automated passengers notification service about the changes in the schedule.
Notification will be sent to the email addresses of customers, provided during the order proceeding. There is an option to on/off this functionality for each carrier separately. The option of events notification is enabled by adding additional entries to a table inventory_settings to the field message_type='e-mail' and field initial_status=10 (or 0 if sending is not required).
An example of a query that adds the required entries to all events of already customized company, using the same templateas for SMS.
INSERT into inventory_settings(company,event,event_subtype,message_type,initial_status,event_replace,notify_time,template_id)
select company,event,event_subtype,'e-mail',10,event_replace,notify_time,template_id
from inventory_settings
where company = 'NN' and message_type is null;
The development tested by the specialists of CJSC "Sirena-travel" and has no information security risk, loss or compromise of personal data.