@extends('adminlte::page') @section('title', 'View Victim') @section('content_header')

Victim Details

Back to Victims Edit
@stop @section('content') @if (session('success')) @endif

Victim Information

@switch($victim->victim_type) @case('individual') Individual @break @case('business') Business @break @case('government') Government @break @case('organization') Organization @break @default {{ ucfirst($victim->victim_type) }} @endswitch

{{ $victim->name }}

@if($victim->victim_type == 'individual')

{{ ucfirst($victim->gender ?? 'Not specified') }}

@endif
@if($victim->victim_type == 'individual')

{{ $victim->date_of_birth ? $victim->date_of_birth->format('d M Y') : 'Not specified' }}

@if($victim->id_type && $victim->id_number)

{{ ucfirst(str_replace('_', ' ', $victim->id_type)) }}: {{ $victim->id_number }}

@else

Not provided

@endif
@endif @if($victim->victim_type != 'individual' && $victim->organization_type)

{{ $victim->organization_type }}

@endif

{{ $victim->contact_number ?? 'Not provided' }}

{{ $victim->email ?? 'Not provided' }}

{{ $victim->address ?? 'Not provided' }}


Incident Details

@switch($victim->injury_status) @case('none') None @break @case('minor') Minor @break @case('moderate') Moderate @break @case('severe') Severe @break @case('fatal') Fatal @break @default Not specified @endswitch

@switch($victim->property_loss) @case('none') None @break @case('minor') Minor @break @case('moderate') Moderate @break @case('significant') Significant @break @case('major') Major @break @default Not specified @endswitch

@if($victim->injury_description)
{{ $victim->injury_description }}
@endif @if($victim->notes)
{{ $victim->notes }}
@endif
@if(!empty($victim->evidence_photos) && is_array($victim->evidence_photos) && count($victim->evidence_photos) > 0)

Evidence Photos

@foreach($victim->evidence_photos as $photo) @endforeach
@endif
@if($victim->photo_path)

Victim Photo

Victim Photo
@endif

Related Information

{{ $victim->created_at->format('d M Y, h:i A') }}

{{ $victim->updated_at->format('d M Y, h:i A') }}

{{ $victim->created_by_user->name ?? 'Unknown' }}


@stop @section('css') @stop @section('js') @stop