@extends('adminlte::page') @section('title', 'Suspect Details') @section('content_header')

Suspect Details

Edit Suspect View Case
@stop @section('content') @if (session('success')) @endif
@if($suspect->photo_path) Suspect photo @else Default photo @endif

{{ $suspect->first_name }} {{ $suspect->last_name }}

@if($suspect->alias)

Alias: {{ $suspect->alias }}

@endif
  • Case #{{ $suspect->case->case_number }}
  • Arrested @if($suspect->is_arrested) Yes @else No @endif
  • Charged @if($suspect->is_charged) Yes @else No @endif
  • In Custody @if($suspect->in_custody) Yes @else No @endif
Date of Birth
{{ $suspect->date_of_birth ? $suspect->date_of_birth->format('d M Y') : 'Not recorded' }}
Gender
{{ ucfirst($suspect->gender ?? 'Not recorded') }}
Contact Number
{{ $suspect->contact_number ?? 'Not recorded' }}
ID Type
{{ $idTypes[$suspect->id_type] ?? 'Not recorded' }}
ID Number
{{ $suspect->id_number ?? 'Not recorded' }}
Address
{{ $suspect->address ?? 'Not recorded' }}
@if($suspect->is_arrested)
Arrest Date
{{ $suspect->arrest_date ? $suspect->arrest_date->format('d M Y H:i') : 'Not recorded' }}
Arrest Location
{{ $suspect->arrest_location ?? 'Not recorded' }}
Arresting Officer
@if($suspect->arrestingOfficer) {{ $suspect->arrestingOfficer->rank }} {{ $suspect->arrestingOfficer->name }} @else Not recorded @endif
@if($suspect->is_charged)
Charges
{{ $suspect->charges ?? 'Not specified' }}
@endif
@if($suspect->in_custody)
Custody Information

Custody Location
{{ $suspect->custody_location ?? 'Not recorded' }}
Cell Number
{{ $suspect->cell_number ?? 'Not recorded' }}
@endif @else
This suspect has not been arrested.
@endif
@if($suspect->notes)
{!! nl2br(e($suspect->notes)) !!}
@else
No notes recorded for this suspect.
@endif

Status History

@forelse($statusUpdates as $update) @empty @endforelse
Date Status Change Updated By Notes
{{ $update->created_at->format('d M Y H:i') }} @if($update->update_type === 'arrest') Arrest Status @elseif($update->update_type === 'charge') Charge Status @elseif($update->update_type === 'custody') Custody Status @else {{ ucfirst($update->update_type) }} @endif {{ $update->officer->name }} {{ $update->description }}
No status updates recorded.
@stop @section('css') @stop @section('js') @stop