AssetsAdm.com |
|||||||||
Vehicle Accident |
|||||||||
Date Range : | {{format_date($group['accident_date'][0])}} | @endif @if (!empty($group['accident_date'][1]))To : | {{format_date($group['accident_date'][1])}} | @endif||||||
Company : | {{ @Company::find(@$group['company_id'], 'company')->name }} | @endif @if (@$key == 'division_id') @php $count++; @endphpDivision : | {{ @Company::find(@$group['division_id'], 'division')->name }} | @endif @if (@$key == 'asset_id') @php $count++; @endphpVehicle : | {{ @Assets::find(@$group['asset_id'], 'asset')->name }} | @endif @if (@$key == 'claim_type') @php $count++; @endphpClaim Type : | {{ $group['claim_type']}} | @endif @if (@$key == 'accident_reports_status') @php $count++; @endphpStatus : | {{ $group['accident_reports_status']}} | @endif @if ($count % 2 == 0)
Summary View |
Report No. | Created Date | Accident Date | Accident Time | Vehicle | Claim Type | Status | Driver | Damage Amount | Area | City | Division |
---|---|---|---|---|---|---|---|---|---|---|---|
{{$accident_report->ref}} | {{ @$accident_report->created_at!='0000-00-00'?@date('d M , Y',strtotime($accident_report->created_at)):'' }} | {{ @$accident_report->accident_date!='0000-00-00'?@date('d M , Y',strtotime($accident_report->accident_date)):'' }} | {{$accident_report->accident_time}} | {{$accident_report->asset->name}} | {{$accident_report->claim_type}} | {{$accident_report->accident_reports_status}} | {{$accident_report->usedby_id}} | {{number_format($accident_report->damageamount,$accident_report->company->no_of_decimal_in_currency)}} | {{$accident_report->area}} | {{$accident_report->city}} | {{$accident_report->division_id}} |