@extends('adminlte::page') @section('title', 'View Evidence') @section('content_header')
{{ $evidence->tag_number }}
{{ $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
{{ $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 }}
@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' }}
From: {{ $custody['from'] ?? 'Unknown' }}
To: {{ $custody['to'] ?? 'Unknown' }}
@if(isset($custody['reason']))Reason: {{ $custody['reason'] }}
@endif{{ $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' }}