@extends('layouts.portal') @section('title', 'Will Template Engine') @section('page_title', 'Will Template Engine') @section('page_subtitle', 'Generate professional will documents') @section('sidebar') @include('agent.partials.sidebar', ['active' => 'will-templates']) @endsection @section('content')

Will Template Engine

Select a template to generate professional will documents for your clients

Individual Will

Standard will for single person with full asset distribution control.

Trust Will

Testamentary trust for minor children and asset protection.

Islamic Wasiat

Shariah-compliant will following Faraid distribution rules.

Joint Will

Mutual will for married couples with reciprocal provisions.

Recent Wills Created

@if($recentWills->count() > 0)
@foreach($recentWills as $will) @endforeach
Client Template Type Created By Date Status Actions
{{ $will->client->first_name }} {{ $will->client->last_name }} @php $typeLabels = [ 'individual' => ['Individual', 'blue'], 'trust' => ['Trust', 'purple'], 'islamic' => ['Islamic', 'green'], 'joint' => ['Joint', 'orange'], ]; $type = $typeLabels[$will->template_type] ?? ['Standard', 'gray']; @endphp {{ $type[0] }} {{ $will->createdBy->name ?? 'N/A' }} {{ $will->created_at->format('M d, Y') }} @php $statusColors = [ 'draft' => 'gray', 'pending' => 'yellow', 'approved' => 'green', 'completed' => 'blue', ]; $color = $statusColors[$will->status] ?? 'gray'; @endphp {{ $will->status }} Word
@else

No wills created yet. Click "Create New Will" to get started.

@endif
@endsection