mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-06 22:26:27 +00:00
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:
+21
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user