recode and add editor config file
This commit is contained in:
@@ -14,55 +14,55 @@ export const GET_USER_ROUTE = BASE_URL + "/dashboard/profile/info";
|
||||
|
||||
//passenger office
|
||||
export const GET_PASSENGER_OFFICE =
|
||||
BASE_URL + "/dashboard/passenger_office_chief/show";
|
||||
BASE_URL + "/dashboard/passenger_office_chief/show";
|
||||
|
||||
export const CONFIRM_PASSENGER_OFFICE =
|
||||
BASE_URL + "/dashboard/passenger_office_chief/confirm";
|
||||
BASE_URL + "/dashboard/passenger_office_chief/confirm";
|
||||
|
||||
export const REJECT_PASSENGER_OFFICE =
|
||||
BASE_URL + "/dashboard/passenger_office_chief/reject";
|
||||
BASE_URL + "/dashboard/passenger_office_chief/reject";
|
||||
//passenger office
|
||||
|
||||
//passenger boss
|
||||
export const GET_PASSENGER_BOSS =
|
||||
BASE_URL + "/dashboard/province_working_group/show";
|
||||
BASE_URL + "/dashboard/province_working_group/show";
|
||||
|
||||
export const CONFIRM_PASSENGER_BOSS =
|
||||
BASE_URL + "/dashboard/province_working_group/confirm";
|
||||
BASE_URL + "/dashboard/province_working_group/confirm";
|
||||
|
||||
export const REJECT_PASSENGER_BOSS =
|
||||
BASE_URL + "/dashboard/province_working_group/reject";
|
||||
BASE_URL + "/dashboard/province_working_group/reject";
|
||||
//passenger boss
|
||||
|
||||
//transportation assistance
|
||||
export const GET_TRANSPORTATION_ASSISTANCE =
|
||||
BASE_URL + "/dashboard/transportation_assistant/show";
|
||||
BASE_URL + "/dashboard/transportation_assistant/show";
|
||||
|
||||
export const CONFIRM_TRANSPORTATION_ASSISTANCE =
|
||||
BASE_URL + "/dashboard/transportation_assistant/confirm";
|
||||
BASE_URL + "/dashboard/transportation_assistant/confirm";
|
||||
|
||||
export const REJECT_TRANSPORTATION_ASSISTANCE =
|
||||
BASE_URL + "/dashboard/transportation_assistant/reject";
|
||||
BASE_URL + "/dashboard/transportation_assistant/reject";
|
||||
//transportation assistance
|
||||
|
||||
//machinary office
|
||||
export const GET_MACHINARY_OFFICE =
|
||||
BASE_URL + "/dashboard/machinery_expert/show";
|
||||
BASE_URL + "/dashboard/machinery_expert/show";
|
||||
|
||||
export const CONFIRM_MACHINARY_OFFICE =
|
||||
BASE_URL + "/dashboard/machinery_expert/confirm";
|
||||
BASE_URL + "/dashboard/machinery_expert/confirm";
|
||||
|
||||
export const REJECT_MACHINARY_OFFICE =
|
||||
BASE_URL + "/dashboard/machinery_expert/reject";
|
||||
BASE_URL + "/dashboard/machinery_expert/reject";
|
||||
//passenger office
|
||||
|
||||
//province manager
|
||||
export const GET_PROVINCE_MANAGER =
|
||||
BASE_URL + "/dashboard/province_manager/show";
|
||||
BASE_URL + "/dashboard/province_manager/show";
|
||||
|
||||
export const CONFIRM_PROVINCE_MANAGER =
|
||||
BASE_URL + "/dashboard/province_manager/confirm";
|
||||
BASE_URL + "/dashboard/province_manager/confirm";
|
||||
|
||||
export const REJECT_PROVINCE_MANAGER =
|
||||
BASE_URL + "/dashboard/province_manager/reject";
|
||||
BASE_URL + "/dashboard/province_manager/reject";
|
||||
//province manager
|
||||
|
||||
@@ -2,18 +2,18 @@ import BorderColorIcon from "@mui/icons-material/BorderColor";
|
||||
import PasswordIcon from "@mui/icons-material/Password";
|
||||
|
||||
const headerProfileItems = [
|
||||
{
|
||||
key: 0,
|
||||
name: "header.edit_profile",
|
||||
route: "/dashboard/edit-profile",
|
||||
icon: <BorderColorIcon />,
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: "header.change_password",
|
||||
route: "/dashboard/change-password",
|
||||
icon: <PasswordIcon />,
|
||||
},
|
||||
{
|
||||
key: 0,
|
||||
name: "header.edit_profile",
|
||||
route: "/dashboard/edit-profile",
|
||||
icon: <BorderColorIcon/>,
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: "header.change_password",
|
||||
route: "/dashboard/change-password",
|
||||
icon: <PasswordIcon/>,
|
||||
},
|
||||
];
|
||||
|
||||
export default headerProfileItems;
|
||||
|
||||
@@ -6,58 +6,58 @@ import AssignmentIndIcon from "@mui/icons-material/AssignmentInd";
|
||||
import DesktopWindowsIcon from "@mui/icons-material/DesktopWindows";
|
||||
|
||||
const sidebarMenu = [
|
||||
[
|
||||
{
|
||||
key: "sidebar.dashboard",
|
||||
type: "page",
|
||||
route: "/dashboard",
|
||||
icon: <SpaceDashboardIcon />,
|
||||
selected: false,
|
||||
role: "all",
|
||||
},
|
||||
{
|
||||
key: "sidebar.passenger-office-chief",
|
||||
secondary: "secondary.passenger-office",
|
||||
type: "page",
|
||||
route: "/dashboard/passenger-office-chief",
|
||||
icon: <AirlineSeatReclineNormalIcon />,
|
||||
selected: false,
|
||||
role: "passenger_office_chief",
|
||||
},
|
||||
{
|
||||
key: "sidebar.machinary-expert",
|
||||
type: "page",
|
||||
route: "/dashboard/machinary-expert",
|
||||
icon: <DirectionsCarFilledIcon />,
|
||||
selected: false,
|
||||
role: "machinery_expert",
|
||||
},
|
||||
{
|
||||
key: "sidebar.passenger-boss",
|
||||
secondary: "secondary.passenger-boss",
|
||||
type: "page",
|
||||
route: "/dashboard/passenger-boss",
|
||||
icon: <AssignmentIndIcon />,
|
||||
selected: false,
|
||||
role: "passenger_office_chief",
|
||||
},
|
||||
{
|
||||
key: "sidebar.transportation-assistant",
|
||||
type: "page",
|
||||
route: "/dashboard/transportation-assistant",
|
||||
icon: <DirectionsRailwayIcon />,
|
||||
selected: false,
|
||||
role: "transportation_assistant",
|
||||
},
|
||||
{
|
||||
key: "sidebar.province-manager",
|
||||
type: "page",
|
||||
route: "/dashboard/province-manager",
|
||||
icon: <DesktopWindowsIcon />,
|
||||
selected: false,
|
||||
role: "province_manager",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
key: "sidebar.dashboard",
|
||||
type: "page",
|
||||
route: "/dashboard",
|
||||
icon: <SpaceDashboardIcon/>,
|
||||
selected: false,
|
||||
role: "all",
|
||||
},
|
||||
{
|
||||
key: "sidebar.passenger-office-chief",
|
||||
secondary: "secondary.passenger-office",
|
||||
type: "page",
|
||||
route: "/dashboard/passenger-office-chief",
|
||||
icon: <AirlineSeatReclineNormalIcon/>,
|
||||
selected: false,
|
||||
role: "passenger_office_chief",
|
||||
},
|
||||
{
|
||||
key: "sidebar.machinary-expert",
|
||||
type: "page",
|
||||
route: "/dashboard/machinary-expert",
|
||||
icon: <DirectionsCarFilledIcon/>,
|
||||
selected: false,
|
||||
role: "machinery_expert",
|
||||
},
|
||||
{
|
||||
key: "sidebar.passenger-boss",
|
||||
secondary: "secondary.passenger-boss",
|
||||
type: "page",
|
||||
route: "/dashboard/passenger-boss",
|
||||
icon: <AssignmentIndIcon/>,
|
||||
selected: false,
|
||||
role: "passenger_office_chief",
|
||||
},
|
||||
{
|
||||
key: "sidebar.transportation-assistant",
|
||||
type: "page",
|
||||
route: "/dashboard/transportation-assistant",
|
||||
icon: <DirectionsRailwayIcon/>,
|
||||
selected: false,
|
||||
role: "transportation_assistant",
|
||||
},
|
||||
{
|
||||
key: "sidebar.province-manager",
|
||||
type: "page",
|
||||
route: "/dashboard/province-manager",
|
||||
icon: <DesktopWindowsIcon/>,
|
||||
selected: false,
|
||||
role: "province_manager",
|
||||
},
|
||||
],
|
||||
];
|
||||
|
||||
export default sidebarMenu;
|
||||
|
||||
Reference in New Issue
Block a user