logo

{{$business->business_name}}

{{$business->address}}
{{ $business->email_id }}    {{ $business->web_link }}    {{ $business->contact_no }}


Ins. No: {{$inspection->inspection_number}}

INSPECTION

Ins. Date: {{date('d-M-Y', strtotime($inspection->inspection_date))}}

Name : {{ $inspection->customer ? $inspection->customer->name : ''}}
Contact : {{$inspection->customer? $inspection->customer->contact_number : ''}}
Plate No. : {{ $inspection->customerVehicle->plate_number}}
Emirates : {{$inspection->customerVehicle->emirates}}
Customer TRN : {{$inspection->customer?->vat_number}}
Brand : {{$inspection->customerVehicle->vehicleBrand->vehicle_brand}}
VIN No. : {{$inspection->customerVehicle->vin_number}}
Model : {{$inspection->customerVehicle->vehicleModel ? $inspection->customerVehicle->vehicleModel->vehicle_model:' '}}
KM's In : {{$inspection->vehicle_km_in}}
Created By : {{$inspection->created_by}}

Description

@foreach($inspection->inspectionJobDescriptions as $inspection_job) @php $j++; @endphp @endforeach
{{$j}} {{$inspection_job->job_description}}
@if ($inspection->technician_remark)

Technician Remarks

{{$inspection->technician_remark}}

@endif @if(count($inspection->inspectionImages) > 0 )

INSPECTION REPORT

@foreach($inspection->inspectionImages as $row) @endforeach
Part Name image
{{$row->image_name}} @if($row->image) image @endif
@endif
@foreach($inspection_categories as $inspection_category) @php if(sizeof($inspection_category->inspectionSubCategories) == 0){ continue; } @endphp @foreach($inspection_category->inspectionSubCategories as $inspection_item) @endforeach
{{$inspection_category->inspection_category}} Ok Control Change Remarks
{{$inspection_item->inspection_name}} @if($inspection->inspectionDetails->where('inspection_sub_category_id', '=', $inspection_item->id)->where('checked_status', 'ok')->first()) @endif @if($inspection->inspectionDetails->where('inspection_sub_category_id', $inspection_item->id)->where('checked_status', 'control')->first()) @endif @if($inspection->inspectionDetails->where('inspection_sub_category_id', $inspection_item->id)->where('checked_status', 'change')->first()) @endif

{{ $inspection->inspectionDetails->where('inspection_sub_category_id','=', $inspection_item->id)->where('inspection_remark' ,'<>', '')->first()?->inspection_remark ?? ''}}

@endforeach
@if($inspection->print_car_image == 'yes' && $inspection->car_image_marker)
image
@endif