@extends('layouts.portal') @section('title', 'Approved Wills') @section('page_title', 'Approved Wills') @section('page_subtitle', 'View all approved client wills') @section('sidebar') @include('agent.partials.sidebar', ['active' => 'approved']) @endsection @section('content')
View all approved client wills
Agent Dashboard
Total Approved
{{ $approvedWills->total() }}
This Month
{{ $approvedWills->where('updated_at', '>=', now()->startOfMonth())->count() }}
Individual Wills
{{ $approvedWills->where('will_type', 'individual')->count() }}
Trust Wills
{{ $approvedWills->where('will_type', 'trust')->count() }}
All legally approved wills
| Client | Will Type | Approved By | Approved Date | Payment | Actions |
|---|---|---|---|---|---|
|
{{ substr($will->client->first_name ?? 'C', 0, 1) }}
{{ $will->client->full_name ?? 'Unknown Client' }}
{{ $will->client->email ?? 'No email' }}
|
{{ $will->will_type }} |
|
{{ $will->updated_at->format('d M Y') }} | {{ $will->payment_status == 'paid' ? 'Paid' : 'Pending' }} | |
|
No approved wills found No wills have been approved yet. |
|||||