Added Teams
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 26s
Build and Push Docker Images / build-frontend (push) Successful in 1m7s

Minor Rework of Plantafel
This commit is contained in:
2026-04-14 21:17:05 +02:00
parent 6fcaf3f65c
commit 849e24092e
22 changed files with 773 additions and 81 deletions

View File

@@ -2897,6 +2897,12 @@ export const useDataStore = defineStore('data', () => {
inputType: "text",
sortable: true
},
{
key: "quick",
label: "Quick-Eintrag",
inputType: "bool",
sortable: true
},
{
key: "startDate",
label: "Start",
@@ -3044,6 +3050,56 @@ export const useDataStore = defineStore('data', () => {
],
showTabs: [{label: 'Informationen'},{label: 'Wiki'}]
},
teams: {
isArchivable: true,
label: "Teams",
labelSingle: "Team",
isStandardEntity: true,
redirect: true,
historyItemHolder: "team",
sortColumn: "name",
selectWithInformation: "*",
filters: [{
name: "Archivierte ausblenden",
default: true,
"filterFunction": function (row) {
if(!row.archived) {
return true
} else {
return false
}
}
}],
inputColumns: ["Allgemein"],
templateColumns: [
{
key: "name",
label: "Name",
required: true,
title: true,
inputType: "text",
inputColumn: "Allgemein",
sortable: true
},
{
key: "branch",
label: "Niederlassung",
inputType: "select",
inputColumn: "Allgemein",
selectDataType: "branches",
selectOptionAttribute: "name",
component: branch,
sortable: true
},
{
key: "description",
label: "Beschreibung",
inputType: "textarea",
inputColumn: "Allgemein"
}
],
showTabs: [{label: 'Informationen'},{label: 'Wiki'}]
},
workingtimes: {
isArchivable: true,
label: "Anwesenheiten",