Upload via GUI (290 Dateien)

This commit is contained in:
2026-10-23 17:22:24 +00:00
parent 80be774c3e
commit 41e3aca842
6 changed files with 789 additions and 3 deletions
+2 -1
View File
@@ -66,7 +66,7 @@ if ('serviceWorker' in navigator) {
[$__lcDeptSql, $__lcDeptParams] = dept_filter_sql(staff_department_ids($staff), 't.department_id');
$__lcSql = "SELECT COUNT(*) FROM tickets t WHERE t.source = 'chat' AND t.status != 'closed'
AND (SELECT tt.author_type FROM ticket_threads tt WHERE tt.ticket_id = t.id ORDER BY tt.created_at DESC, tt.id DESC LIMIT 1) = 'customer'"
. ($__lcDeptSql !== '' ? " AND $__lcDeptSql" : '');
. $__lcDeptSql; // enthält bereits das führende " AND " (dept_filter_sql)
$__lcStmt = get_db()->prepare($__lcSql);
$__lcStmt->execute($__lcDeptParams);
$__lcPending = (int) $__lcStmt->fetchColumn();
@@ -105,6 +105,7 @@ if ('serviceWorker' in navigator) {
<?php if (has_permission($staff, 'manage_email_addresses')): ?><a href="/staff/email_addresses.php" class="<?= $activePage==='email_addresses'?'active':'' ?>">E-Mail-Adressen</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_email_templates')): ?><a href="/staff/email_templates.php" class="<?= $activePage==='email_templates'?'active':'' ?>">E-Mail-Vorlagen</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_kb')): ?><a href="/staff/kb_manage.php" class="<?= $activePage==='kb'?'active':'' ?>">Wissensdatenbank</a><?php endif; ?>
<?php if (has_permission($staff, 'manage_assistant')): ?><a href="/staff/assistant.php" class="<?= $activePage==='assistant'?'active':'' ?>">Digitaler Assistent</a><?php endif; ?>
<?php if ($staff['role'] === 'admin'): ?><a href="/staff/plugins.php" class="<?= $activePage==='plugins'?'active':'' ?>">Plugins</a><?php endif; ?>
<span class="nav-group-label">Kunden</span>