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

Storage Record

Will #{{ $storage->will_id }}

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

Client

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

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

Storage Type

{{ App\Models\WillStorage::getStorageTypes()[$storage->storage_type] }}

Location

{{ $storage->location_details }}

Box/Container

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

Stored Date

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

Retention Period

{{ $storage->retention_years }} years

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

@if($storage->notes)

Notes

{{ $storage->notes }}

@endif

Access Log

Access log tracking not yet initialized.

📱 Document QR Code

@if($qrCodeImage)
Storage QR Code

✓ Scan to verify this storage record

Token: {{ substr($qrToken, 0, 16) }}...

Generated: {{ now()->format('d M Y, h:i A') }}

@else

QR Code Generation Failed

Check if SimpleSoftwareIO/QrCode is installed

@endif

Record Access

@csrf
@endsection