Files
backend/resources/views/axisReport/road-patrol.blade.php

63 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>
</head>
<body dir="rtl">
<table>
<thead>
<tr>
<th style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;" colspan="8"></th>
</tr>
<tr>
<th style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;" colspan="8">
گشت های راهداری و ترابری ثبت شده در محور
از تاریخ
{{verta($dateTo)->format('Y/n/j')}}
تا تاریخ
{{verta($dateFrom)->format('Y/n/j')}}
</th>
</tr>
<tr>
<th style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;" colspan="8"></th>
</tr>
<tr>
<th rowspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">اداره کل</th>
<th rowspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">کاربر ثبت کننده</th>
<th rowspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">تاریخ ثبت</th>
<th rowspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">تعداد اقدامات حین ماموریت</th>
<th colspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">موقعیت شروع گشت</th>
<th colspan="2" style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">موقعیت انتهای گشت </th>
</tr>
<tr>
<th style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">طول</th>
<th style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">عرض</th>
<th style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: bold;">طول</th>
<th style="border: 1px solid black;background-color: #eaf1dd;text-align: center;font-weight: 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['user']}}</td>
<td style="text-align: center;border:1px solid black;">{{$item['created_at_fa']}}</td>
<td style="text-align: center;border:1px solid black;">--</td>
<td style="text-align: center;border:1px solid black;">{{$item['start_lat']}}</td>
<td style="text-align: center;border:1px solid black;">{{$item['start_lng']}}</td>
<td style="text-align: center;border:1px solid black;">{{$item['end_lat']}}</td>
<td style="text-align: center;border:1px solid black;">{{$item['end_lng']}}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>