mirror of
https://github.com/itflow-org/itflow
synced 2026-11-19 02:47:26 +00:00
Add Skyetel text messaging with two-way ticket texting, text to ticket for contacts, Text reply on tickets, a Texts inbox for unmatched numbers, verification codes and spam (codes masked, limited to credential access, every reveal audited, wiped after a day), STOP/START/HELP handling, a text log with retry and cancel in Maintenance > Text Messages, the Text Messages cron job, and texts to clients about their tickets, visits, visit reminders and invoices with per-contact opt-in from the contact, by text or in the client portal, quiet hours, and new settings in Tickets and Notifications (database 3.6.0 and 3.6.1)
This commit is contained in:
@@ -13,6 +13,10 @@ function triggerCustomAction($trigger, $entity) {
|
||||
if ($trigger === 'invoice_pay' && function_exists('invoicePaidFollowUp')) {
|
||||
invoicePaidFollowUp($entity);
|
||||
}
|
||||
// ...and a text to the ticket's contact, when they agreed to texts (smsClientNotify(), functions/sms.php)
|
||||
if (in_array($trigger, ['ticket_create', 'ticket_resolve', 'ticket_schedule', 'ticket_unschedule'], true) && function_exists('smsClientNotify')) {
|
||||
smsClientNotify($trigger, $entity);
|
||||
}
|
||||
$original_dir = getcwd(); // Save
|
||||
|
||||
chdir(dirname(__FILE__));
|
||||
|
||||
Reference in New Issue
Block a user