@extends('layouts.portal') @section('title', 'Will Storage Management') @section('page_title', 'Will Storage Management') @section('page_subtitle', 'Professional will storage and tracking system') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'storage']) @endsection @section('content')

Will Storage Management

Professional will storage and tracking system

@if($storageRecords->count() > 0)
@foreach($storageRecords as $storage) @endforeach
Will Details Client Information Legal Status Storage Details Actions
Will #{{ $storage->will_id }} @if($storage->will) {{ ucfirst($storage->will->status) }} @else Deleted @endif
@if($storage->will)
Created: {{ $storage->will->created_at->format('d M Y, h:i A') }}
@if($storage->will->signed_at)
Signed: {{ $storage->will->signed_at->format('d M Y, h:i A') }}
@endif @else
Will record not found
@endif
@if($storage->will && $storage->will->client)
{{ $storage->will->client->full_name }}
IC: {{ $storage->will->client->ic_number }}
{{ $storage->will->client->phone }}
@else
Client data unavailable
@endif
@if($storage->will)
@if($storage->will->reviewed_by)
Lawyer: {{ $storage->will->reviewedBy->name }}
Approved by: {{ $storage->will->reviewedBy->name }}
@else
No lawyer assigned
@endif @if($storage->will->notarized_at)
Notarized: {{ $storage->will->notarized_at->format('d M Y, h:i A') }}
@endif
@else
Legal status unavailable
@endif
{{ \App\Models\WillStorage::getStorageTypes()[$storage->storage_type] }}
{{ $storage->location_details }}
@if($storage->box_number)
Box #{{ $storage->box_number }}
@endif
Stored: {{ $storage->stored_date->format('d M Y, h:i A') }}
@if($storage->will) View Details @else @endif Storage Info @if($storage->will && $storage->will->status === 'completed') Download @endif
@if($storageRecords->hasPages())
{{ $storageRecords->links() }}
@endif
@else

No Storage Records Found

No will storage records have been created yet. Start by storing a new will in the system.

Store First Will
@endif
@endsection