@extends('layouts.portal') @section('title', 'Lawyer Dashboard') @section('page_title', 'Lawyer Dashboard') @section('page_subtitle', 'Legal Review Portal') @section('sidebar') @include('lawyer.partials.sidebar', ['active' => 'dashboard']) @endsection @section('content')

Welcome back, {{ auth()->user()->name }}!

Review and approve wills awaiting legal clearance.

Pending Review

{{ $stats['pending_review'] ?? 0 }}

Approved Today

{{ $stats['approved_today'] ?? 0 }}

Total Approved

{{ $stats['total_approved'] ?? 0 }}

Wills Pending Legal Review

@if($pendingReviews->count() > 0)
@foreach($pendingReviews as $will) @endforeach
Client Will Type Submitted Action

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

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

{{ $will->will_type === 'individual' ? 'Individual Will' : 'Trust Will' }} {{ $will->updated_at->format('d M Y') }} Review
{{ $pendingReviews->links() }} @else

No wills pending review at the moment.

@endif
@endsection