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

85 lines
3.6 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="7"
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="7"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="7"
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 style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">اداره
کل</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">
شهرستان</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">نام
محور</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">نوع
محور</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">عنوان
پروژه</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">درصد
پیشرفت کل پروژه</th>
<th style="background-color: #EBF1DE;border:1px solid black;text-align: center;font-weight: bold;">کد
یکتا</th>
</tr>
</thead>
<tbody>
@foreach ($roads as $road)
<tr>
<td style="border: 1px solid black;text-align:center;">{{$road->province_fa}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->city_fa}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->axis_name_fa}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->axis_type_fa}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->project_title}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->progress_project}}</td>
<td style="border: 1px solid black;text-align:center;">{{$road->unique_code}}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>