Add educator leave management and working time accounts

This commit is contained in:
t.indorf
2026-10-07 15:25:55 +02:00
parent ec3f4f933d
commit 043fed2e46
19 changed files with 5631 additions and 200 deletions
+10
View File
@@ -12,6 +12,7 @@ import {
ClipboardList,
Stethoscope,
Megaphone,
Clock3,
} from "lucide-react";
import { NavItem } from "@/components/ui/nav-item";
@@ -19,6 +20,14 @@ import { NavItem } from "@/components/ui/nav-item";
import { UserRole } from "@prisma/client";
const navItems = [
{
section: "Heute",
href: "/dashboard/personal",
label: "Personal & Arbeitszeit",
icon: Clock3,
exact: false,
allowedRoles: [UserRole.ADMIN, UserRole.ERZIEHER],
},
{
section: "Heute",
href: "/dashboard",
@@ -33,6 +42,7 @@ const navItems = [
icon: CalendarCheck2,
exact: true,
badge: "4",
allowedRoles: [UserRole.ADMIN, UserRole.KOORDINATOR, UserRole.ELTERN],
},
{
section: "Heute",