notification settings and mail

This commit is contained in:
2026-08-14 07:54:17 +02:00
parent 41c4838dab
commit 1dbb93b139
4 changed files with 462 additions and 8 deletions
@@ -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("