|
@@ -32,61 +32,237 @@ interface NavigationItem { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const navigationItems: NavigationItem[] = [ |
|
|
const navigationItems: NavigationItem[] = [ |
|
|
// { icon: <WorkHistory />, label: "User Workspace", path: "/home" }, |
|
|
|
|
|
{ |
|
|
{ |
|
|
icon: <Dashboard />, |
|
|
icon: <Dashboard />, |
|
|
label: "Dashboard", |
|
|
label: "Dashboard", |
|
|
path: "", |
|
|
path: "", |
|
|
children: [ |
|
|
children: [ |
|
|
|
|
|
// { |
|
|
|
|
|
// icon: <SummarizeIcon />, |
|
|
|
|
|
// label: "Project Financial Summary", |
|
|
|
|
|
// path: "/dashboard/ProjectFinancialSummary", |
|
|
|
|
|
// }, |
|
|
|
|
|
// { |
|
|
|
|
|
// icon: <PaymentsIcon />, |
|
|
|
|
|
// label: "Company / Team Cash Flow", |
|
|
|
|
|
// path: "/dashboard/CompanyTeamCashFlow", |
|
|
|
|
|
// }, |
|
|
|
|
|
// { |
|
|
|
|
|
// icon: <PaymentsIcon />, |
|
|
|
|
|
// label: "Project Cash Flow", |
|
|
|
|
|
// path: "/dashboard/ProjectCashFlow", |
|
|
|
|
|
// }, |
|
|
|
|
|
// { |
|
|
|
|
|
// icon: <AccountTreeIcon />, |
|
|
|
|
|
// label: "Project Status by Client", |
|
|
|
|
|
// path: "/dashboard/ProjectStatusByClient", |
|
|
|
|
|
// }, |
|
|
|
|
|
// { |
|
|
|
|
|
// icon: <PeopleIcon />, |
|
|
|
|
|
// label: "Staff Utilization", |
|
|
|
|
|
// path: "/dashboard/StaffUtilization", |
|
|
|
|
|
// }, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Raw Material", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Purchase Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Pick Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Cons. Pick Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Delivery Pick Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Warehouse", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Location Transfer Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "View item In-out And invertory Ledger", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Production", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Job Order", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
icon: <SummarizeIcon />, |
|
|
|
|
|
label: "Project Financial Summary", |
|
|
|
|
|
path: "/dashboard/ProjectFinancialSummary", |
|
|
|
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Job Order Traceablity ", |
|
|
|
|
|
path: "", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
icon: <PaymentsIcon />, |
|
|
|
|
|
label: "Company / Team Cash Flow", |
|
|
|
|
|
path: "/dashboard/CompanyTeamCashFlow", |
|
|
|
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Work Order", |
|
|
|
|
|
path: "", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
icon: <PaymentsIcon />, |
|
|
|
|
|
label: "Project Cash Flow", |
|
|
|
|
|
path: "/dashboard/ProjectCashFlow", |
|
|
|
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Work Order Traceablity ", |
|
|
|
|
|
path: "", |
|
|
}, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Quality Control Log", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
{ |
|
|
{ |
|
|
icon: <AccountTreeIcon />, |
|
|
|
|
|
label: "Project Status by Client", |
|
|
|
|
|
path: "/dashboard/ProjectStatusByClient", |
|
|
|
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Quality Control Log", |
|
|
|
|
|
path: "", |
|
|
}, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Delivery", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
{ |
|
|
{ |
|
|
icon: <PeopleIcon />, |
|
|
|
|
|
label: "Staff Utilization", |
|
|
|
|
|
path: "/dashboard/StaffUtilization", |
|
|
|
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Delivery Order", |
|
|
|
|
|
path: "", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
icon: <RequestQuote />, |
|
|
icon: <RequestQuote />, |
|
|
label: "Staff Reimbursement", |
|
|
|
|
|
path: "/staffReimbursement", |
|
|
|
|
|
|
|
|
label: "Report", |
|
|
|
|
|
path: "", |
|
|
children: [ |
|
|
children: [ |
|
|
{ |
|
|
{ |
|
|
icon: <RequestQuote />, |
|
|
icon: <RequestQuote />, |
|
|
label: "ClaimApproval", |
|
|
|
|
|
path: "/staffReimbursement/ClaimApproval", |
|
|
|
|
|
|
|
|
label: "report", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Recipe", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "FG Recipe", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "SFG Recipe", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Recipe", |
|
|
|
|
|
path: "", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Master Data", |
|
|
|
|
|
path: "", |
|
|
|
|
|
children: [ |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "User", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "User Group", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Material", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Maintain By-product", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Finished Goods", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Equipment Type", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Equipment", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Warehouse", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Supplier", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "Customer", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "QC Check Item", |
|
|
|
|
|
path: "/masterData/user", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
icon: <RequestQuote />, |
|
|
|
|
|
label: "QC Category", |
|
|
|
|
|
path: "/masterData/user", |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
icon: <RequestQuote />, |
|
|
icon: <RequestQuote />, |
|
|
label: "ClaimSummary", |
|
|
|
|
|
path: "/staffReimbursement/ClaimSummary", |
|
|
|
|
|
|
|
|
label: "QC Check Template", |
|
|
|
|
|
path: "/masterData/user", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
}, |
|
|
}, |
|
|
{ icon: <Assignment />, label: "Project Management", path: "/projects" }, |
|
|
|
|
|
{ icon: <Task />, label: "Task Template", path: "/tasks" }, |
|
|
|
|
|
{ icon: <Payments />, label: "Invoice", path: "/invoice" }, |
|
|
|
|
|
{ icon: <Analytics />, label: "Analysis Report", path: "/analytics" }, |
|
|
|
|
|
{ icon: <Settings />, label: "Setting", path: "/settings" }, |
|
|
|
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
const NavigationContent: React.FC = () => { |
|
|
const NavigationContent: React.FC = () => { |
|
|