Tasks und Vertragstyp fix #17
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 30s
Build and Push Docker Images / build-frontend (push) Successful in 1m8s

This commit is contained in:
2026-02-15 22:02:16 +01:00
parent 087ba1126e
commit 3f8ce5daf7
23 changed files with 1037 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ const _useDashboard = () => {
defineShortcuts({
'g-h': () => router.push('/'),
'g-a': () => router.push('/standardEntity/tasks'),
'g-a': () => router.push('/tasks'),
'g-d': () => router.push('/files'),
'g-k': () => router.push('/standardEntity/customers'),
'g-l': () => router.push('/standardEntity/vendors'),
@@ -31,4 +31,4 @@ const _useDashboard = () => {
}
}
export const useDashboard = createSharedComposable(_useDashboard)
export const useDashboard = createSharedComposable(_useDashboard)

View File

@@ -31,6 +31,18 @@ export const useRole = () => {
label: "Verträge erstellen",
parent: "contracts"
},
contracttypes: {
label: "Vertragstypen",
showToAllUsers: false
},
"contracttypes-viewAll": {
label: "Alle Vertragstypen einsehen",
parent: "contracttypes"
},
"contracttypes-create": {
label: "Vertragstypen erstellen",
parent: "contracttypes"
},
plants: {
label: "Objekte",
showToAllUsers: false
@@ -306,4 +318,4 @@ export const useRole = () => {
checkRight
}
}
}