diff --git a/csharp/App/Backend/Controller.cs b/csharp/App/Backend/Controller.cs index 832f84dda..6c4f5bee3 100644 --- a/csharp/App/Backend/Controller.cs +++ b/csharp/App/Backend/Controller.cs @@ -2542,7 +2542,8 @@ public class Controller : ControllerBase t.Id, t.Subject, t.Status, t.Priority, t.Category, t.SubCategory, t.InstallationId, t.CreatedAt, t.UpdatedAt, t.CustomSubCategory, t.CustomCategory, - installationName = installation?.Name ?? (t.InstallationId.HasValue ? $"#{t.InstallationId}" : "No installation") + installationName = installation?.Name ?? (t.InstallationId.HasValue ? $"#{t.InstallationId}" : "No installation"), + distributionPartner = installation?.DistributionPartner ?? "" }; }); diff --git a/typescript/frontend-marios2/src/content/dashboards/Tickets/TicketList.tsx b/typescript/frontend-marios2/src/content/dashboards/Tickets/TicketList.tsx index 36e6d1080..50a91e3dc 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Tickets/TicketList.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Tickets/TicketList.tsx @@ -167,6 +167,18 @@ function TicketList() { defaultMessage="Status" /> + + + + + + - - - + {ticket.installationName} + {ticket.distributionPartner} {intl.formatMessage(priorityKeys[ticket.priority] ?? { id: 'unknown', defaultMessage: '-' })} {ticket.customCategory @@ -224,7 +232,6 @@ function TicketList() { ? ` — ${ticket.customSubCategory}` : ''} - {ticket.installationName} {new Date(ticket.createdAt).toLocaleDateString()} diff --git a/typescript/frontend-marios2/src/interfaces/TicketTypes.tsx b/typescript/frontend-marios2/src/interfaces/TicketTypes.tsx index ddeb15536..ed205a2bd 100644 --- a/typescript/frontend-marios2/src/interfaces/TicketTypes.tsx +++ b/typescript/frontend-marios2/src/interfaces/TicketTypes.tsx @@ -264,6 +264,7 @@ export type TicketSummary = { createdAt: string; updatedAt: string; installationName: string; + distributionPartner: string; customSubCategory: string | null; customCategory: string | null; };