delete useless files
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import PriceField from "@/core/components/PriceField";
|
||||
import SelectBox from "@/core/components/SelectBox";
|
||||
import UploadSystem from "@/core/components/UploadSystem";
|
||||
import { CONFIRM_PASSENGER_BOSS } from "@/core/data/apiRoutes";
|
||||
import useNotification from "@/lib/app/hooks/useNotification";
|
||||
import useRequest from "@/lib/app/hooks/useRequest";
|
||||
import { Button, DialogActions, DialogContent, FormHelperText, Stack, TextField, Typography } from "@mui/material";
|
||||
import { useFormik } from "formik";
|
||||
import { useTranslations } from "next-intl";
|
||||
import { CONFIRM_PASSENGER_BOSS } from "@/core/data/apiRoutes";
|
||||
import { useState } from "react";
|
||||
import PriceField from "@/core/components/PriceField";
|
||||
import * as Yup from "yup";
|
||||
import SelectBox from "@/core/components/SelectBox";
|
||||
import { useConfig } from "@/lib/app/hooks/useConfig";
|
||||
|
||||
const vehicle_amount = {
|
||||
اتوبوس: 7000,
|
||||
@@ -24,7 +23,6 @@ const ConfirmContent = ({ rowId, mutate, setOpenConfirmDialog, vehicle_type }) =
|
||||
const [showExpertAddIcon, setShowExpertAddIcon] = useState(true);
|
||||
const requestServer = useRequest({ auth: true, notification: false });
|
||||
const { update_notification } = useNotification();
|
||||
const { config } = useConfig();
|
||||
|
||||
const validationSchema = Yup.object().shape({
|
||||
approved_amount: Yup.mixed()
|
||||
@@ -121,7 +119,7 @@ const ConfirmContent = ({ rowId, mutate, setOpenConfirmDialog, vehicle_type }) =
|
||||
mutate();
|
||||
update_notification();
|
||||
})
|
||||
.catch(() => {})
|
||||
.catch(() => { })
|
||||
.finally(() => {
|
||||
setSubmitting(false);
|
||||
});
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
import PrintablePage from "@/core/components/PrintablePage";
|
||||
import {Box, Grid, Stack, Typography} from "@mui/material";
|
||||
|
||||
const Content = ({data}) => {
|
||||
return (
|
||||
<>
|
||||
<PrintablePage key={data.id} header={true} footer={true}>
|
||||
<Box sx={{mt: 6}}>
|
||||
<Typography
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin',
|
||||
fontWeight: 'bold',
|
||||
fontSize: '1.2rem',
|
||||
textAlign: 'center'
|
||||
}}> {'فرم صورتجلسه تعیین مبلغ نهایی اعتبار'} </Typography>
|
||||
</Box>
|
||||
<Box textAlign={'justify'} sx={{lineHeight: '1.8', mt: 2}}>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', pl: 4}}> {'با توجه به نامه شماره'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>35482</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'مورخ'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>1402/08/20</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'معاون محترم برنامه ریزی سازمان راهداری و حمل و نقل جاده ای در خصوص تسهیلات بند (الف) تبصره (18) قانون بودجه سال'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>1402</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'موضوع بازسازی ناوگان اتوبوس و مینی بوس و نیز تصویب آن درشورای برنامه ریزی و توسعه استان'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>تهران</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'و نامه شماره'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>35482</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'مورخ'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>1402/08/20</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'اداره کل راهداری و حمل و نقل جاده ای'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>تهران</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'در خصوص استفاده از ظرفیت انجمن های صنفی رانندگان در تاریخ'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>1402/08/20</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'از ناوگان اتوبوس/مینی بوس به شماره پلاک انتظامی'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>25پ4582</Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin'}}> {'و شماره هوشمند ناوگان'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>5875698725</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'به مالکیت آقای'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>امیرحسین محمودی</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'با کد ملی'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>0311318897</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'و شماره تماس'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>09120630655</Typography>
|
||||
<Typography component={'span'} sx={{fontFamily: 'Bnazanin'}}> {'ساکن شهرستان'} </Typography>
|
||||
<Typography component={'span'}
|
||||
sx={{fontFamily: 'Bnazanin', fontWeight: 'bold'}}>تهران</Typography>
|
||||
<Typography
|
||||
sx={{fontFamily: 'Bnazanin'}}
|
||||
component={'span'}> {'در جلسه مطرح شد که نتیجه آن به شرح ذیل مورد تایید می باشد.'} </Typography>
|
||||
</Box>
|
||||
<Box sx={{border: 1, borderRadius: 1, mt: 3, p: 2}}>
|
||||
<Typography textAlign={'justify'}
|
||||
sx={{fontFamily: 'Bnazanin'}}> {'با توجه به گزارش واصله از اداره ماشین آلات (نامه در پیوست موجود می باشد) جهت بازسازی ناوگان مذکور مبلغ .............................................. ریال معادل .............................................. تومان مورد تایید می باشد.'} </Typography>
|
||||
</Box>
|
||||
<Grid container columns={4} sx={{border: 1, borderRadius: 1, mt: 3}}>
|
||||
<Grid item xs={1} sx={{borderRight: 1, aspectRatio: '3 / 1'}}>
|
||||
<Stack alignItems={'center'}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>رئیس انجمن</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderRight: 1, aspectRatio: '3 / 1'}}>
|
||||
<Stack alignItems={'center'}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>رئیس اداره مسافر</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderRight: 1, aspectRatio: '3 / 1'}}>
|
||||
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{aspectRatio: '3 / 1'}}>
|
||||
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderRight: 1, borderTop: 1, aspectRatio: '2 / 1'}}>
|
||||
<Stack alignItems={'center'} justifyContent={'center'} sx={{height: '100%'}}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>امضاء</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderRight: 1, borderTop: 1, aspectRatio: '2 / 1'}}>
|
||||
<Stack alignItems={'center'} justifyContent={'center'} sx={{height: '100%'}}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>امضاء</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderRight: 1, borderTop: 1, aspectRatio: '2 / 1'}}>
|
||||
<Stack alignItems={'center'} justifyContent={'center'} sx={{height: '100%'}}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>امضاء</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
<Grid item xs={1} sx={{borderTop: 1, aspectRatio: '2 / 1'}}>
|
||||
<Stack alignItems={'center'} justifyContent={'center'} sx={{height: '100%'}}>
|
||||
<Typography variant={'caption'} sx={{fontFamily: 'Bnazanin'}}>امضاء</Typography>
|
||||
</Stack>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</PrintablePage>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default Content
|
||||
@@ -1,60 +0,0 @@
|
||||
import {useEffect, useState} from "react";
|
||||
import CenterLayout from "@/layouts/CenterLayout";
|
||||
import {useTranslations} from "next-intl";
|
||||
import {Stack, Typography} from "@mui/material";
|
||||
import Content from "@/components/dashboard/passenger-boss/Prints/final-credit-amount/Content";
|
||||
|
||||
const FinalCreditAmountComponent = () => {
|
||||
const t = useTranslations()
|
||||
const [data, setData] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [isNotData, setIsNotData] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
if (sessionStorage.getItem('final-credit-amount-print') === null) {
|
||||
setLoading(false)
|
||||
setIsNotData(true)
|
||||
sessionStorage.setItem('final-credit-amount-print', 'seen')
|
||||
} else if (sessionStorage.getItem('final-credit-amount-print') === 'seen') {
|
||||
setLoading(false)
|
||||
setData(null)
|
||||
setIsNotData(true)
|
||||
} else if (data) {
|
||||
setLoading(false)
|
||||
sessionStorage.setItem('final-credit-amount-print', 'seen')
|
||||
setIsNotData(false)
|
||||
} else {
|
||||
setLoading(true)
|
||||
setData(JSON.parse(sessionStorage.getItem('final-credit-amount-print')))
|
||||
setIsNotData(true)
|
||||
}
|
||||
}, [data]);
|
||||
|
||||
return (
|
||||
<Stack sx={{bgcolor: '#efefef', width: isNotData ? '100%' : 'auto', height: isNotData ? '100%' : 'auto'}}>
|
||||
{loading ? (
|
||||
<CenterLayout>
|
||||
<Stack>
|
||||
<Typography variant={'h5'}>
|
||||
{t('print_loading')}
|
||||
</Typography>
|
||||
</Stack>
|
||||
</CenterLayout>
|
||||
) : !data ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : !data.length ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : data.map(item => <Content key={item.id} data={item}/>)}
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default FinalCreditAmountComponent
|
||||
@@ -1,165 +0,0 @@
|
||||
import PrintablePage from "@/core/components/PrintablePage";
|
||||
import {Box, Stack, Typography} from "@mui/material";
|
||||
import Items from "@/components/dashboard/passenger-boss/Prints/form-a/items";
|
||||
|
||||
const Content = ({data}) => {
|
||||
return (<>
|
||||
<PrintablePage header={false} footer={false} paperSx={{px: 1}} landscape={true}>
|
||||
<Box sx={{border: 1, borderBottom: 0}}>
|
||||
<Stack direction={'row'} alignItems={'flex-end'} sx={{borderBottom: 1, px: 1, bgcolor: '#f0f0f0'}}>
|
||||
<Stack sx={{flexGrow: 1}} alignItems={"center"}>
|
||||
<Typography fontSize={14} sx={{fontFamily: 'Bnazanin'}}>بسمه
|
||||
تعالی</Typography>
|
||||
<Typography fontSize={14} fontWeight={'bold'}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`فرم صورتجلسه بررسی درخواست تسهیلات موضوع بند (الف) تبصره (18) قانون بودجه سال 1401 کل کشور`}</Typography>
|
||||
</Stack>
|
||||
<Typography fontSize={14} fontWeight={'bold'}
|
||||
sx={{fontFamily: 'Bnazanin'}}>فرم الف</Typography>
|
||||
</Stack>
|
||||
<Box sx={{px: 1}}>
|
||||
<Typography fontSize={14} sx={{fontFamily: 'Bnazanin'}}>با سلام و احترام</Typography>
|
||||
<Typography fontSize={14} sx={{fontFamily: 'Bnazanin'}}>درخواست متقاضیان تسهیلات موضوع
|
||||
بند (الف) تبصره (18) قانون بودجه سال 1401 کل کشور با خلاصه اطلاعات به شرح ذیل مطابق با بند (الف)
|
||||
تبصره (18) قانون بودجه سال 1401 کل کشور، دستورالعمل های ذیربط و برنامه ابلاغی وزارت
|
||||
متبوع و سایر مقررات مرتبط مورد بررسی و ارزیابی قرار گرفته و تایید می گردد.</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
<Stack>
|
||||
<table style={{
|
||||
fontSize: '12px',
|
||||
textAlign: 'center',
|
||||
flexGrow: '1',
|
||||
fontFamily: 'Bnazanin',
|
||||
borderCollapse: 'collapse',
|
||||
border: '1px solid'
|
||||
}}>
|
||||
<thead style={{background: '#f0f0f0', fontWeight: 'bold'}}>
|
||||
<tr>
|
||||
<th rowSpan={2} style={{border: '1px solid'}}>ردیف</th>
|
||||
<th rowSpan={2} style={{border: '1px solid'}}>نام متقاضی</th>
|
||||
<th rowSpan={2} style={{border: '1px solid', width: 100}}>عنوان طرح</th>
|
||||
<th colSpan={2} style={{border: '1px solid'}}>رسته فعالیت</th>
|
||||
<th colSpan={2} style={{border: '1px solid'}}>میزان تسهیلات مصوب<br/>(میلیارد ریال)</th>
|
||||
<th colSpan={5} style={{border: '1px solid'}}>وضعیت طرح</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 60
|
||||
}}>درصد
|
||||
پیشرفت<br/>فیزیکی
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 60
|
||||
}}>شهرستان
|
||||
محل<br/>اجرا
|
||||
</th>
|
||||
<th rowSpan={2}
|
||||
style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 60
|
||||
}}>اشتغال<br/>تعهد شده
|
||||
(نفر)
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 65
|
||||
}}>پیش بینی
|
||||
تاریخ<br/>بهره برداری پس<br/>از
|
||||
اخذ تسهیلات
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 45
|
||||
}}>بانک
|
||||
عامل
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 35
|
||||
}}>نرخ سود
|
||||
(درصد)
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 45
|
||||
}}>دوره تنفس
|
||||
(ماه)
|
||||
</th>
|
||||
<th rowSpan={2} style={{
|
||||
transform: "rotate(270deg)", border: '1px solid', width: 65
|
||||
}}>طول
|
||||
دوره<br/>بازپرداخت (ماه)
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style={{border: '1px solid'}}>تولیدی</th>
|
||||
<th style={{border: '1px solid'}}>خدماتی</th>
|
||||
<th style={{border: '1px solid', width: 75}}>در گردش</th>
|
||||
<th style={{border: '1px solid', width: 75}}>ثابت</th>
|
||||
<th style={{border: '1px solid'}}>جدید</th>
|
||||
<th style={{border: '1px solid'}}>توسعه</th>
|
||||
<th style={{border: '1px solid'}}>فعال</th>
|
||||
<th style={{border: '1px solid'}}>نیمه<br/>تمام</th>
|
||||
<th style={{border: '1px solid'}}>راکد</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><Items data={data}/></tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th style={{border: '1px solid'}} colSpan={3}>مجموع</th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
<th style={{border: '1px solid'}}></th>
|
||||
</tr>
|
||||
<tr style={{height: 60}}>
|
||||
<th style={{border: '1px solid', verticalAlign: 'top', textAlign: 'right', paddingRight: 8}}
|
||||
colSpan={10}>ملاحظات
|
||||
کمیته استانی:
|
||||
</th>
|
||||
<th style={{border: '1px solid'}} colSpan={10}>رئیس سازمان / مدیرکل
|
||||
............................... استان
|
||||
........................................
|
||||
</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</Stack>
|
||||
<Box sx={{border: 1, borderTop: 0, px: 1}}>
|
||||
<Typography fontSize={14} fontWeight={'bold'} sx={{fontFamily: 'Bnazanin'}}>با سلام و
|
||||
احترام</Typography>
|
||||
<Typography fontSize={14} fontWeight={'bold'} sx={{fontFamily: 'Bnazanin'}}>کمیته استانی موضوع
|
||||
دستورالعمل بند (الف) تبصره (18) قانون بودجه 1401 کل کشور با استناد به بررسی و تایید
|
||||
دستگاه اجرایی ذیربط و توضیحات ارائه شده در جلسه، طرحهای فوق الذکر را بررسی و جهت انجام مراحل بعدی
|
||||
تایید نمود.</Typography>
|
||||
</Box>
|
||||
<Stack sx={{border: 1, borderTop: 0, px: 1, height: 150}} spacing={2} direction={'row'}>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>نهاد حمایتی<br/>(..............................)</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>مدیر کل امور روستایی و شوراهای استانداری</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>مدیر دستگاه اجرایی</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>رئیس پارک علم و فناوری استان</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>مدیر کل تعاون، کار و رفاه اجتماعی</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>رئیس سازمان مدیریت و برنامه ریزی</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>مدیر کل امور اقتصادی و دارایی و دبیر کمیته</Typography>
|
||||
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
|
||||
fontWeight={'bold'}>معاون هماهنگی امور اقتصادی استانداری و رئیس کمیته</Typography>
|
||||
</Stack>
|
||||
|
||||
</PrintablePage>
|
||||
</>)
|
||||
}
|
||||
|
||||
export default Content
|
||||
@@ -1,62 +0,0 @@
|
||||
import {useTranslations} from "next-intl";
|
||||
import {useEffect, useState} from "react";
|
||||
import {Stack, Typography} from "@mui/material";
|
||||
import CenterLayout from "@/layouts/CenterLayout";
|
||||
import Content from "@/components/dashboard/passenger-boss/Prints/form-a/Content";
|
||||
|
||||
const FormAComponent = () => {
|
||||
const t = useTranslations()
|
||||
const [data, setData] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [isNotData, setIsNotData] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
if (sessionStorage.getItem('form-a-print') === null) {
|
||||
setLoading(false)
|
||||
setIsNotData(true)
|
||||
sessionStorage.setItem('form-a-print', 'seen')
|
||||
} else if (sessionStorage.getItem('form-a-print') === 'seen') {
|
||||
setLoading(false)
|
||||
setData(null)
|
||||
setIsNotData(true)
|
||||
} else if (data) {
|
||||
setLoading(false)
|
||||
sessionStorage.setItem('form-a-print', 'seen')
|
||||
setIsNotData(false)
|
||||
} else {
|
||||
setLoading(true)
|
||||
setData(JSON.parse(sessionStorage.getItem('form-a-print')))
|
||||
setIsNotData(true)
|
||||
}
|
||||
}, [data]);
|
||||
|
||||
return (
|
||||
<Stack sx={{bgcolor: '#efefef', width: isNotData ? '100%' : 'auto', height: isNotData ? '100%' : 'auto'}}>
|
||||
{loading ? (
|
||||
<CenterLayout>
|
||||
<Stack>
|
||||
<Typography variant={'h5'}>
|
||||
{t('print_loading')}
|
||||
</Typography>
|
||||
</Stack>
|
||||
</CenterLayout>
|
||||
) : !data ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : !data.length ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : data.map((item, index) => <Content key={index} data={item}/>)}
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default FormAComponent
|
||||
|
||||
// console.log(data)
|
||||
@@ -1,72 +0,0 @@
|
||||
import {useEffect, useState} from "react";
|
||||
import DoneIcon from '@mui/icons-material/Done';
|
||||
import {useConfig} from "@/lib/app/hooks/useConfig";
|
||||
|
||||
const Items = ({data}) => {
|
||||
const {config} = useConfig()
|
||||
const [result, setResult] = useState([])
|
||||
|
||||
useEffect(() => {
|
||||
let arr = []
|
||||
for (let i = 0; i < 6; i++) {
|
||||
if (data[i]) {
|
||||
let _item = {}
|
||||
_item.name = data[i].name
|
||||
_item.city_name = data[i].city_name
|
||||
_item.tanafos_period = data[i].tanafos_period
|
||||
switch (data[i].vehicle_type) {
|
||||
case 'اتوبوس':
|
||||
_item.vehicle_num = 4
|
||||
break;
|
||||
case 'مینی بوس':
|
||||
_item.vehicle_num = 2
|
||||
break;
|
||||
default:
|
||||
_item.vehicle_num = 0
|
||||
break;
|
||||
}
|
||||
arr.push(_item)
|
||||
|
||||
} else {
|
||||
arr.push(null)
|
||||
}
|
||||
}
|
||||
setResult(arr)
|
||||
}, []);
|
||||
|
||||
return (<>
|
||||
{result.map((item, index) => (<tr key={index}>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{index + 1}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item?.name || (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (<>بازسازی ناوگان
|
||||
مسافری</>) : (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (
|
||||
<DoneIcon fontSize={'inherit'}/>) : (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item?.city_name || (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item?.vehicle_num || (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}> </td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (<>کارآفرینی امید</>) : (<> </>)}</td>
|
||||
<td style={{
|
||||
minHeight: 21,
|
||||
border: '1px solid'
|
||||
}}>{item ? (<>{config.interest_rate}</>) : (<> </>)}</td>
|
||||
<td style={{minHeight: 21, border: '1px solid'}}>{item?.tanafos_period || (<> </>)}</td>
|
||||
<td style={{
|
||||
minHeight: 21,
|
||||
border: '1px solid'
|
||||
}}>{item ? (<>{config.loan_repayment}</>) : (<> </>)}</td>
|
||||
</tr>))}
|
||||
</>
|
||||
|
||||
)
|
||||
}
|
||||
export default Items
|
||||
@@ -1,464 +0,0 @@
|
||||
import PrintablePage from "@/core/components/PrintablePage";
|
||||
import {Box, Stack, Typography} from "@mui/material";
|
||||
import {useConfig} from "@/lib/app/hooks/useConfig";
|
||||
|
||||
const Content = ({data}) => {
|
||||
const {config} = useConfig()
|
||||
const varables = {
|
||||
name: data.name,
|
||||
national_code: data.national_id,
|
||||
co: '................',
|
||||
shenase_eqh: '................',
|
||||
modiramel: '................',
|
||||
province: data.province_name,
|
||||
city: data.city_name,
|
||||
mahalejra: '................',
|
||||
daftar: '................',
|
||||
post_code: data.postal_code,
|
||||
telephone: data.telephone_number,
|
||||
mobile: data.phone_number,
|
||||
tarh_name: 'بازسازی ناوگان مسافری',
|
||||
mojavez_type: '................',
|
||||
mojavez_number: '................',
|
||||
darkhasti_amount: '........................',
|
||||
darkhasti_amount_gardesh: '........................',
|
||||
darkhasti_amount_sabet: '........................',
|
||||
dore_tanafos: data.tanafos_period || '',
|
||||
dore_sakht: data.sakht_period || '',
|
||||
sarmaye_all: '.......................',
|
||||
bahrebardari: '.......................',
|
||||
sarane: '................',
|
||||
kol: '................',
|
||||
tahod_shode: '................',
|
||||
nafar: '................',
|
||||
|
||||
}
|
||||
return (<>
|
||||
<PrintablePage key={data.id} header={false} footer={false} paperSx={{px: 0.5}}>
|
||||
<Box
|
||||
sx={{border: 1, bgcolor: '#f0f0f0'}}>
|
||||
<Typography fontSize={14} fontWeight={'bold'} sx={{fontFamily: 'Bnazanin'}} textAlign={'center'}>
|
||||
{`فرم خلاصه اطلاعات تایید شده طرح متقاضی استفاده از تسهیلات موضوع بند (الف) تبصره (18) قانون بودجه سال 1401 کل کشور (فرم ب)`}
|
||||
</Typography>
|
||||
</Box>
|
||||
<Box sx={{mt: .5, border: 1, p: 0.5}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>1-</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 20}}>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نام متقاضی: ${varables.name}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`کد ملی: ${varables.national_code}`}</Typography>
|
||||
</Stack>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نام شرکت: ${varables.co}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`شناسه اقتصادی: ${varables.shenase_eqh}`}</Typography>
|
||||
</Stack>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نام مدیرعامل: ${varables.modiramel}`}</Typography>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{mt: .5, border: 1, p: 0.5}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>2-</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 20}}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`آدرس: استان: ${varables.province} شهرستان: ${varables.city} محل اجرای طرح: ${varables.mahalejra}`}</Typography>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`محل دفتر: ${varables.daftar}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`کد پستی: ${varables.post_code}`}</Typography>
|
||||
</Stack>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`شماره تماس: ${varables.telephone} شماره همراه: ${varables.mobile}`}</Typography>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{mt: .5, border: 1}}>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>3-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`عنوان طرح: ${varables.tarh_name}`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>4-</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 20}}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`توضیح مطابقت طرح با برنامه ملی (شیوه نامه) ابلاغ شده دستگاه و سند آمایش استان: `}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`مطابق با بند ................................ برنامه دستگاه اجرایی ذیربط می باشد.`}</Typography>
|
||||
<Stack sx={{mt: 1}} direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`مطابق با سند آمایش سرزمین و اولویتهای مربوط استان می باشد.`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>5-</Typography>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`اولویت مورد نظر (بر اساس موارد 6 و 7 دستورالعمل):`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>6-</Typography>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`زمینه فعالیت در بخش اقتصادی: حمل و نقل زیر بخش اقتصادی: ناوگان مسافری دستگاه اجرایی ذیربط: سازمان راهداری و حمل و نقل جاده ای`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>7-</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 20}}>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نوع مجوز: ${varables.mojavez_type}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`شماره و تاریخ مجوز: ${varables.mojavez_number}`}</Typography>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>8-</Typography>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نوع تسهیلات:`}</Typography>
|
||||
<Stack sx={{mt: 1}} direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`در گردش`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack sx={{mt: 1}} direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ثابت`}</Typography>
|
||||
<Box sx={{border: 2, bgcolor: '#000', width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>9-</Typography>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`میزان تسهیلات درخواستی (میلیون ریال): در گردش ${varables.darkhasti_amount_gardesh} ثابت ${varables.darkhasti_amount_sabet}`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>10-</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 5}}>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نام بانک عامل: صندوق کارآفرینی امید`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`نرخ سود (درصد): ${config.interest_rate}%`}</Typography>
|
||||
<Stack direction={'row'} spacing={1}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`یارانه سود:`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box sx={{border: 2, bgcolor: '#000', width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
<Stack direction={'row'} justifyContent={'space-between'}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`دوره تنفس (ماه): ${varables.dore_tanafos}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`دوره مشارکت (ماه): ${varables.dore_sakht / 30}`}</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`دوره بازپرداخت (ماه): ${config.loan_repayment}`}</Typography>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>11-</Typography>
|
||||
<Typography fontSize={16} sx={{fontFamily: 'Bnazanin'}}>آورده</Typography>
|
||||
<table style={{
|
||||
textAlign: 'center',
|
||||
flexGrow: '1',
|
||||
fontFamily: 'Bnazanin',
|
||||
borderCollapse: 'collapse',
|
||||
border: '1px solid'
|
||||
}}>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style={{border: '1px solid'}} rowSpan={2}>میزان آورده (میلیون ریال)</td>
|
||||
<td style={{border: '1px solid'}}>متقاضی</td>
|
||||
<td style={{border: '1px solid'}}>دستگاه</td>
|
||||
<td style={{border: '1px solid'}}>بانک عامل</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style={{border: '1px solid'}}> </td>
|
||||
<td style={{border: '1px solid'}}> </td>
|
||||
<td style={{border: '1px solid'}}> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>12-</Typography>
|
||||
<Typography fontSize={16} sx={{fontFamily: 'Bnazanin'}}>وضعیت طرح</Typography>
|
||||
<Stack sx={{flexGrow: 1, pr: 8}} direction={'row'} justifyContent={'space-between'}>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`جدید`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`توسعه ای`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`فعال`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`نیمه تمام`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`راکد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>13-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`میزان پیشرفت فیزیکی طرح قبل از درخواست تسهیلات:`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>14-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`پیش بینی تاریخ بهره برداری:`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>15-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`میزان سرمایه گذاری (میلیون ریال): کل ${varables.sarmaye_all} برآورد منابع مالی مورد نیاز جهت بهره برداری پروژه: ${varables.bahrebardari}`}</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>16-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`سابقه استفاده از تسهیلات تکلیفی بر اساس خود اظهاری متقاضی:`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Stack>
|
||||
<Stack direction={'row'} spacing={1}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`وضعیت بدهی ها بر اساس خود اظهاری متقاضی: مطالبات بانکی معقول:`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`بدهی مالیاتی:`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
<Stack direction={'row'} spacing={1}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`چک برگشتی`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`وثیقه (به جز طرح):`}</Typography>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`دارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Stack direction={'row'} alignItems={'center'} spacing={.5}>
|
||||
<Typography
|
||||
fontSize={16}
|
||||
sx={{
|
||||
fontFamily: 'Bnazanin'
|
||||
}}>{`ندارد`}</Typography>
|
||||
<Box
|
||||
sx={{border: 2, width: 15, height: 15}}></Box>
|
||||
</Stack>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>نوع وثیقه: ..............</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>بانک عامل دارای حساب:
|
||||
..................</Typography>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} spacing={2}>
|
||||
<Typography sx={{fontFamily: 'Bnazanin'}}>17-</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>اشتغال (نفر):</Typography>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>{`موجود: ${varables.nafar} تعهد شده: ${varables.tahod_shode} کل: ${varables.kol} هزینه سرانه ایجاد اشتغال: ${varables.sarane}`}</Typography>
|
||||
</Stack>
|
||||
<Typography fontSize={13}
|
||||
sx={{fontFamily: 'Bnazanin'}}>توجه: متغاضی استفاده از تسهیلات محقق اشتغال پیش بینی شده
|
||||
را متعهد شده و پس از دریافت تسهیلات اشتغال (با تایید بیمه تامین اجتماعی) صورت می
|
||||
پذیرد.</Typography>
|
||||
</Box>
|
||||
<Box sx={{p: 0.5, borderBottom: 1}}>
|
||||
<Stack direction={'row'} justifyContent={'flex-end'} sx={{pb: 9}}>
|
||||
<Typography fontSize={16}
|
||||
sx={{fontFamily: 'Bnazanin'}}>امضاء و مهر دستگاه اجرایی استان</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
</Box>
|
||||
</PrintablePage>
|
||||
</>)
|
||||
}
|
||||
|
||||
export default Content
|
||||
@@ -1,60 +0,0 @@
|
||||
import {useTranslations} from "next-intl";
|
||||
import {useEffect, useState} from "react";
|
||||
import {Stack, Typography} from "@mui/material";
|
||||
import CenterLayout from "@/layouts/CenterLayout";
|
||||
import Content from "@/components/dashboard/passenger-boss/Prints/form-b/Content";
|
||||
|
||||
const FormBComponent = () => {
|
||||
const t = useTranslations()
|
||||
const [data, setData] = useState(null)
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [isNotData, setIsNotData] = useState(true)
|
||||
|
||||
useEffect(() => {
|
||||
if (sessionStorage.getItem('form-b-print') === null) {
|
||||
setLoading(false)
|
||||
setIsNotData(true)
|
||||
sessionStorage.setItem('form-b-print', 'seen')
|
||||
} else if (sessionStorage.getItem('form-b-print') === 'seen') {
|
||||
setLoading(false)
|
||||
setData(null)
|
||||
setIsNotData(true)
|
||||
} else if (data) {
|
||||
setLoading(false)
|
||||
sessionStorage.setItem('form-b-print', 'seen')
|
||||
setIsNotData(false)
|
||||
} else {
|
||||
setLoading(true)
|
||||
setData(JSON.parse(sessionStorage.getItem('form-b-print')))
|
||||
setIsNotData(true)
|
||||
}
|
||||
}, [data]);
|
||||
|
||||
return (
|
||||
<Stack sx={{bgcolor: '#efefef', width: isNotData ? '100%' : 'auto', height: isNotData ? '100%' : 'auto'}}>
|
||||
{loading ? (
|
||||
<CenterLayout>
|
||||
<Stack>
|
||||
<Typography variant={'h5'}>
|
||||
{t('print_loading')}
|
||||
</Typography>
|
||||
</Stack>
|
||||
</CenterLayout>
|
||||
) : !data ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : !data.length ? (
|
||||
<CenterLayout>
|
||||
<Typography variant={'h5'}>
|
||||
{t('data_not_found')}
|
||||
</Typography>
|
||||
</CenterLayout>
|
||||
) : data.map(item => <Content key={item.id} data={item}/>)}
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default FormBComponent
|
||||
Reference in New Issue
Block a user