Feature/refahi register

This commit is contained in:
2025-02-05 11:50:43 +00:00
committed by AmirHossein Mahmoodi
parent 3bcedb43a2
commit 477c444340
38 changed files with 5407 additions and 232 deletions

View File

@@ -27,3 +27,4 @@ export const UPDATE_LOAN = BASE_URL + "/navgan/loan/update/";
export const GET_PROJECT_TITLE = BASE_URL + "/navgan_plans";
export const GET_ACTIVITY_LIST = BASE_URL + "/activity_types";
export const GET_PRIORITY_LIST = BASE_URL + "/activity_priorities";
export const SEND_LOAN_REQUEST_REFAHI = BASE_URL + "/refahi/loan/store";

View File

@@ -1,6 +1,7 @@
import SpaceDashboardIcon from "@mui/icons-material/SpaceDashboard";
import BookmarkAddedIcon from "@mui/icons-material/BookmarkAdded";
import DataSaverOnIcon from "@mui/icons-material/DataSaverOn";
import VolunteerActivismIcon from "@mui/icons-material/VolunteerActivism";
import DirectionsCarIcon from "@mui/icons-material/DirectionsCar";
const sidebarMenu = [
[
@@ -14,19 +15,30 @@ const sidebarMenu = [
permission: "all",
},
{
key: "sidebar.add-request-loan",
name: "sidebar.add-request-loan",
key: "sidebar.add-request-navgan-loan",
name: "sidebar.add-request-navgan-loan",
secondary: "secondary.navgan",
type: "page",
route: "/dashboard/navgan/add-request-loan",
icon: <DataSaverOnIcon sx={{ width: "inherit", height: "inherit" }} />,
icon: <DirectionsCarIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "can_request_navgan_loan",
},
{
key: "sidebar.add-request-refahi-loan",
name: "sidebar.add-request-refahi-loan",
secondary: "secondary.refahi",
type: "page",
route: "/dashboard/refahi/add-request-loan",
icon: <VolunteerActivismIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "can_request_refahi_loan",
},
{
key: "sidebar.followUp-loan",
name: "sidebar.followUp-loan",
type: "page",
route: "/dashboard/navgan/followUp-loan",
route: "/dashboard/followUp-loan",
icon: <BookmarkAddedIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "all",