feat: Add all module frontend views

Views added:
- ShiftsView (Schichtplanung)
- PatrolsView (Wächterkontrolle)
- IncidentsView (Vorfallberichte)
- VehiclesView (Fahrzeuge)
- DocumentsView (Dokumente)
- CustomersView (Kunden/CRM)
- BillingView (Abrechnung)
- ObjectsView (enhanced with contacts, instructions)

Updated:
- Router with all new routes
- Sidebar with complete navigation
This commit is contained in:
2026-03-12 21:23:01 +00:00
parent e5d09e9c80
commit 3ca75cc4f2
39 changed files with 1272 additions and 700 deletions

View File

@@ -21,18 +21,34 @@ const navigation = computed(() => {
]
if (authStore.canManageUsers) {
items.push({ name: 'Mitarbeiter', href: '/users', icon: '👥' })
items.push(
{ name: 'Mitarbeiter', href: '/users', icon: '👥' },
{ name: 'Schichtplanung', href: '/shifts', icon: '📅' }
)
}
items.push(
{ name: 'Verfügbarkeit', href: '/availability', icon: '📅' },
{ name: 'Verfügbarkeit', href: '/availability', icon: '🗓️' },
{ name: 'Stundenzettel', href: '/timesheets', icon: '⏱️' },
{ name: 'Qualifikationen', href: '/qualifications', icon: '🎓' },
{ name: 'Objekte', href: '/objects', icon: '🏢' },
{ name: 'Rundgänge', href: '/patrols', icon: '📍' },
{ name: 'Vorfälle', href: '/incidents', icon: '🚨' },
{ name: 'Dokumente', href: '/documents', icon: '📁' },
)
if (authStore.canManageUsers) {
items.push(
{ name: 'Fahrzeuge', href: '/vehicles', icon: '🚗' },
{ name: 'Kunden', href: '/customers', icon: '🤝' }
)
}
if (authStore.isChef) {
items.push({ name: 'Module', href: '/modules', icon: '⚙️' })
items.push(
{ name: 'Abrechnung', href: '/billing', icon: '💰' },
{ name: 'Module', href: '/modules', icon: '⚙️' }
)
}
items.push(