Feature/update api

This commit is contained in:
2024-11-05 07:09:13 +00:00
committed by AmirHossein Mahmoodi
parent 56196f33c7
commit b64a1c93e9
83 changed files with 4066 additions and 3123 deletions

View File

@@ -21,11 +21,9 @@ export const GET_CITIES_LIST = BASE_URL + "/cities";
export const GET_EDUCATIONS_LIST = BASE_URL + "/education";
export const GET_OCCUPATIONS_LIST = BASE_URL + "/occupations";
export const GET_LOAN_DETAILS = BASE_URL + "/navgan/loan/details/"
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 GET_LOAN_DETAILS = BASE_URL + "/navgan/loan/details/";
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";

View File

@@ -1,21 +1,11 @@
import {Button, Link} from "@mui/material";
import { Button, Link } from "@mui/material";
const headerItems = [
<Button
key="help"
variant={'contained'}
color={'warning'}
size={'small'}
sx={{mx: 2}}>
<Link
color={'white'}
download
underline="none"
href={'/files/راهنمای-سامانه.pdf'}
>
<Button key="help" variant={"contained"} color={"warning"} size={"small"} sx={{ mx: 2 }}>
<Link color={"white"} download underline="none" href={"/files/راهنمای-سامانه.pdf"}>
راهنمای سامانه
</Link>
</Button>
</Button>,
];
export default headerItems;

View File

@@ -1,14 +1,14 @@
import {FA_DATATABLE_LOCALIZATION} from "&/locales/fa/datatable";
import { FA_DATATABLE_LOCALIZATION } from "&/locales/fa/datatable";
const languageList = [
{
key: "fa",
dir: 'rtl',
dir: "rtl",
name: "فارسی",
fontFamily: `IRANSans, sans-serif`,
tableLocalization: FA_DATATABLE_LOCALIZATION,
chartLocalization: null
}
chartLocalization: null,
},
];
export default languageList;
export default languageList;

View File

@@ -9,27 +9,27 @@ const sidebarMenu = [
name: "sidebar.dashboard",
type: "page",
route: "/dashboard",
icon: <SpaceDashboardIcon sx={{width: 'inherit', height: 'inherit'}}/>,
icon: <SpaceDashboardIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "all"
permission: "all",
},
{
key: "sidebar.add-request-loan",
name: "sidebar.add-request-loan",
type: "page",
route: "/dashboard/navgan/add-request-loan",
icon: <DataSaverOnIcon sx={{width: 'inherit', height: 'inherit'}}/>,
icon: <DataSaverOnIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "can_request_navgan_loan"
permission: "can_request_navgan_loan",
},
{
key: "sidebar.followUp-loan",
name: "sidebar.followUp-loan",
type: "page",
route: "/dashboard/navgan/followUp-loan",
icon: <BookmarkAddedIcon sx={{width: 'inherit', height: 'inherit'}}/>,
icon: <BookmarkAddedIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permission: "all"
permission: "all",
},
],
];