feat(helpdesk): enrich team ticket table with links, customer name, description, last activity

- Switch gateway from PBI_LV_Tickets to PBI_FP_Tickets to get
  Description and Company_Contact_Name fields
- Ticket number links to ticket detail page
- Customer column shows Company_Contact_Name with link to debitor detail
- Description column with text-overflow ellipsis
- Last activity column shows formatted date (was: age in hours)
- Backend provides last_activity ISO string and customer_name per ticket
- Table headers use i18n labels via data attributes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 19:29:02 +02:00
parent 8fd742141c
commit 98f703b231
5 changed files with 82 additions and 14 deletions

View File

@@ -202,10 +202,36 @@
.helpdesk-team-ticket-no {
font-variant-numeric: tabular-nums;
font-weight: 500;
white-space: nowrap;
}
.helpdesk-team-ticket-no a,
.helpdesk-team-ticket-table td a {
color: inherit;
text-decoration: none;
}
.helpdesk-team-ticket-no a:hover,
.helpdesk-team-ticket-table td a:hover {
color: var(--app-primary, #0d6efd);
text-decoration: underline;
}
.helpdesk-team-ticket-desc {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 20ch;
}
.helpdesk-team-ticket-date {
white-space: nowrap;
color: var(--app-muted-color);
}
/* Critical: only highlight the ticket number, not the entire row */
.helpdesk-team-ticket-critical .helpdesk-team-ticket-no {
.helpdesk-team-ticket-critical .helpdesk-team-ticket-no,
.helpdesk-team-ticket-critical .helpdesk-team-ticket-no a {
color: var(--app-warning, #f59e0b);
font-weight: 600;
}