implemented road missions taradod reports page
This commit is contained in:
@@ -33,6 +33,7 @@ import ContactPageIcon from "@mui/icons-material/ContactPage";
|
||||
import DirectionsBusIcon from "@mui/icons-material/DirectionsBus";
|
||||
import SupervisedUserCircleIcon from "@mui/icons-material/SupervisedUserCircle";
|
||||
import RemoveRoadIcon from "@mui/icons-material/RemoveRoad";
|
||||
import { ReportProblem, RvHookup } from "@mui/icons-material";
|
||||
|
||||
export const pageMenu = [
|
||||
{
|
||||
@@ -167,11 +168,31 @@ export const pageMenu = [
|
||||
{
|
||||
id: "roadMissionsReports",
|
||||
label: "گزارشات",
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/reports",
|
||||
type: "menu",
|
||||
icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
// badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
permissions: ["all"],
|
||||
hasSubitems: true,
|
||||
Subitems: [
|
||||
{
|
||||
id: "missionsReports",
|
||||
label: "ترددها",
|
||||
icon: <RvHookup sx={{ width: "inherit", height: "inherit" }} />,
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/reports/missionsReports",
|
||||
badges: [{ key: "mission.request_portal" }],
|
||||
permissions: ["all"],
|
||||
},
|
||||
{
|
||||
id: "violationsReports",
|
||||
label: "تخلفات",
|
||||
icon: <ReportProblem sx={{ width: "inherit", height: "inherit" }} />,
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/reports/violationsReports",
|
||||
badges: [{ key: "mission.request_portal" }],
|
||||
permissions: ["all"],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user