@extends('layouts.portal') @section('title', 'View Will Details') @section('page_title', 'Will Details') @section('page_subtitle', 'Review your will document') @section('sidebar') @include('client.partials.sidebar', ['active' => 'will']) @endsection @push('styles') @endpush @section('content')

Will Document #{{ $will->id }}

{{ ucfirst(str_replace('_', ' ', $will->status)) }}
{{ $will->client ? $will->client->first_name . ' ' . $will->client->last_name : 'Unknown Client' }} {{ $will->created_at->format('M d, Y') }}
Back @if($will->status == 'payment_pending') Make Payment @endif
{{ $will->status === 'draft' ? 'DRAFT' : 'FINAL' }}

LAST WILL AND TESTAMENT

Will Reference No: {{ $will->id }}

Date: {{ date('d F Y') }}

@php $testatorDetails = is_string($will->testator_details) ? json_decode($will->testator_details, true) ?? [] : ($will->testator_details ?? []); $primaryTestator = $testatorDetails['primary'] ?? []; $jointTestator = $testatorDetails['joint_testator'] ?? []; $isJointWill = $will->will_type === 'joint' || !empty($jointTestator); $testatorName = $primaryTestator['full_name'] ?? $testatorDetails['full_name'] ?? $will->client->full_name ?? '_________________________'; $testatorIC = $primaryTestator['ic'] ?? $primaryTestator['ic_number'] ?? $testatorDetails['ic'] ?? $testatorDetails['ic_number'] ?? $will->client->ic_number ?? '_________________________'; $testatorAddress = $primaryTestator['address'] ?? $testatorDetails['address'] ?? $will->client->address ?? '_________________________'; $testatorNationality = $primaryTestator['nationality'] ?? $testatorDetails['nationality'] ?? '_________________________'; $testatorDOB = $primaryTestator['dob'] ?? $testatorDetails['dob'] ?? '_________________________'; @endphp

I, {{ strtoupper($testatorName) }}, (NRIC/Passport No: {{ $testatorIC }}), of {{ $testatorNationality }} nationality, presently residing at {{ $testatorAddress }}, born on {{ isset($testatorDOB) ? date('d F Y', strtotime($testatorDOB)) : '_________________________' }}, being of sound mind, memory and understanding, do hereby make, publish and declare this to be my LAST WILL AND TESTAMENT, hereby expressly revoking all previous wills, codicils and testamentary dispositions made by me at any time heretofore.

FIRST: REVOCATION

I hereby revoke, annul and cancel all wills, codicils and other testamentary dispositions heretofore made by me, and declare this to be my Last Will and Testament.

@if($isJointWill)

JOINT WILL DECLARATION

This is a Joint Will made jointly by:

1. {{ strtoupper($testatorName) }} (NRIC/Passport No: {{ $testatorIC }})

@if(!empty($jointTestator))

2. {{ strtoupper($jointTestator['full_name'] ?? '_________________________') }} (NRIC/Passport No: {{ $jointTestator['ic'] ?? $jointTestator['ic_number'] ?? '_________________________' }}) of {{ $jointTestator['address'] ?? '_________________________' }}

@endif

We hereby declare that this Joint Will represents our mutual testamentary intentions and that we have each made this Will freely and voluntarily.

@endif @if(isset($will->client->familyMembers) && count($will->client->familyMembers) > 0)

SECOND: FAMILY DECLARATION

I declare that my family members are as follows:

@foreach($will->client->familyMembers as $member) @endforeach
No. Full Name Relationship NRIC/Passport Phone
{{ $loop->iteration }} {{ $member->full_name ?? 'N/A' }} {{ ucfirst($member->relationship ?? 'N/A') }} {{ $member->ic_number ?? 'N/A' }} {{ $member->phone ?? 'N/A' }}
@endif @php $executor = $testatorDetails['executor'] ?? []; $alternateExecutor = $testatorDetails['alternate_executor'] ?? []; @endphp

THIRD: APPOINTMENT OF EXECUTOR

@if(!empty($executor['full_name']))

I hereby nominate, constitute and appoint {{ strtoupper($executor['full_name']) }} (NRIC: {{ $executor['ic'] }}) to be the Executor and Trustee of this my Will. I authorize my Executor to settle all my debts, funeral and testamentary expenses, and to distribute the residue of my estate according to the provisions herein contained.

In the event that the above-named Executor shall fail, refuse or be unable to act, I hereby nominate {{ $alternateExecutor['full_name'] ?? '_________________________' }} (NRIC: {{ $alternateExecutor['ic'] ?? '_________________________' }}) to act as the alternate Executor and Trustee of this my Will.

@else

I hereby nominate, constitute and appoint _________________________ (NRIC: _________________________) to be the Executor and Trustee of this my Will. I authorize my Executor to settle all my debts, funeral and testamentary expenses, and to distribute the residue of my estate according to the provisions herein contained.

In the event that the above-named Executor shall fail, refuse or be unable to act, I hereby nominate _________________________ (NRIC: _________________________) to act as the alternate Executor and Trustee of this my Will.

@endif
@php $beneficiaries = is_string($will->beneficiaries) ? json_decode($will->beneficiaries, true) ?? [] : ($will->beneficiaries ?? []); $instructions = is_string($will->instructions) ? json_decode($will->instructions, true) ?? [] : ($will->instructions ?? []); $totalEstateValue = 0; $assetsForTotal = $instructions['assets'] ?? $instructions['comprehensive']['assets'] ?? []; foreach($assetsForTotal as $asset) { $totalEstateValue += floatval($asset['value'] ?? 0); } @endphp @if(count($beneficiaries) > 0)

FOURTH: BENEFICIARIES AND DISTRIBUTION

I give, devise and bequeath my estate to my beneficiaries in the manner following:

TOTAL ESTATE VALUE: RM {{ number_format($totalEstateValue, 2) }}

@foreach($beneficiaries as $beneficiary) @php $beneficiaryShare = floatval($beneficiary['percentage'] ?? $beneficiary['share'] ?? 0); $beneficiaryValue = $totalEstateValue * ($beneficiaryShare / 100); @endphp @endforeach
No. Full Name Relationship Share % Estimated Value (RM)
{{ $loop->iteration }} {{ strtoupper($beneficiary['full_name'] ?? 'N/A') }} {{ $beneficiary['relationship'] ?? 'N/A' }} {{ $beneficiaryShare }}% {{ number_format($beneficiaryValue, 2) }}
@endif @php $assetsJson = $instructions['assets'] ?? $instructions['comprehensive']['assets'] ?? $will->asset_allocations ?? []; $assetsRelation = $will->assets ?? collect([]); $showAssets = !empty($assetsJson) || $assetsRelation->count() > 0; $testatorAssets = $testatorDetails['assets'] ?? []; if(!empty($testatorAssets)) { $showAssets = true; $assetsJson = array_merge($assetsJson, $testatorAssets); } // Ensure assetsJson is array (in case it's JSON string) if(is_string($assetsJson)) { $assetsJson = json_decode($assetsJson, true) ?? []; } // Handle comprehensive assets structure if(isset($assetsJson['assets']) && is_array($assetsJson['assets'])) { $assetsJson = $assetsJson['assets']; } $totalAssetValue = 0; foreach($assetsJson as $asset) { $totalAssetValue += floatval($asset['value'] ?? 0); } $totalLiabilityValue = 0; $liabilitiesJson = $testatorDetails['liabilities'] ?? $instructions['liabilities'] ?? []; foreach($liabilitiesJson as $liability) { $totalLiabilityValue += floatval($liability['amount'] ?? $liability['outstanding_amount'] ?? 0); } $netAssetValue = $totalAssetValue - $totalLiabilityValue; @endphp @if($showAssets)

FIFTH: SPECIFIC BEQUESTS OF ASSETS

I declare that I am the sole and absolute owner of the following assets, which I hereby give, devise and bequeath as follows:

@if(!empty($assetsJson)) @foreach($assetsJson as $asset) @php $assetId = $asset['id'] ?? $asset['sub_category'] ?? $loop->iteration; $assetCategory = str_replace('_', ' ', ucfirst($asset['main_category'] ?? $asset['category_main'] ?? $asset['type'] ?? 'Asset')); $assetDescription = $asset['description'] ?? $asset['document_title'] ?? 'N/A'; $assetLocation = $asset['location'] ?? $asset['address'] ?? 'N/A'; $assetValue = floatval($asset['value'] ?? 0); $monthlyIncome = floatval($asset['monthly_income'] ?? 0); @endphp

{{ $loop->iteration }}. I give and bequeath my {{ $assetCategory }} ({{ $assetId }}) - {{ $assetDescription }} located at {{ $assetLocation }} valued at RM {{ number_format($assetValue, 2) }}@if($monthlyIncome > 0) with a monthly income of RM {{ number_format($monthlyIncome, 2) }}@endif.

This asset shall be distributed to the following beneficiaries:

@php $assetBeneficiaries = $asset['beneficiaries'] ?? []; if(isset($asset['beneficiary']) && !empty($asset['beneficiary'])) { $assetBeneficiaries[] = $asset['beneficiary']; } @endphp @if(!empty($assetBeneficiaries)) @foreach($assetBeneficiaries as $benIndex => $assetBen) @php $benName = $assetBen['full_name'] ?? 'N/A'; $benIC = $assetBen['ic'] ?? $assetBen['ic_number'] ?? 'N/A'; $benRelationship = $assetBen['relationship'] ?? 'N/A'; $benShare = $assetBen['percentage'] ?? $assetBen['share_percentage'] ?? 100; $benEmail = $assetBen['email'] ?? 'N/A'; $benPhone = $assetBen['phone'] ?? 'N/A'; $benAddress = $assetBen['address'] ?? 'N/A'; @endphp

{{ strtoupper($benName) }} (NRIC: {{ $benIC }}), {{ $benRelationship }}, entitled to {{ $benShare }}% share thereof. Contact: {{ $benEmail }}, {{ $benPhone }}. Address: {{ $benAddress }}.

@endforeach @else

No beneficiaries assigned.

@endif @endforeach

The total aggregate value of all assets bequeathed herein is estimated at RM {{ number_format($totalAssetValue, 2) }}.

The total liabilities against these assets amount to RM {{ number_format($totalLiabilityValue, 2) }}, resulting in a net asset value of RM {{ number_format($netAssetValue, 2) }}.

@else @foreach($assetsRelation as $asset)

{{ $loop->iteration }}. I give and bequeath my {{ str_replace('_', ' ', ucfirst($asset->category_main ?? $asset->type ?? '')) }} - {{ $asset->description ?? 'N/A' }} (Sole ownership) absolutely and forever.

@endforeach @endif
@endif

SIXTH: LIABILITIES

@if($liabilities && $liabilities->count() > 0)

I declare that I have the following liabilities which shall be paid from my estate prior to distribution:

@foreach($liabilities as $liability)
@php // Handle both WillLiability and Liability models $creditor = $liability->creditor ?? ($liability->clientLiability->creditor ?? 'N/A'); $accountNumber = $liability->account_number ?? ($liability->clientLiability->account_number ?? 'N/A'); $type = $liability->type ?? ($liability->liability_type ?? 'N/A'); $amount = $liability->amount ?? 0; $monthlyPayment = $liability->monthly_payment ?? ($liability->clientLiability->monthly_payment ?? 0); $interestRate = $liability->interest_rate ?? ($liability->clientLiability->interest_rate ?? null); $status = $liability->status ?? ($liability->clientLiability->status ?? 'Active'); $description = $liability->description; $familyMembers = $liability->family_members ?? null; $coBorrower = $liability->co_borrower ?? ($liability->clientLiability->co_borrower ?? null); // Get testator as default responsible person $testatorDetails = is_array($will->testator_details) ? $will->testator_details : (json_decode($will->testator_details, true) ?? []); $primaryTestator = $testatorDetails['primary'] ?? []; $responsiblePerson = ($will->client ? $will->client->full_name : null) ?? ($primaryTestator['full_name'] ?? null) ?? 'Testator'; @endphp

{{ $loop->iteration }}. I hereby declare that I have a liability with {{ $creditor }} (Account Number: {{ $accountNumber }}). This is a {{ $type }} with an outstanding amount of RM {{ number_format($amount, 2) }}. The monthly payment is RM {{ number_format($monthlyPayment, 2) }}. @if(!empty($interestRate)) The interest rate is {{ $interestRate }}%. @endif The current status of this liability is {{ ucfirst($status) }}.

@if(!empty($description))

Description: {{ $description }}

@endif @if(!empty($familyMembers) && is_array($familyMembers))

Responsibility Sharing: @php $client = $will->client; $familyMembersList = $client->familyMembers ?? collect(); $hasValidMembers = false; @endphp @foreach($familyMembers as $memberId => $memberData) @php // Handle both old format (just ID) and new format (ID => ['id' => ..., 'percentage' => ...]) if (is_array($memberData)) { $mId = $memberData['id'] ?? $memberId; $percentage = $memberData['percentage'] ?? 0; } else { $mId = $memberData; $percentage = 0; } $member = $familyMembersList->where('id', $mId)->first(); @endphp @if($member) @php $hasValidMembers = true; @endphp
• {{ $member->full_name ?? $member->name }}: {{ $percentage }}% responsible @endif @endforeach @if(!$hasValidMembers)
No family members assigned responsibility @endif

@elseif(!empty($coBorrower))

Responsible Person: {{ $coBorrower }} (Co-Borrower)

@else

Responsible Person: {{ $responsiblePerson }} (Testator)

@endif
@endforeach

TOTAL LIABILITIES: RM {{ number_format($liabilities->sum('amount') ?? 0, 2) }}

@else

SIXTH: LIABILITIES

[No liabilities specified]

@endif
@if(isset($instructions['allowances']) && count($instructions['allowances']) > 0)

SEVENTH: MONTHLY ALLOWANCES

I hereby direct my Executor to provide the following monthly allowances from my estate:

@php $clientFamily = $will->client->familyMembers ?? collect([]); $familyMap = []; foreach($clientFamily as $fm) { $familyMap[$fm->id] = $fm->full_name ?? 'N/A'; } @endphp @foreach($instructions['allowances'] as $allowance) @php $benId = $allowance['beneficiary'] ?? ''; $benName = is_numeric($benId) ? ($familyMap[$benId] ?? 'Family Member ID ' . $benId) : $benId; @endphp @endforeach
No. Beneficiary Amount (RM) Duration Conditions
{{ $loop->iteration }} {{ $benName }} {{ number_format($allowance['amount'] ?? 0, 2) }} {{ $allowance['duration'] ?? 'N/A' }} {{ $allowance['conditions'] ?? 'N/A' }}
@endif @php $guardian = $testatorDetails['guardian'] ?? []; @endphp @if(!empty($guardian) || $will->will_type === 'trust')

{{ isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'EIGHTH' : 'SEVENTH' }}: GUARDIAN APPOINTMENT

@if(!empty($guardian))

In the event that I have minor children at the time of my death, I hereby appoint {{ strtoupper($guardian['full_name'] ?? '_________________________') }}, holder of Identity Card Number {{ $guardian['ic'] ?? '_________________________' }}, to be the Guardian of my minor children.

@else

In the event that I have minor children at the time of my death, I hereby appoint _________________________, holder of Identity Card Number _________________________, to be the Guardian of my minor children.

@endif
@endif @if(isset($instructions['existing_will']) && !empty($instructions['existing_will']))

{{ isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'NINTH' : 'EIGHTH' }}: EXISTING WILL

I declare that I have previously executed a Last Will and Testament with the following details:

Location: {{ $instructions['existing_will']['existing_will_location'] ?? 'N/A' }}
Date: {{ isset($instructions['existing_will']['existing_will_date']) ? date('d F Y', strtotime($instructions['existing_will']['existing_will_date'])) : 'N/A' }}
Executor: {{ $instructions['existing_will']['existing_will_executor'] ?? 'N/A' }}
Notes: {{ $instructions['existing_will']['existing_will_notes'] ?? 'N/A' }}

@endif @if(isset($instructions['gifts']) && count($instructions['gifts']) > 0)

{{ isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'TENTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'NINTH' : 'EIGHTH') }}: SPECIFIC GIFTS

I hereby give and bequeath the following specific gifts:

@foreach($instructions['gifts'] as $gift) @endforeach
No. Description Recipient Value (RM)
{{ $loop->iteration }} {{ $gift['description'] ?? 'N/A' }} {{ $gift['recipient'] ?? 'N/A' }} {{ number_format($gift['value'] ?? 0, 2) }}
@endif @if(isset($instructions['donations']) && count($instructions['donations']) > 0)

{{ isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'ELEVENTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'TENTH' : 'NINTH') }}: CHARITABLE DONATIONS

I hereby give and bequeath the following charitable donations:

@php $charityMap = []; // Try to load charities from database if available if(class_exists('App\Models\Charity')) { $charities = \App\Models\Charity::all(); foreach($charities as $ch) { $charityMap[$ch->id] = $ch->name ?? $ch->organization_name ?? 'N/A'; } } @endphp @foreach($instructions['donations'] as $donation) @php $orgValue = $donation['organization'] ?? 'N/A'; // Check if it's a charity ID if(is_numeric($orgValue) && isset($charityMap[$orgValue])) { $orgName = $charityMap[$orgValue]; } else { $orgName = $orgValue; } @endphp @endforeach
No. Organization Percentage Purpose
{{ $loop->iteration }} {{ $orgName }} {{ $donation['percentage'] ?? 0 }}% {{ $donation['purpose'] ?? 'General' }}
@endif @if(isset($instructions['trustees']) && count($instructions['trustees']) > 0)

{{ isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'TWELFTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'ELEVENTH' : 'TENTH') }}: APPOINTMENT OF TRUSTEES

I hereby appoint the following person(s) as Trustee(s) of this my Will to manage and administer my estate in accordance with the provisions herein contained:

@foreach($instructions['trustees'] as $trustee) @endforeach
No. Full Name NRIC/Passport Phone
{{ $loop->iteration }} {{ $trustee['full_name'] ?? 'N/A' }} {{ $trustee['ic'] ?? 'N/A' }} {{ $trustee['phone'] ?? 'N/A' }}
@endif

{{ isset($instructions['trustees']) && count($instructions['trustees']) > 0 ? 'THIRTEENTH' : (isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'TWELFTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'ELEVENTH' : 'TENTH')) }}: RESIDUAL ESTATE

All the rest, residue and remainder of my estate, both real and personal, of whatsoever nature and wheresoever situated, which I may own or be entitled to at the time of my death, and which is not otherwise effectively disposed of by this my Will, I give, devise and bequeath unto my beneficiaries as specified herein, in the proportions hereinbefore indicated.

{{ isset($instructions['trustees']) && count($instructions['trustees']) > 0 ? 'FOURTEENTH' : (isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'THIRTEENTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'TWELFTH' : 'ELEVENTH')) }}: FUNERAL ARRANGEMENTS

I direct that my funeral and burial arrangements be made in a manner befitting my station in life, and that all reasonable expenses thereof be paid from my estate as a first charge thereon.

{{ isset($instructions['trustees']) && count($instructions['trustees']) > 0 ? 'FIFTEENTH' : (isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'FOURTEENTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'THIRTEENTH' : 'TWELFTH')) }}: DISPUTE RESOLUTION

In the event of any dispute arising from the interpretation or administration of this my Will, I direct that the laws of Malaysia shall govern, and the Courts of Malaysia shall have exclusive jurisdiction to determine any such dispute.

{{ isset($instructions['witnesses']) && count($instructions['witnesses']) > 0 ? 'SEVENTEENTH' : (isset($instructions['trustees']) && count($instructions['trustees']) > 0 ? 'SIXTEENTH' : (isset($instructions['existing_will']) && !empty($instructions['existing_will']) ? 'FIFTEENTH' : (isset($instructions['allowances']) && count($instructions['allowances']) > 0 ? 'FOURTEENTH' : 'THIRTEENTH'))) }}: EXECUTION

IN WITNESS WHEREOF, I have hereunto set my hand and seal this {{ date('d') }} day of {{ date('F') }}, {{ date('Y') }}.

Signed by the Testator:

{{ strtoupper($testatorName ?? '_________________________') }}

@php $testatorSignature = $will->testator_signature ?? $will->client_signature ?? $will->will_writer_signature ?? $testatorDetails['signature'] ?? $testatorDetails['digital_signature'] ?? $testatorDetails['will_writer_signature'] ?? null; @endphp @if(!empty($testatorSignature))

Digital Signature of Testator

@else

Signature of Testator

@endif

NRIC/Passport: {{ $testatorIC ?? '_________________________' }}

Name: {{ strtoupper($testatorName ?? '_________________________') }}

@php $witnessList = []; // From will relationship - primary source try { if(isset($will->witnesses) && $will->witnesses && (is_object($will->witnesses) || is_iterable($will->witnesses))) { $witnessCount = 0; foreach($will->witnesses as $witness) { // Skip if not a valid witness if (!$witness || !is_object($witness)) { continue; } // Get IC - try multiple field names $ic = $witness->ic_number ?? $witness->ic ?? null; if (!$ic && isset($witness->attributes['ic'])) { $ic = $witness->attributes['ic']; } if (!$ic && isset($witness->attributes['ic_number'])) { $ic = $witness->attributes['ic_number']; } // Get signature - try multiple field names $signature = $witness->digital_signature ?? $witness->signature ?? null; if (!$signature && isset($witness->attributes['digital_signature'])) { $signature = $witness->attributes['digital_signature']; } if (!$signature && isset($witness->attributes['signature'])) { $signature = $witness->attributes['signature']; } // Format date and time $dateStr = date('d-m-Y'); $timeStr = date('h:i A'); if ($witness->signed_at) { try { $dateStr = $witness->signed_at->format('d-m-Y'); $timeStr = $witness->signed_at->format('h:i A'); } catch (\Exception $e) { // Keep defaults if format fails } } $witnessList[] = [ 'full_name' => $witness->full_name ?? $witness->name ?? 'WITNESS', 'ic' => $ic ?? '_________________', 'address' => $witness->address ?? '_________________________', 'phone' => $witness->phone ?? '', 'signature' => $signature, 'date' => $dateStr, 'time' => $timeStr ]; $witnessCount++; if ($witnessCount >= 2) { break; // Limit to 2 witnesses } } } } catch (\Exception $e) { // Handle any exception silently } // From instructions - secondary source if(count($witnessList) === 0 && isset($instructions['witnesses']) && is_array($instructions['witnesses']) && count($instructions['witnesses']) > 0) { foreach($instructions['witnesses'] as $witness) { if (is_array($witness)) { $witnessList[] = [ 'full_name' => $witness['full_name'] ?? $witness['name'] ?? 'WITNESS', 'ic' => $witness['ic_number'] ?? $witness['ic'] ?? '_________________', 'address' => $witness['address'] ?? '_________________________', 'phone' => $witness['phone'] ?? '', 'signature' => $witness['digital_signature'] ?? $witness['signature'] ?? null, 'date' => $witness['date'] ?? date('d-m-Y'), 'time' => $witness['time'] ?? date('h:i A') ]; } if (count($witnessList) >= 2) { break; } } } @endphp

SIGNED, PUBLISHED and DECLARED by the above-named Testator as and for their Last Will and Testament in the presence of us:

@if(count($witnessList) > 0) @foreach($witnessList as $witness) @endforeach @else @endif
No. Full Name Signature NRIC/Passport Address Date & Time
{{ $loop->iteration }} {{ strtoupper($witness['full_name'] ?? 'WITNESS ' . $loop->iteration) }} @if(!empty($witness['signature'])) @else
@endif
{{ $witness['ic'] ?? '_________________' }} {{ $witness['address'] ?? '_________________________' }} {{ isset($witness['date']) ? date('d-m-Y', strtotime($witness['date'])) : date('d-m-Y') }} {{ isset($witness['time']) ? date('h:i A', strtotime($witness['time'])) : date('h:i A') }}
1WITNESS 1
__________________________________________dd-mm-yyyy hh:mm AM/PM
2WITNESS 2
__________________________________________dd-mm-yyyy hh:mm AM/PM

WE, the above-named witnesses, do hereby declare that the Testator signed and executed this Will in our presence, and we, in the presence of the Testator and in the presence of each other, have hereunto subscribed our names as witnesses.

LAWYER ATTESTATION & DIGITAL SIGNATURE

I, the undersigned Advocate & Solicitor of the High Court of Malaya, do hereby certify that:

  • I have verified the identity of the Testator through their original NRIC/Passport;
  • The Testator appeared to be of sound mind and understood the nature and effect of this Will;
  • This Will was executed in accordance with the Wills Act 1959 (Revised 1988) of Malaysia;
  • I have witnessed the execution of this Will by the Testator.

Digital Signature:

@if(!empty($will->lawyer_signature)) @else
@endif

Date & Time of Attestation: {{ $will->submitted_at ? $will->submitted_at->format('d F Y, h:i A') : date('d F Y, h:i A') }}

@if($will->created_by_type === 'agent')

Name of Agent: {{ $will->referredBy->name ?? '_________________________' }}

@else

Name of Lawyer: {{ $will->assignedLawyer->name ?? '_________________________' }}

Bar Council Number: {{ $will->assignedLawyer->bar_number ?? '_________________________' }}

@endif

Firm: {{ $will->assignedLawyer->firm_name ?? '_________________________' }}

Office Address: {{ $will->assignedLawyer->office_address ?? '_________________________' }}

This digital signature is affixed in accordance with the Electronic Commerce Act 2006 and the Digital Signature Act 1997 of Malaysia.

THIS IS A PREVIEW OF THE LAST WILL AND TESTAMENT

Will Reference: {{ $will->id }} | Generated: {{ date('d F Y, h:i A') }}

@endsection