@extends('layouts.app') @section('title', 'Inspection #' . $inspection->id) @section('content')

Inspection #{{ $inspection->id }}

Print Report Back
Inspection Items
@foreach($inspection->items as $item) @endforeach
Item Result Notes
{{ $item->checklistItem->item_name }} {{ $item->getResultLabel() }} {{ $item->fail_description ?: '-' }}
@if($inspection->photos->isNotEmpty())
Photos
@foreach($inspection->photos as $photo) @endforeach
@endif @if($inspection->notes)
Notes
{{ $inspection->notes }}
@endif
Inspection Details

Date:
{{ $inspection->inspection_date->format('M d, Y H:i:s') }}

Status:
{{ $inspection->getStatusLabel() }}

Equipment Information

Name:
{{ $inspection->equipment->name }}

Tag ID:
{{ $inspection->equipment->tag_id }}

Location:
{{ $inspection->equipment->location }}

Type:
{{ $inspection->equipment->getTypeLabel() }}

Checklist

Title:
{{ $inspection->checklist->title }}

@endsection