@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 Reference No: {{ $will->id }}
Date: {{ date('d F Y') }}
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.
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.
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'] ?? '_________________________' }}
@endifWe hereby declare that this Joint Will represents our mutual testamentary intentions and that we have each made this Will freely and voluntarily.
I declare that my family members are as follows:
| 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' }} |
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.
@elseI 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.
@endifI give, devise and bequeath my estate to my beneficiaries in the manner following:
TOTAL ESTATE VALUE: RM {{ number_format($totalEstateValue, 2) }}
| 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) }} |
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 @elseNo beneficiaries assigned.
@endif @endforeachThe 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 @endifI declare that I have the following liabilities which shall be paid from my estate prior to distribution:
@foreach($liabilities as $liability){{ $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
Responsible Person: {{ $coBorrower }} (Co-Borrower)
@elseResponsible Person: {{ $responsiblePerson }} (Testator)
@endifTOTAL LIABILITIES: RM {{ number_format($liabilities->sum('amount') ?? 0, 2) }}
[No liabilities specified]
I hereby direct my Executor to provide the following monthly allowances from my estate:
| No. | Beneficiary | Amount (RM) | Duration | Conditions |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $benName }} | {{ number_format($allowance['amount'] ?? 0, 2) }} | {{ $allowance['duration'] ?? 'N/A' }} | {{ $allowance['conditions'] ?? 'N/A' }} |
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.
@elseIn 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.
@endifI 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' }}
I hereby give and bequeath the following specific gifts:
| No. | Description | Recipient | Value (RM) |
|---|---|---|---|
| {{ $loop->iteration }} | {{ $gift['description'] ?? 'N/A' }} | {{ $gift['recipient'] ?? 'N/A' }} | {{ number_format($gift['value'] ?? 0, 2) }} |
I hereby give and bequeath the following charitable donations:
| No. | Organization | Percentage | Purpose |
|---|---|---|---|
| {{ $loop->iteration }} | {{ $orgName }} | {{ $donation['percentage'] ?? 0 }}% | {{ $donation['purpose'] ?? 'General' }} |
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:
| No. | Full Name | NRIC/Passport | Phone |
|---|---|---|---|
| {{ $loop->iteration }} | {{ $trustee['full_name'] ?? 'N/A' }} | {{ $trustee['ic'] ?? 'N/A' }} | {{ $trustee['phone'] ?? 'N/A' }} |
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.
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.
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.
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 ?? '_________________________') }}
Digital Signature of Testator
@elseSignature of Testator
@endifNRIC/Passport: {{ $testatorIC ?? '_________________________' }}
Name: {{ strtoupper($testatorName ?? '_________________________') }}
SIGNED, PUBLISHED and DECLARED by the above-named Testator as and for their Last Will and Testament in the presence of us:
| No. | Full Name | Signature | NRIC/Passport | Address | Date & Time |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ strtoupper($witness['full_name'] ?? 'WITNESS ' . $loop->iteration) }} |
@if(!empty($witness['signature']))
|
{{ $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') }} |
| 1 | WITNESS 1 | _________________ | _________________________ | dd-mm-yyyy hh:mm AM/PM | |
| 2 | WITNESS 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.
I, the undersigned Advocate & Solicitor of the High Court of Malaya, do hereby certify that:
Digital Signature:
@if(!empty($will->lawyer_signature))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 ?? '_________________________' }}
@elseName of Lawyer: {{ $will->assignedLawyer->name ?? '_________________________' }}
Bar Council Number: {{ $will->assignedLawyer->bar_number ?? '_________________________' }}
@endifFirm: {{ $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') }}