@extends('layouts.portal') @section('title', 'Estate Cases') @section('page_title', 'Estate Administration') @section('page_subtitle', 'Manage estate distribution cases') @section('sidebar') @php $__estateSidebar = match(session('active_role', auth()->user()->role)) { 'staff' => 'staff.partials.sidebar', 'lawyer' => 'lawyer.partials.sidebar', default => 'admin.partials.sidebar' }; @endphp @include($__estateSidebar, ['active' => 'estate']) @endsection @push('styles') @endpush @section('content')

Estate Administration

Manage post-death estate distribution and probate proceedings

📋 Estate Administration Workflow: When a client passes away, create an estate case to manage document collection, probate application, asset collection, debt settlement, and distribution to beneficiaries.
{{ $statistics['active'] ?? 0 }}
Active Cases
{{ $statistics['pending'] ?? 0 }}
Pending Cases
{{ $statistics['closed'] ?? 0 }}
Closed Cases
{{ $statistics['total'] ?? count($cases) }}
Total Cases
@if($cases->count() > 0)
@foreach($cases as $case) @endforeach
Case # Deceased Person Status Date of Death Assigned To Actions
#{{ $case->case_number }}
{{ $case->client->full_name }}
IC: {{ $case->client->ic_number }}
@php $statusClass = 'status-' . str_replace(' ', '-', strtolower($case->status)); @endphp {{ $case->status }} {{ $case->date_of_death ? $case->date_of_death->format('d M Y') : '-' }} {{ $case->assignedStaff?->name ?? 'Unassigned' }}
@if($cases->hasPages())
{{ $cases->links() }}
@endif @else
📋
No Estate Cases Yet
Start managing estate cases after a client's passing
Create First Estate Case
@endif
@endsection