Merge branch 'develop' into feature/violations_remove_operation_area
This commit is contained in:
@@ -110,7 +110,7 @@ export const pageMenu = [
|
||||
Subitems: [
|
||||
{
|
||||
id: "roadMissionsManagemnetRequests",
|
||||
label: "کارتابل",
|
||||
label: "درخواست کننده",
|
||||
icon: <ContactPageIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/operator",
|
||||
@@ -119,25 +119,36 @@ export const pageMenu = [
|
||||
"manage-request-portal-country",
|
||||
"manage-request-portal-province",
|
||||
"manage-request-portal-city",
|
||||
"manage-request-portal-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsManagemnetNaqlie",
|
||||
label: "نقلیه",
|
||||
label: "تایید کننده",
|
||||
type: "page",
|
||||
icon: <DirectionsBusIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
route: "/dashboard/road-missions/transportation",
|
||||
badges: [{ key: "mission.transportation" }],
|
||||
permissions: ["manage-transportation-unit"],
|
||||
permissions: [
|
||||
"manage-transportation-unit-city",
|
||||
"manage-transportation-unit-province",
|
||||
"manage-transportation-unit-country",
|
||||
"manage-transportation-unit-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsManagemnetControl",
|
||||
label: "کنترل",
|
||||
label: "کنترل تردد",
|
||||
type: "page",
|
||||
icon: <SupervisedUserCircleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
route: "/dashboard/road-missions/control",
|
||||
badges: [{ key: "mission.control" }],
|
||||
permissions: ["manage-control-unit"],
|
||||
permissions: [
|
||||
"manage-control-unit-province",
|
||||
"manage-control-unit-city",
|
||||
"manage-control-unit-country",
|
||||
"manage-control-unit-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsViolations",
|
||||
@@ -148,15 +159,15 @@ export const pageMenu = [
|
||||
// badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
permissions: ["all"],
|
||||
},
|
||||
// {
|
||||
// id: "roadMissionsReports",
|
||||
// label: "گزارشات",
|
||||
// type: "page",
|
||||
// route: "/dashboard/road-missions/reports",
|
||||
// icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
// // badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
// permissions: ["all"],
|
||||
// },
|
||||
{
|
||||
id: "roadMissionsReports",
|
||||
label: "گزارشات",
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/reports",
|
||||
icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
// badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
permissions: ["all"],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@ export const pageMenuDev = [
|
||||
Subitems: [
|
||||
{
|
||||
id: "roadMissionsManagemnetRequests",
|
||||
label: "کارتابل",
|
||||
label: "درخواست کننده",
|
||||
icon: <ContactPageIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/operator",
|
||||
@@ -118,25 +118,36 @@ export const pageMenuDev = [
|
||||
"manage-request-portal-country",
|
||||
"manage-request-portal-province",
|
||||
"manage-request-portal-city",
|
||||
"manage-request-portal-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsManagemnetNaqlie",
|
||||
label: "نقلیه",
|
||||
label: "تایید کننده",
|
||||
type: "page",
|
||||
icon: <DirectionsBusIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
route: "/dashboard/road-missions/transportation",
|
||||
badges: [{ key: "mission.transportation" }],
|
||||
permissions: ["manage-transportation-unit"],
|
||||
permissions: [
|
||||
"manage-transportation-unit-province",
|
||||
"manage-transportation-unit-city",
|
||||
"manage-transportation-unit-country",
|
||||
"manage-transportation-unit-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsManagemnetControl",
|
||||
label: "کنترل",
|
||||
label: "کنترل تردد",
|
||||
type: "page",
|
||||
icon: <SupervisedUserCircleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
route: "/dashboard/road-missions/control",
|
||||
badges: [{ key: "mission.control" }],
|
||||
permissions: ["manage-control-unit"],
|
||||
permissions: [
|
||||
"manage-control-unit-province",
|
||||
"manage-control-unit-city",
|
||||
"manage-control-unit-country",
|
||||
"manage-control-unit-station",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "roadMissionsViolations",
|
||||
@@ -147,15 +158,15 @@ export const pageMenuDev = [
|
||||
// badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
permissions: ["all"],
|
||||
},
|
||||
// {
|
||||
// id: "roadMissionsReports",
|
||||
// label: "گزارشات",
|
||||
// type: "page",
|
||||
// route: "/dashboard/road-missions/reports",
|
||||
// icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
// // badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
// permissions: ["all"],
|
||||
// },
|
||||
{
|
||||
id: "roadMissionsReports",
|
||||
label: "گزارشات",
|
||||
type: "page",
|
||||
route: "/dashboard/road-missions/reports",
|
||||
icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
// badges: [{ key: "mission.control" }], // TODO: add badge and permission
|
||||
permissions: ["all"],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ export const GET_FMS_DATA = api + "/api/v3/fms_vehicle/get_activity";
|
||||
export const GET_OTP_TOKEN = api + "/api/v3/otp/get_token";
|
||||
|
||||
export const GET_PROVINCE_ACTIVITY_REPORT = api + "/api/v3/road_patrols/report/country_activity";
|
||||
export const GET_CITY_ACTIVITY_REPORT = api + "/api/v3/road_patrols/report/province_activity";
|
||||
export const GET_CITY_ACTIVITY_REPORT = api + "/api/v3/missions/report/country_activity";
|
||||
export const EXPORT_COUNTRY_ROAD_PATROL_REPORTS = api + "/api/v3/road_patrols/report/country_activity_excel";
|
||||
export const EXPORT_PROVINCE_ROAD_PATROL_REPORTS = api + "/api/v3/road_patrols/report/province_activity_excel";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user