add reserve_loan

This commit is contained in:
Yasiu1376
2024-02-07 17:13:34 +03:30
parent 4cd577a2dc
commit 30753bb227
10 changed files with 568 additions and 2 deletions

View File

@@ -73,6 +73,15 @@ export const REJECT_MACHINARY_OFFICE =
BASE_URL + "/dashboard/machinery_expert/reject";
export const EXPORT_MACHINARY_OFFICE =
BASE_URL + "/dashboard/machinery_expert/export";
export const GET_RESERVE_MACHINARY_LOAN =
BASE_URL + "/dashboard/machinery_expert/reserved/show";
export const RESERVE_MACHINARY_LOAN =
BASE_URL + "/dashboard/machinery_expert/reserve";
export const CANSEL_RESERVE_MACHINARY_LOAN =
BASE_URL + "/dashboard/machinery_expert/unreserved";
//machinary office
//commercial chief

View File

@@ -16,6 +16,7 @@ import AccessibilityIcon from '@mui/icons-material/Accessibility';
import AssessmentIcon from '@mui/icons-material/Assessment';
import SecurityIcon from '@mui/icons-material/Security';
import SettingsIcon from '@mui/icons-material/Settings';
import RepartitionIcon from '@mui/icons-material/Repartition';
const sidebarMenu = [
[
@@ -66,6 +67,16 @@ const sidebarMenu = [
selected: false,
permissions: ["manage_machinery_navgan"],
},
{
key: "sidebar.reserve-loan",
secondary: "secondary.navgan-province-manager",
name: "reserve_loan",
type: "page",
route: "/dashboard/reserve-loan",
icon: <RepartitionIcon sx={{width: 'inherit', height: 'inherit'}}/>,
selected: false,
permissions: ["manage_machinery_navgan"],
},
{
key: "sidebar.passenger-boss",
secondary: "secondary.navgan-province-manager",