fix(helpdesk): remove title line in team widgets, fix table columns and debitor links
- Hide section-title ::after line inside team widgets - Fixed table-layout with consistent column widths (12/25/43/20%) - Debitor link uses customer_no (route param), displays customer_name - Add Customer_No to OData select for debitor link resolution - Add customer_no to open_ticket_details backend structure Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -138,6 +138,10 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.helpdesk-team-widget > .helpdesk-support-section-title::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.helpdesk-team-widget > .helpdesk-team-ticket-table {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
@@ -179,8 +183,21 @@
|
||||
border-radius: var(--app-radius, 0.375rem);
|
||||
border-spacing: 0;
|
||||
overflow: hidden;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.helpdesk-team-ticket-table th:nth-child(1),
|
||||
.helpdesk-team-ticket-table td:nth-child(1) { width: 12%; }
|
||||
|
||||
.helpdesk-team-ticket-table th:nth-child(2),
|
||||
.helpdesk-team-ticket-table td:nth-child(2) { width: 25%; }
|
||||
|
||||
.helpdesk-team-ticket-table th:nth-child(3),
|
||||
.helpdesk-team-ticket-table td:nth-child(3) { width: 43%; }
|
||||
|
||||
.helpdesk-team-ticket-table th:nth-child(4),
|
||||
.helpdesk-team-ticket-table td:nth-child(4) { width: 20%; }
|
||||
|
||||
.helpdesk-team-ticket-table th {
|
||||
text-align: left;
|
||||
font-weight: 500;
|
||||
@@ -221,7 +238,6 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 20ch;
|
||||
}
|
||||
|
||||
.helpdesk-team-ticket-date {
|
||||
|
||||
@@ -81,11 +81,11 @@ if (container) {
|
||||
}
|
||||
tr.appendChild(noCell);
|
||||
|
||||
// Customer name as link to debitor
|
||||
// Customer name as link to debitor (link uses customer_no)
|
||||
const customerCell = h('td');
|
||||
if (debitorBaseUrl && t.customer_name) {
|
||||
const a = h('a', '', t.customer_name);
|
||||
a.href = debitorBaseUrl + encodeURIComponent(t.customer_name);
|
||||
if (debitorBaseUrl && t.customer_no) {
|
||||
const a = h('a', '', t.customer_name || t.customer_no);
|
||||
a.href = debitorBaseUrl + encodeURIComponent(t.customer_no);
|
||||
customerCell.appendChild(a);
|
||||
} else {
|
||||
customerCell.textContent = t.customer_name || '—';
|
||||
|
||||
Reference in New Issue
Block a user