notification settings and mail
This commit is contained in:
@@ -77,6 +77,7 @@ $getRecipients = $pdo->prepare("
|
||||
AND e.auth_user_id IS NOT NULL
|
||||
AND au.email IS NOT NULL
|
||||
AND au.email != ''
|
||||
AND au.notify_email = 1
|
||||
");
|
||||
|
||||
// Also get employees from assigned departments
|
||||
@@ -93,6 +94,7 @@ $getDeptRecipients = $pdo->prepare("
|
||||
AND e.auth_user_id IS NOT NULL
|
||||
AND au.email IS NOT NULL
|
||||
AND au.email != ''
|
||||
AND au.notify_email = 1
|
||||
");
|
||||
|
||||
$checkSent = $pdo->prepare("
|
||||
|
||||
Reference in New Issue
Block a user