@extends('layouts.app') @section('title', 'Housekeeping Inspection: ' . $inspection->reference_number) @section('content')
Back

{{ $inspection->reference_number }}

{{ $inspection->location }}

Edit

Inspection Information

Location
{{ $inspection->location }}
Inspection Date
{{ $inspection->inspection_date->format('M d, Y') }}
@if($inspection->department)
Department
{{ $inspection->department->name }}
@endif
Inspected By
{{ $inspection->inspectedBy->name ?? 'N/A' }}
@if($inspection->overall_rating)
Overall Rating
{{ ucfirst(str_replace('_', ' ', $inspection->overall_rating)) }}
@endif @if($inspection->score)
Score
{{ $inspection->score }}/100
@endif
Status
{{ ucfirst(str_replace('_', ' ', $inspection->status)) }}
@if($inspection->findings)
Findings
{{ $inspection->findings }}
@endif @if($inspection->recommendations)
Recommendations
{{ $inspection->recommendations }}
@endif @if($inspection->corrective_actions)
Corrective Actions
{{ $inspection->corrective_actions }}
@endif

Details

@if($inspection->follow_up_date)
Follow-up Date
{{ $inspection->follow_up_date->format('M d, Y') }}
@endif @if($inspection->followUpAssignee)
Follow-up Assigned To
{{ $inspection->followUpAssignee->name }}
@endif
Created Date
{{ $inspection->created_at->format('M d, Y') }}
@endsection