@extends('adminlte::page') @section('title', 'View Victim') @section('content_header')
@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 }}
{{ ucfirst($victim->gender ?? 'Not specified') }}
{{ $victim->date_of_birth ? $victim->date_of_birth->format('d M Y') : 'Not specified' }}
{{ ucfirst(str_replace('_', ' ', $victim->id_type)) }}: {{ $victim->id_number }}
@elseNot provided
@endif{{ $victim->organization_type }}
{{ $victim->contact_number ?? 'Not provided' }}
{{ $victim->email ?? 'Not provided' }}
{{ $victim->address ?? 'Not provided' }}
@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
{{ $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' }}