fix(helpdesk): edge-to-edge table in cards, larger avatar, sort by urgency

- Remove card padding, table goes full-width inside card border
- Section title gets own padding + subtle background as card header
- Avatar inline size increased from 1.6rem to 2rem
- Sort agents by critical tickets first (most urgent on top),
  then by open tickets. Unassigned queue stays last.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 19:49:40 +02:00
parent 9e94456759
commit 3123b8aa77
2 changed files with 17 additions and 5 deletions

View File

@@ -1696,6 +1696,7 @@ class DebitorDetailService
];
}
// Sort: unassigned last, then critical_tickets desc, then open_tickets desc
usort($members, static function (array $a, array $b): int {
if ($a['support_user'] === '') {
return 1;
@@ -1704,6 +1705,10 @@ class DebitorDetailService
return -1;
}
if ($a['critical_tickets'] !== $b['critical_tickets']) {
return $b['critical_tickets'] <=> $a['critical_tickets'];
}
return $b['open_tickets'] <=> $a['open_tickets'];
});