Feature/road safety cartable

This commit is contained in:
AmirHossein Mahmoodi
2025-04-27 12:07:17 +00:00
parent edd00e579b
commit 26ab36ee6f
40 changed files with 2164 additions and 257 deletions

View File

@@ -291,10 +291,31 @@ export const pageMenu = [
icon: <RouteIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: [
{ key: "safetyAndPrivacy.supervise_cnt" },
{ key: "safetyAndPrivacy.step_one", color: "warning" },
{ key: "safetyAndPrivacy.step_two", color: "error" },
],
Subitems: [
{
id: "safetyAndPrivacyManagmentSupervisor",
label: "ارزیابی",
type: "menu",
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: [{ key: "safetyAndPrivacy.supervise_cnt" }],
Subitems: [
{
id: "safetyAndPrivacyManagmentSupervisorCartable",
label: "کارتابل",
type: "page",
route: "/dashboard/road-safety/supervisor",
permissions: [
"show-safety-and-privacy-operator-cartable",
"show-safety-and-privacy-operator-cartable-province",
],
},
],
},
{
id: "safetyAndPrivacyManagmentOparation",
label: "عملیات",
@@ -311,11 +332,7 @@ export const pageMenu = [
label: "کارتابل",
type: "page",
route: "/dashboard/road-safety/operator",
permissions: [
"show-safety-and-privacy-operator-cartable",
"show-safety-and-privacy-operator-cartable-province",
"show-safety-and-privacy-operator-cartable-edarate-shahri",
],
permissions: ["show-safety-and-privacy-operator-cartable-edarate-shahri"],
},
],
},