INSPECTION SHEET

VEHICLE & INSPECTION SHEET DETAILS
SHEET NO. : {{$sheet_no}} CREATED BY. : {{$vehicle_inspection->createdBy}}
VEHICLE : {{$vehicle->registration_number}} CHASSIS NO. : {{$vehicle->chasis_number}}
MAKE : {{$vehicle->make}} MODEL : {{$vehicle->model}}
DRIVER : {{$vehicle->driverName}} PHONE NO. : {{$vehicle->getDriverNumber()}}
ODOMETER: {{$vehicle_inspection->odometer}}
@foreach($vehicle_inspection->driverComplaings as $inspection) {{dd($inspection->category->parameters)}} @foreach(array_chunk($inspection->category->parameters->toArray(),2) as $index=> $service) @if($service[1]['name']=='') @else @endif @endforeach @endforeach
ITEM
DESCRIPTION
STATUS
REMARKS
{{ strtoupper($inspection->getMaintenanceCategoryAttribute()) }} {{''}} {{''}}
{{++$index}} {{$service[0]['name']}} @if($service[0]['question_type'] == 'YES/NO')YES: NO:@else {{ '' }} @endif {{''}}
{{++$index}} {{$service[0]['name']}} @if($service[0]['question_type'] == 'YES/NO')YES: NO:@else {{ '' }} @endif {{''}}
{{++$index}} {{$service[1]['name']}} @if($service[1]['question_type'] == 'YES/NO')YES: NO:@else {{ '' }} @endif {{''}}

OKEY TO LOAD : REJECTED :

Remarks : .......................................................................................................
............................................................................................................ INSPECTED BY:{{ $inspector ? $inspector->employee_name.' '.$inspector->last_name : '..................' }}, Date : .......................... SIGNATURE {{ '.................................' }}