Files
backend/resources/views/excel/Village/summaryAccidentPerformanceProject.blade.php

115 lines
5.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>جمع بندی راه روستایی - پروژه</title>
<style>
table,
th,
td {
border: 1px solid black;
}
</style>
</head>
<body dir="rtl" style="text-align: center;">
<table>
<thead>
<tr>
<th colspan="11"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{verta()->now()->format('Y/m/d H:i')}}
</th>
</tr>
<tr>
<th colspan="11"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="11"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13;">
@if ($fromFa == null)
گزارش کارکرد ساخت راه های روستایی
@else
گزارش کارکرد ساخت راه های روستایی از تاریخ
{{verta($fromFa)->format('Y/n/j')}}
تا
تاریخ
{{verta($toFa)->format('Y/n/j')}}
@endif
</th>
</tr>
<tr>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">اداره
کل</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">شهرستان
</th>
<th rowspan="2"
style="font-weight: bold;background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight:bold;">
نوع محور</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">نام
محور</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">عنوان
پروژه</th>
<th colspan="4"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">نوع
عملیات</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">تغییر
درصد پیشرفت فیزیکی</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align:center;border:1px solid black;font-weight:bold;">کد یکتا
</th>
</tr>
<tr>
<th style="background-color: #C4D79B;text-align:center; border:1px solid black;font-wight:bold;">عملیات
خاکی و زیرسازی
(کیلومتر)</th>
<th style="background-color: #C4D79B;text-align:center; border:1px solid black;font-wight:bold;">روسازی
(کیلومتر)</th>
<th style="background-color: #C4D79B;text-align:center; border:1px solid black;font-wight:bold;">ابنیه
فنی
(دستگاه)</th>
<th style="background-color: #C4D79B;text-align:center; border:1px solid black;font-wight:bold;">آسفالت
(کیلومتر)</th>
</tr>
</thead>
<tbody>
@foreach ($array as $item)
<tr>
<td style="text-align: center;border:1px solid black;">{{$item->province_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->city_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->axis_type_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->axis_name_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->project_title}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->KhakiDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->RosaziDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{round($item->AbneyehDone) ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->AsphaltDone ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->progress_project ?? '0'}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->unique_code ?? '0'}}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>