change print form a

This commit is contained in:
AmirHossein Mahmoodi
2024-01-20 16:25:54 +03:30
parent dcc1694215
commit de7bb2e7cd
2 changed files with 14 additions and 15 deletions

View File

@@ -26,60 +26,60 @@ const Content = ({data}) => {
</Box> </Box>
<Stack> <Stack>
<table style={{ <table style={{
fontSize: '14px', fontSize: '12px',
textAlign: 'center', textAlign: 'center',
flexGrow: '1', flexGrow: '1',
fontFamily: 'Bnazanin', fontFamily: 'Bnazanin',
borderCollapse: 'collapse', borderCollapse: 'collapse',
border: '1px solid' border: '1px solid'
}}> }}>
<thead style={{background: '#f0f0f0'}}> <thead style={{background: '#f0f0f0', fontWeight: 'bold'}}>
<tr> <tr>
<th rowSpan={2} style={{border: '1px solid'}}>ردیف</th> <th rowSpan={2} style={{border: '1px solid'}}>ردیف</th>
<th rowSpan={2} style={{border: '1px solid'}}>نام متقاضی</th> <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'}}>رسته فعالیت</th>
<th colSpan={2} style={{border: '1px solid'}}>میزان تسهیلات مصوب<br/>(میلیارد ریال)</th> <th colSpan={2} style={{border: '1px solid'}}>میزان تسهیلات مصوب<br/>(میلیارد ریال)</th>
<th colSpan={5} style={{border: '1px solid'}}>وضعیت طرح</th> <th colSpan={5} style={{border: '1px solid'}}>وضعیت طرح</th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 75 transform: "rotate(270deg)", border: '1px solid', width: 60
}}>درصد }}>درصد
پیشرفت<br/>فیزیکی پیشرفت<br/>فیزیکی
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 75 transform: "rotate(270deg)", border: '1px solid', width: 60
}}>شهرستان }}>شهرستان
محل<br/>اجرا محل<br/>اجرا
</th> </th>
<th rowSpan={2} <th rowSpan={2}
style={{ style={{
transform: "rotate(270deg)", border: '1px solid', width: 75 transform: "rotate(270deg)", border: '1px solid', width: 60
}}>اشتغال<br/>تعهد شده }}>اشتغال<br/>تعهد شده
(نفر) (نفر)
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 80 transform: "rotate(270deg)", border: '1px solid', width: 65
}}>پیش بینی }}>پیش بینی
تاریخ<br/>بهره برداری پس<br/>از تاریخ<br/>بهره برداری پس<br/>از
اخذ تسهیلات اخذ تسهیلات
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 55 transform: "rotate(270deg)", border: '1px solid', width: 45
}}>بانک }}>بانک
عامل عامل
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 50 transform: "rotate(270deg)", border: '1px solid', width: 35
}}>نرخ سود }}>نرخ سود
(درصد) (درصد)
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 55 transform: "rotate(270deg)", border: '1px solid', width: 45
}}>دوره تنفس }}>دوره تنفس
(ماه) (ماه)
</th> </th>
<th rowSpan={2} style={{ <th rowSpan={2} style={{
transform: "rotate(270deg)", border: '1px solid', width: 75 transform: "rotate(270deg)", border: '1px solid', width: 65
}}>طول }}>طول
دوره<br/>بازپرداخت (ماه) دوره<br/>بازپرداخت (ماه)
</th> </th>
@@ -87,8 +87,8 @@ const Content = ({data}) => {
<tr> <tr>
<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', width: 75}}>در گردش</th>
<th style={{border: '1px solid'}}>ثابت</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'}}>توسعه</th>
<th style={{border: '1px solid'}}>فعال</th> <th style={{border: '1px solid'}}>فعال</th>

View File

@@ -42,8 +42,7 @@ const Items = ({data}) => {
<td style={{minHeight: 21, border: '1px solid'}}>{item ? ( <td style={{minHeight: 21, border: '1px solid'}}>{item ? (
<DoneIcon fontSize={'inherit'}/>) : (<>&nbsp;</>)}</td> <DoneIcon fontSize={'inherit'}/>) : (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td> <td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>
<td style={{minHeight: 21, border: '1px solid'}}>{item ? ( <td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>
<DoneIcon fontSize={'inherit'}/>) : (<>&nbsp;</>)}</td>
<td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td> <td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>
<td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td> <td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>
<td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td> <td style={{minHeight: 21, border: '1px solid'}}>&nbsp;</td>