@extends('admin::curd.preview') @section('heading') @stop @section('title') @stop @section('breadcrumb') @stop @section('entry') @stop @section('tools') @stop @section('content')

{{ ucfirst(@$accident_report->ref)}}

Ref Date

{{ @$accident_report->created_at!='0000-00-00'?@date('d M , Y',strtotime(@$accident_report->created_at)):'' }}

Asset

{{ ucfirst(@$accident_report->asset->name) }}

Vehicle Reg No

{{ ucfirst(@$accident_report->asset->vehicle_reg_np) }}

Driver

{{ ucfirst(@$accident_report->usedby->name) }}

Custodian

{{ ucfirst(@$accident_report->custodian->name) }}

Division

{{ ucfirst(@$accident_report->division->name) }}

Area

{{ ucfirst(@$accident_report->area) }}

City

{{ ucfirst(@$accident_report->city) }}

Damage Details

{{ ucfirst(@$accident_report->damagedetails) }}

Action Taken

{{ ucfirst(@$accident_report->action) }}

Claim Type

{{ ucfirst(@$accident_report->claim_type) }}

Accident Status & Date

{{ ucfirst(@$accident_report->accident_reports_status) }} - {{ @$accident_report->updated_at!='0000-00-00'?@date('d M , Y',strtotime(@$accident_report->updated_at)):'' }}

@if (!empty($accident_report->bar_code)) @endif
{!!QrCode::size(config('app.qrcode_size', 125))->generate(trans_url('admin/accident_report/accident_report/preview/'.$accident_report->getRouteKey()))!!}
{!! DNS1D::getBarcodeSVG(@$accident_report->bar_code, "C39",1,33); !!}
@if(!empty(@$assets)) @else @endif

Asset Details

Assets Values
Asset Id {{ @$assets->asset->ref }}
Asset Name {{ ucfirst(@$assets->asset->name) }}
Category {{ ucfirst(@$assets->asset->category->name)}}
Subcategory {{ ucfirst(@$assets->asset->subcategory->name) }}
Asset Group {{ ucfirst(@$assets->asset->group->name) }}
Company {{ ucfirst(@$assets->asset->company->name)}}
Division {{ ucfirst(@$assets->asset->division->name) }}
Custodian {{ ucfirst(@$assets->asset->custodian->name) }}
Supplier {{ ucfirst(@$assets->asset->supplier->name) }}

No Assets

@stop