LAST WILL AND TESTAMENT

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

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

@php $isJointWill = false; $testatorNames = ''; $testators = []; // Check if this is a joint will with another client (is_joint = true) if ($will->isJointWill() && $will->jointClient) { $testators = $will->getTestators(); $testatorNames = collect($testators)->map(function($t) { return strtoupper($t->full_name); })->implode(' and '); $isJointWill = true; } // Or check if the client wants a joint will with joint_person_name elseif ($will->client && $will->client->is_joint_will && !empty($will->client->joint_person_name)) { $testatorNames = strtoupper($will->client->full_name) . ' and ' . strtoupper($will->client->joint_person_name); $isJointWill = true; } @endphp @if($isJointWill)

We, {{ $testatorNames }}, do hereby declare this to be our Last Will and Testament, and hereby revoke all former Wills and Testaments made by us.

We declare that we are of sound mind and memory and not acting under duress, fraud, or undue influence.

@else

I, {{ strtoupper(($will->client ? $will->client->full_name : null) ?? '_________________________') }} @if($will->client && ($will->client->father_name_al || $will->client->mother_name_ap)) @if($will->client->father_name_al), A/L: {{ strtoupper($will->client->father_name_al) }}@endif @if($will->client->mother_name_ap), A/P: {{ strtoupper($will->client->mother_name_ap) }}@endif @endif, (NRIC/Passport No: {{ ($will->client ? $will->client->ic_number : null) ?? '_________________________' }}), of {{ ($will->client && $will->client->nationality ? $will->client->nationality : null) ?? 'Malaysian' }} nationality, presently residing at {{ ($will->client ? $will->client->address : null) ?? '_________________________' }}, born on {{ ($will->client && $will->client->date_of_birth ? date('d F Y', strtotime($will->client->date_of_birth)) : '_________________________') }}, 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.

@endif
@php $isJointWillDecl = false; $jointTestatorDetails = []; $jointClient = null; // Check if this is a joint will with another client (is_joint = true) if ($will->isJointWill() && $will->jointClient) { $isJointWillDecl = true; $jointClient = $will->jointClient; } // Or check if the client wants a joint will with joint_person_name elseif ($will->client && $will->client->is_joint_will && !empty($will->client->joint_person_name)) { $isJointWillDecl = true; $jointTestatorDetails = [ 'primary' => [ 'full_name' => $will->client->joint_person_name, 'ic' => $will->client->joint_person_ic_number, 'address' => $will->client->joint_person_address, ] ]; } @endphp @if($isJointWillDecl)

JOINT WILL DECLARATION: This is a Joint Will made jointly by:

1. {{ strtoupper($will->client->full_name ?? '_________________________') }} (NRIC/Passport No: {{ $will->client->ic_number ?? '_________________________' }}) @if($will->client->address) of {{ $will->client->address }} @endif

@if($jointClient)

2. {{ strtoupper($jointClient->full_name ?? '_________________________') }} (NRIC/Passport No: {{ $jointClient->ic_number ?? '_________________________' }}) @if($jointClient->address) of {{ $jointClient->address }} @endif

@elseif(!empty($jointTestatorDetails['primary']))

2. {{ strtoupper($jointTestatorDetails['primary']['full_name'] ?? '_________________________') }} (NRIC/Passport No: {{ $jointTestatorDetails['primary']['ic'] ?? '_________________________' }}) @if(!empty($jointTestatorDetails['primary']['address'])) of {{ $jointTestatorDetails['primary']['address'] }} @endif

@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

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($will->client && 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 NameRelationshipNRIC/PassportPhone
{{ $loop->iteration }} {{ strtoupper($member->full_name ?? 'N/A') }} {{ ucfirst($member->relationship ?? 'N/A') }} {{ $member->ic_number ?? 'N/A' }} {{ $member->phone ?? 'N/A' }}
@endif

THIRD: APPOINTMENT OF EXECUTOR

I hereby nominate, constitute and appoint _________________________ (NRIC: _________________________) to be the Executor.

@if(count($beneficiaries) > 0)

FOURTH: BENEFICIARIES AND DISTRIBUTION

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

@foreach($beneficiaries as $beneficiary) @endforeach
No.Full NameRelationship
{{ $loop->iteration }} {{ strtoupper($beneficiary['full_name'] ?? 'N/A') }} {{ $beneficiary['relationship'] ?? 'N/A' }}
@endif @php $totalAssetValue = 0; foreach ($assets as $a) { if (is_array($a) && isset($a['value'])) { $totalAssetValue += (float) $a['value']; } } @endphp @if(!empty($assets) && count($assets) > 0)

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:

@foreach($assets as $index => $asset)

{{ $index + 1 }}. I give and bequeath my {{ ucfirst(str_replace('_', ' ', $asset['main_category'] ?? 'Asset')) }} ({{ $asset['sub_category'] ?? 'N/A' }}) @if(!empty($asset['description'])) - {{ $asset['description'] }} @endif @if(!empty($asset['address'])) located at {{ $asset['address'] }} @endif @if(!empty($asset['value'])) valued at RM {{ number_format($asset['value'], 2) }} @endif

@endforeach

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

@else

FIFTH: SPECIFIC BEQUESTS OF ASSETS

[No assets specified]

@endif

SIXTH: LIABILITIES

@if(!empty($liabilities) && count($liabilities) > 0)

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

@foreach($liabilities as $liability)
@php $creditor = !empty($liability->creditor) ? $liability->creditor : ($liability->clientLiability->creditor ?? 'N/A'); $type = $liability->type ?? ($liability->liability_type ?? 'N/A'); $amount = $liability->amount ?? 0; @endphp

{{ $creditor }} ({{ $type }}): RM {{ number_format($amount, 2) }}

@endforeach @else

[No liabilities specified]

@endif

SEVENTH: APPOINTMENT OF TRUSTEES

@if(!empty($trustees) && count($trustees) > 0)

I hereby appoint the following as Trustees of my estate:

@foreach($trustees as $index => $trustee) @endforeach
No.Full NameNRIC
{{ $index + 1 }} {{ strtoupper($trustee['full_name'] ?? 'N/A') }} {{ $trustee['ic'] ?? 'N/A' }}
@else

[No trustees appointed]

@endif

EIGHTH: 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.

NINTH: 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.

TENTH: 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.

IN WITNESS WHEREOF

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

_______________________________

Signature of Testator

Name: {{ strtoupper(($will->client ? $will->client->full_name : null) ?? '_________________________') }}

NRIC/Passport: {{ ($will->client ? $will->client->ic_number : null) ?? '_________________________' }}

WITNESS SECTION

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

No.Full NameSignatureNRIC/PassportAddress
1 WITNESS 1
2 WITNESS 2

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: _______________________________

Date & Time of Attestation: {{ date('d F Y, h:i A') }}

Name of Lawyer: {{ ($will->assignedLawyer ? $will->assignedLawyer->name : 'Not Assigned') }}

Firm: _________________________

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') }}