@extends('admin.layouts.app') @section('section')

All Inspections

{{-- Add User--}}
@foreach($userInspectee as $userIns) @endforeach
ID Inspection of user Categories Price Agent Status Action
{{$userIns->id}} {{$userIns->inspectee->name}} @foreach($userIns->inspectionDetails as $detail) @if ($detail->key == 'categories')

{{ $detail->value }}

@endif @endforeach
@foreach($userIns->inspectionDetails as $detail) @if ($detail->key == 'prices')

{{ $detail->value }}

@endif @endforeach
{{$userIns->userInspector == null ? '' : $userIns->userInspector->name}} {{$userIns->status}} Review @if($userIns->inspector_id !=null) Comments @endif
@endsection @section('script') @endsection