@extends('layouts.portal') @section('title', 'Storage Details') @section('page_title', 'Will Storage Details') @section('page_subtitle', 'Complete storage record and information') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'storage']) @endsection @section('content')
Back to Storage

Storage Record #{{ $storage->id }}

Will #{{ $storage->will_id }} - {{ $storage->will->client->full_name ?? 'Unknown' }}

{{ $storage->is_active ? 'Active Storage' : 'Retrieved' }}

Storage Information

Storage Type

{{ App\Models\WillStorage::getStorageTypes()[$storage->storage_type] ?? 'N/A' }}

Location

{{ $storage->location_details }}

Box/Container

{{ $storage->box_number ?? 'N/A' }}

Stored Date

{{ $storage->stored_date->format('d M Y') }}

Retention

{{ $storage->retention_years }} Year

Until {{ $storage->retention_until?->format('d M Y') ?? 'N/A' }}

Status

{{ ucfirst($storage->status ?? 'Active') }}

@if($storage->notes)

Additional Notes

{{ $storage->notes }}

@endif
@if($storage->will && $storage->will->client)

Client Information

Full Name

{{ $storage->will->client->full_name }}

IC/ID Number

{{ $storage->will->client->ic_number }}

Email

{{ $storage->will->client->email }}

Phone

{{ $storage->will->client->phone ?? 'N/A' }}

@endif

Access Log

Access log tracking not yet initialized.

QR Code

Scan for verification

@if($qrCodeImage)
Storage QR Code

✓ Verification Active

{{ substr($qrToken, 0, 20) }}...

@else

QR Generation Failed

@endif
@if($storage->will)

Will Status

Status

{{ ucfirst($storage->will->status) }}

Type

{{ ucfirst(str_replace('_', ' ', $storage->will->will_type ?? 'Standard')) }}

Created

{{ $storage->will->created_at->format('d M Y') }}

View Will Details
@endif
@endsection