@extends('layouts.app') @section('title','Incident Detail') @section('page-title','Incident Detail') @section('content')
Back
{{ $incident->incident_number }}
{{ strtoupper($incident->severity) }}
Date/Time
{{ $incident->date->format('d M Y') }} {{ $incident->time }}
Project
{{ $incident->project->name ?? '-' }}
Type
{{ ucfirst(str_replace('_',' ',$incident->type)) }}
Status
{{ $incident->status }}
Description
{{ $incident->description }}
Persons Involved
{{ $incident->persons_involved ?? '-' }}
Witnesses
{{ $incident->witnesses ?? '-' }}
Immediate Action
{{ $incident->immediate_action ?? '-' }}
Corrective Action
{{ $incident->corrective_action ?? '-' }}
@if($incident->status !== 'closed')
@csrf @method('PUT')
@endif
@endsection