Files
backend/resources/views/excel/Receipt/City.blade.php

49 lines
2.7 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>
<table>
<thead>
<tr>
<th colspan="6" style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;text-align:center;">
تاریخ دریافت گزارش: {{verta()->now()->format('Y/m/d H:i')}}
</th>
</tr>
<tr>
<th colspan="6" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;"></th>
</tr>
<tr>
<th colspan="6" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13;">
گزارش خسارات وارده به تفکیک شهرستان </th>
</tr>
<tr>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">نام استان</th>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">نام شهرستان</th>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">تعداد موارد خسارت ثبت شده</th>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">تعداد موراد وصول شده</th>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">جمع مبلغ هزینه خسارت</th>
<th style="border: 1px solid black;text-align: center;background-color: #EBF1DE;">جمع وصول شده</th>
</tr>
</thead>
<tbody>
@foreach ($data as $item)
<tr>
<td style="border: 1px solid black;text-align: center;">{{$item->province_fa}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->city_fa}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->all_items ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->tedad_vosol_shode ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->majmoee_vosol_shode ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->sum ?? 0}}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>