change form a , b

This commit is contained in:
AmirHossein Mahmoodi
2024-01-22 13:11:59 +03:30
parent 1a42334479
commit 55e6175395
4 changed files with 31 additions and 14 deletions

View File

@@ -10,6 +10,8 @@
"min": 1327,
"max": 1380
},
"interest_rate": "15.2",
"loan_repayment": "6",
"deadlines": {
"register": {
"date": {

View File

@@ -139,18 +139,23 @@ const Content = ({data}) => {
دستگاه اجرایی ذیربط و توضیحات ارائه شده در جلسه، طرحهای فوق الذکر را بررسی و جهت انجام مراحل بعدی
تایید نمود.</Typography>
</Box>
<Stack sx={{border: 1, borderTop: 0, px: 1, height: 120}} direction={'row'}>
<Typography sx={{flexGrow: 1, fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={14}
fontWeight={'bold'}>رئیس
دستگاه تخصصی ذیربط طرح</Typography>
<Typography sx={{flexGrow: 1, fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={14}
<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'}>مدیر کل تعاون، کار و رفاه اجتماعی</Typography>
<Typography sx={{flexGrow: 1, fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={14}
<Typography sx={{width: '12.5%', fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={12}
fontWeight={'bold'}>رئیس سازمان مدیریت و برنامه ریزی</Typography>
<Typography sx={{flexGrow: 1, fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={14}
fontWeight={'bold'}>مدیر کل امور اقتصادی و دارایی<br/>و دبیر کمیته</Typography>
<Typography sx={{flexGrow: 1, fontFamily: 'Bnazanin'}} textAlign={'center'} fontSize={14}
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'}>نهاد حمایتی<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>
</Stack>
</PrintablePage>

View File

@@ -1,7 +1,9 @@
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(() => {
@@ -53,9 +55,15 @@ const Items = ({data}) => {
<td style={{minHeight: 21, border: '1px solid'}}>{item?.vehicle_num || (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (<>کارآفرینی امید</>) : (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (<>15/2</>) : (<>&nbsp;</>)}</td>
<td style={{
minHeight: 21,
border: '1px solid'
}}>{item ? (<>{config.interest_rate}</>) : (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>{item?.tanafos_period || (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>{item ? (<>60</>) : (<>&nbsp;</>)}</td>
<td style={{
minHeight: 21,
border: '1px solid'
}}>{item ? (<>{config.loan_repayment}</>) : (<>&nbsp;</>)}</td>
</tr>))}
</>

View File

@@ -1,7 +1,9 @@
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,
@@ -182,7 +184,7 @@ const Content = ({data}) => {
<Typography fontSize={18}
sx={{fontFamily: 'Bnazanin'}}>{`نام بانک عامل: صندوق کارآفرینی امید`}</Typography>
<Typography fontSize={18}
sx={{fontFamily: 'Bnazanin'}}>{`نرخ سود (درصد): 15/3%`}</Typography>
sx={{fontFamily: 'Bnazanin'}}>{`نرخ سود (درصد): ${config.interest_rate}%`}</Typography>
<Stack direction={'row'} spacing={1}>
<Typography fontSize={18}
sx={{fontFamily: 'Bnazanin'}}>{`یارانه سود:`}</Typography>
@@ -211,7 +213,7 @@ const Content = ({data}) => {
<Typography fontSize={18}
sx={{fontFamily: 'Bnazanin'}}>{`دوره مشارکت (ماه): ..........`}</Typography>
<Typography fontSize={18}
sx={{fontFamily: 'Bnazanin'}}>{`دوره بازپرداخت (ماه): 60`}</Typography>
sx={{fontFamily: 'Bnazanin'}}>{`دوره بازپرداخت (ماه): ${config.loan_repayment}`}</Typography>
</Stack>
</Stack>
</Stack>