Merge pull request #23 from witelgroup/feature/DriverExcel

change accident cartable excel
This commit is contained in:
Amir Ghasempoor
2025-09-08 14:15:49 +03:30
committed by GitHub

View File

@@ -10,15 +10,15 @@
<table>
<thead>
<tr>
<th colspan="17" style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;text-align:center;">
<th colspan="19" 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="17" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;"></th>
<th colspan="19" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;"></th>
</tr>
<tr>
<th colspan="17" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">گزارش کلی خسارات وارده</th>
<th colspan="19" style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">گزارش کلی خسارات وارده</th>
</tr>
<tr>
@@ -34,6 +34,8 @@
<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>
<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>
@@ -57,6 +59,8 @@
<td style="border: 1px solid black;text-align: center;">{{$item->accident_type_fa}}</td>
<td style="border: 1px solid black;text-align: center;">{{Hekmatinasser\Verta\Verta::instance($item->accident_date)->format('Y/n/j')}} {{$item->accident_time}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->sum ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->driver_rate}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->driver_share_amount}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->final_amount ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->deposit_insurance_amount ?? 0}}</td>
<td style="border: 1px solid black;text-align: center;">{{$item->deposit_daghi_amount ?? 0}}</td>