Upload via GUI (278 Dateien)
This commit is contained in:
@@ -502,6 +502,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$agentName = '';
|
||||
foreach ($agents as $a) { if ($a['id'] == $assignedTo) $agentName = $a['name']; }
|
||||
log_activity($pdo, $ticket['id'], $staff['id'], "Mitarbeiter zugewiesen: {$agentName}");
|
||||
fcm_notify_assignment($ticket, (int) $assignedTo, (int) $staff['id']); // Push auf die Android-App des neuen Bearbeiters
|
||||
} elseif ($assignedTo === null && !empty($ticket['assigned_staff_id'])) {
|
||||
log_activity($pdo, $ticket['id'], $staff['id'], 'Zuweisung entfernt');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user