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

Evidence Details

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

Evidence Information

{{ $evidence->name }}

@switch($evidence->evidence_type) @case('physical') Physical @break @case('digital') Digital @break @case('documentary') Documentary @break @case('biological') Biological @break @case('forensic') Forensic @break @default {{ ucfirst($evidence->evidence_type) }} @endswitch


Collection Details

{{ $evidence->collection_datetime ? $evidence->collection_datetime->format('d M Y') : 'N/A' }}

{{ $evidence->collection_time ? $evidence->collection_time->format('h:i A') : 'Not specified' }}

{{ $evidence->collector->name ?? 'Unknown' }}

{{ $evidence->collection_location }}

@if($evidence->collection_details)
{{ $evidence->collection_details }}
@endif
Storage Information

@switch($evidence->status) @case('collected') Collected @break @case('in_storage') In Storage @break @case('in_analysis') In Analysis @break @case('analyzed') Analyzed @break @case('returned') Returned @break @case('destroyed') Destroyed @break @default {{ ucfirst(str_replace('_', ' ', $evidence->status)) }} @endswitch

{{ $evidence->storage_location }}

{{ ucfirst($evidence->condition ?? 'Not specified') }}

{{ $evidence->custodian ?? 'Not specified' }}

@if($evidence->notes)
{{ $evidence->notes }}
@endif
@if($evidence->chain_of_custody && is_array($evidence->chain_of_custody) && count($evidence->chain_of_custody) > 0)

Chain of Custody

@foreach($evidence->chain_of_custody as $custody)
{{ $custody['date'] ?? 'Unknown Date' }}
{{ $custody['time'] ?? 'Unknown Time' }}

Transfer

From: {{ $custody['from'] ?? 'Unknown' }}

To: {{ $custody['to'] ?? 'Unknown' }}

@if(isset($custody['reason']))

Reason: {{ $custody['reason'] }}

@endif
@endforeach
@endif

Related Information

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

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

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


@if($evidence->photos && is_array($evidence->photos) && count($evidence->photos) > 0)

Evidence Photos

@foreach($evidence->photos as $photo) @endforeach
@endif @if($evidence->documents && is_array($evidence->documents) && count($evidence->documents) > 0)

Related Documents

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