@extends('layouts.app') @section('title', 'Investigation Details') @section('content')
Back to Incident

Investigation: {{ $incident->reference_number }}

{!! $investigation->getStatusBadge() !!} @if($investigation->status !== 'completed') Edit @endif

Investigation Facts

@if($investigation->what_happened)

What Happened?

{{ $investigation->what_happened }}

@endif @if($investigation->when_occurred)

When Did It Occur?

{{ $investigation->when_occurred }}

@endif @if($investigation->where_occurred)

Where Did It Occur?

{{ $investigation->where_occurred }}

@endif @if($investigation->who_involved)

Who Was Involved?

{{ $investigation->who_involved }}

@endif @if($investigation->how_occurred)

How Did It Occur?

{{ $investigation->how_occurred }}

@endif

Causes

@if($investigation->immediate_causes)

Immediate Causes

{{ $investigation->immediate_causes }}

@endif @if($investigation->contributing_factors)

Contributing Factors

{{ $investigation->contributing_factors }}

@endif

Conditions at Time of Incident

@if($investigation->environmental_conditions)

Environmental Conditions

{{ $investigation->environmental_conditions }}

@endif @if($investigation->equipment_conditions)

Equipment Conditions

{{ $investigation->equipment_conditions }}

@endif @if($investigation->procedures_followed)

Procedures Followed

{{ $investigation->procedures_followed }}

@endif @if($investigation->training_received)

Training Received

{{ $investigation->training_received }}

@endif

Findings & Recommendations

@if($investigation->key_findings)

Key Findings

{{ $investigation->key_findings }}

@endif @if($investigation->recommendations)

Recommendations

{{ $investigation->recommendations }}

@endif
@if($investigation->status === 'pending')
@csrf
@endif @if($investigation->status === 'in_progress')
@csrf
@endif @if($investigation->isCompleted() && !$incident->rootCauseAnalysis) Perform Root Cause Analysis @endif
@endsection