1
0

feat(helpdesk): rework handover tabs and assign flow

Tabs: replace open/closed with active (draft+in_progress+under_review)
and done (completed+archived) — records now appear in the correct tab

Create wizard assign mode: redirect to list with flash message after
assigning instead of opening edit page

i18n: add In progress / Done tab labels and wizard strings (de + en)

Nikita Soldatov note: user does not exist in DB — needs to be created
via admin user management

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
aminovfariz
2026-06-01 15:23:31 +02:00
parent 47a26d0ca6
commit 1caa198286
8 changed files with 45 additions and 23 deletions

View File

@@ -89,9 +89,9 @@ class HandoverRepository
if ($status !== '' && $status !== 'all') {
$where[] = 'h.status = ?';
$params[] = $status;
} elseif ($view === 'open') {
$where[] = "h.status NOT IN ('completed', 'archived')";
} elseif ($view === 'closed') {
} elseif ($view === 'active') {
$where[] = "h.status IN ('draft', 'in_progress', 'under_review')";
} elseif ($view === 'done') {
$where[] = "h.status IN ('completed', 'archived')";
}