Projektarten: Art beim Zuweisen und nach Repo-Anlage

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-09-30 17:47:02 +00:00
1 parent 8653756935
commit c16049d266
4 files changed
+92 -9

No files matched your search

+6
View File
@@ -55,3 +55,9 @@ export function openTicketsFor(tickets, customerId) {
(t) => t.customerId === customerId && t.status !== 'Closed' && t.status !== 'Cancelled'
)
}
// Art-Label fuer die Anzeige; leere Art = "Art fehlt"
export function kindLabelFor(kinds, key) {
if (!key) return 'Art fehlt'
return (kinds || []).find((k) => k.key === key)?.label || key
}