Add project-assignment admin pages and UI updates

Add new admin Project Assignment area with Client, End User, and Project Management pages and components (tables, Export buttons, lazy-loaded pages). Introduce FormProject for creating/editing projects and export utilities to download Excel for each module. Update task types: IEndUser now includes code and a status object. Clean up FormClient by removing unused imports and inline end-user modal usage. Make BadgeStatus robust to missing status values. Add "Project Assignment" entry to the sidebar and import FolderGit2.
This commit is contained in:
Ichsan Kurniawan
2026-05-06 18:34:38 +07:00
parent bbc2c7e3e2
commit 3eabe762bf
14 changed files with 1157 additions and 14 deletions
+21 -2
View File
@@ -1,4 +1,4 @@
import { LayoutDashboard, Settings, MonitorSmartphone, Database, ShieldAlert, FileText, Circle, ScanFace, MenuSquare, CalendarX2 } from 'lucide-react'
import { LayoutDashboard, Settings, MonitorSmartphone, Database, ShieldAlert, FileText, Circle, ScanFace, MenuSquare, CalendarX2, FolderGit2 } from 'lucide-react'
const SIDEBAR_MENU = [
{
@@ -106,10 +106,29 @@ const SIDEBAR_MENU = [
}
]
},
{
title: "Project Assignment",
Icon: <FolderGit2 size={18} />,
submenuId: 5,
submenuItems: [
{
title: "Client",
path: '/project-assignment/client'
},
{
title: "End User",
path: '/project-assignment/end-user'
},
{
title: "Project Management",
path: '/project-assignment/project-management'
},
]
},
{
title: "Information",
Icon: <ShieldAlert size={18} />,
submenuId: 5,
submenuId: 6,
submenuItems: [
{
title: "Master Status",