Merge branch 'bugfix/rename_rules' into 'develop'
rename navgan and refahi See merge request witel-front-end/loan-facilities/user-v2!21
This commit is contained in:
@@ -146,9 +146,9 @@
|
||||
"dashboard_page": "داشبورد",
|
||||
"go_to_add_request_loan": "درخواست تسهیلات نوسازی ناوگان",
|
||||
"request_navgan_loan": "درخواست تسهیلات ناوگان",
|
||||
"request_refahi_loan": "درخواست تسهیلات رفاهی",
|
||||
"navgan_loan_description": "درخواست تسهیلات جهت ناوگان سازمان راه",
|
||||
"refahi_loan_description": "درخواست تسهیلات رفاهی سازمان راه",
|
||||
"request_refahi_loan": "درخواست تسهیلات مجتمع های رفاهی",
|
||||
"navgan_loan_description": "درخواست تسهیلات جهت ناوگان",
|
||||
"refahi_loan_description": "درخواست تسهیلات رفاهی",
|
||||
"navgan_loan_request_page": "ثبت درخواست تسهیلات ناوگان",
|
||||
"refahi_loan_request_page": "ثبت درخواست تسهیلات رفاهی",
|
||||
"go_to_followUp-loan": "پیگیری وضعیت تسهیلات نوسازی ناوگان"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box, Chip, Divider, Grid, Skeleton, Stack, Typography } from "@mui/material";
|
||||
import { useEffect, useState } from "react";
|
||||
import { SHOW_LOAN_REQUEST_NAVGAN } from "@/core/data/apiRoutes";
|
||||
import { SHOW_LOAN_REQUEST_NAVGAN, SHOW_LOAN_REQUEST_REFAHI } from "@/core/data/apiRoutes";
|
||||
import RequestCard from "@/components/dashboard/followUp-loan/RequestCard";
|
||||
import { FullPageLayout, useRequest } from "@witel/webapp-builder";
|
||||
import DirectionsCarIcon from "@mui/icons-material/DirectionsCar";
|
||||
@@ -25,7 +25,7 @@ const LoanFollowUpComponent = () => {
|
||||
.catch(() => setIsLoadingNavgan(false));
|
||||
|
||||
setIsLoadingRefahi(true);
|
||||
requestServer("SHOW_LOAN_REQUEST_NAVGAN", "get", { auth: true })
|
||||
requestServer(SHOW_LOAN_REQUEST_REFAHI, "get", { auth: true })
|
||||
.then(({ data }) => {
|
||||
setRefahiFollowUpList(data.data);
|
||||
setIsLoadingRefahi(false);
|
||||
|
||||
@@ -121,10 +121,10 @@ const BuildRequestDetail = ({ state, handleBack, setFinishRefahiLoanRequest, dis
|
||||
notification: true,
|
||||
data: formData,
|
||||
});
|
||||
// setFinishRefahiLoanRequest(true);
|
||||
router.replace("/dashboard/followUp-loan");
|
||||
// router.replace("/dashboard/followUp-loan");
|
||||
getUser((data) => {
|
||||
changeUser(data);
|
||||
setFinishRefahiLoanRequest(true);
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error submitting request:", error);
|
||||
|
||||
@@ -117,10 +117,10 @@ const RestoreRequestDetail = ({ state, handleBack, dispatch, setFinishRefahiLoan
|
||||
notification: true,
|
||||
data: formData,
|
||||
});
|
||||
// setFinishRefahiLoanRequest(true);
|
||||
router.replace("/dashboard/followUp-loan");
|
||||
// router.replace("/dashboard/followUp-loan");
|
||||
getUser((data) => {
|
||||
changeUser(data);
|
||||
setFinishRefahiLoanRequest(true);
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Error submitting request:", error);
|
||||
|
||||
@@ -4,43 +4,7 @@ import DownloadIcon from "@mui/icons-material/Download";
|
||||
const LoanDescription = () => {
|
||||
return (
|
||||
<Box sx={{ flex: 1 }}>
|
||||
<Container sx={{ pt: 3 }} maxWidth="xl">
|
||||
<Stack alignItems={"center"} justifyContent={"center"}>
|
||||
<Typography sx={{ my: 3 }} variant={"h3"}>
|
||||
وام نوسازی ناوگان
|
||||
</Typography>
|
||||
</Stack>
|
||||
<Stack spacing={2}>
|
||||
<Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}>
|
||||
این وام براساس{" "}
|
||||
<Typography
|
||||
sx={{ color: "secondary.main" }}
|
||||
variant={"h5"}
|
||||
fontWeight={"bold"}
|
||||
component={"span"}
|
||||
>
|
||||
تبصره 18
|
||||
</Typography>{" "}
|
||||
قانون بودجه می باشد. در قانون بودجه این تبصره اینگونه بیان شده است: به منظور رشد و پیشرفت استان
|
||||
های کشور از طریق ارتقای بهره وری و توسعه، سرمایه گذاری ها، تکمیل واحدهای نیمه تمام و ظرفیت های
|
||||
خالی بنگاه های تولیدی بر پایه آمایش سرزمین و همچنین حمایت از طرح(پروژهای) دانش بنیان و پیشران و
|
||||
بسط و عدالت سرزمینی منابع زیر جهت ایجاد و افزایش تولید، اشتغال و کارآفرینی و ارتقای رشد اقتصادی
|
||||
اختصاص می یابد.
|
||||
</Typography>
|
||||
<Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}>
|
||||
در این راستا سازمان راهداری و حمل و نقل جاده ای به منظور بهبود کیفیت حمل و نقل بین شهری و افزایش
|
||||
ظرفیت ترابری اقدام به اعطای وام به{" "}
|
||||
<Typography
|
||||
sx={{ color: "secondary.main" }}
|
||||
variant={"h5"}
|
||||
fontWeight={"bold"}
|
||||
component={"span"}
|
||||
>
|
||||
ناوگان های مسافربری
|
||||
</Typography>{" "}
|
||||
برای بازسازی و تعمیرات میکند.
|
||||
</Typography>
|
||||
<Stack alignItems={"center"} justifyContent={"center"} sx={{ pt: 2 }}>
|
||||
<Stack alignItems={"center"} justifyContent={"center"} sx={{pt : 15}}>
|
||||
<Button variant="contained" startIcon={<DownloadIcon />}>
|
||||
<Link
|
||||
variant="subtitle1"
|
||||
@@ -54,8 +18,6 @@ const LoanDescription = () => {
|
||||
</Link>
|
||||
</Button>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Container>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ const LoanRegister = () => {
|
||||
<Grid item xs={12} md={6}>
|
||||
<Box sx={{ paddingBottom: 4 }}>
|
||||
<Typography sx={{ lineHeight: 2.7, textShadow: "1px 1px 2px black" }}>
|
||||
وام نوسازی ناوگان به هدف رشد و پیشرفت استان های کشور از طریق ارتقای بهره وری و توسعه
|
||||
این وام جهت رشد و ایجاد اشتغال در استان های کشور از طریق ارتقای بهره وری و توسعه
|
||||
اعطا میشود. برای استفاده از تسهیلات این سامانه و درخواست وام می بایست ابتدا وارد
|
||||
سامانه شوید.
|
||||
</Typography>
|
||||
|
||||
@@ -10,6 +10,7 @@ export const REGISTER = BASE_URL + "/register";
|
||||
export const GET_USER = BASE_URL + "/profile/info";
|
||||
export const GET_SIDEBAR_NOTIFICATION = "";
|
||||
export const SHOW_LOAN_REQUEST_NAVGAN = BASE_URL + "/navgan/loan/index";
|
||||
export const SHOW_LOAN_REQUEST_REFAHI = BASE_URL + "/refahi/loan/index";
|
||||
export const SEND_LOAN_REQUEST_NAVGAN = BASE_URL + "/navgan/loan/store";
|
||||
export const SHOW_LOAN_REQUEST_WELFARE = BASE_URL + "/refahi/loan/index";
|
||||
export const SEND_LOAN_REQUEST_WELFARE = BASE_URL + "/refahi/loan/store";
|
||||
|
||||
Reference in New Issue
Block a user