@extends('admin.layout.app') @section('title', 'Inspection') @push('headerscript') @endpush @section('content')

Inspection

logo

{{ Helper::getBusinessData()->business_name }}

{{ Helper::getBusinessData()->address }}

{{ Helper::getBusinessData()->email_id }}       {{ Helper::getBusinessData()->web_link }}       {{ Helper::getBusinessData()->contact_no }}

Est : {{ $inspection->inspection_number }}

INSPECTION

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


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

Description

@foreach ($inspection->inspectionJobDescriptions as $inspection_job) @php $j++; @endphp @endforeach
{{ $j }} {{ $inspection_job->job_description }}
@php $i = 100; @endphp @foreach ($inspection_categories as $inspection_category) @php if (sizeof($inspection_category->inspectionSubCategories) == 0) { continue; } @endphp @foreach ($inspection_category->inspectionSubCategories as $inspection_item)
{{ $inspection_category->inspection_category }} Ok Control Change Remarks
{{ $inspection_item->inspection_name }}