ID
{{ $willsAndTest['id'] }}
Who is this Last Will for ?
{{ $willsAndTest['a_status'] ?? 'Not specified' }}
Your Details
Name
{{ $willsAndTest['full_name'] ?? 'Not specified' }}
Street Address1
{{ $willsAndTest['street_1'] ?? 'Not specified' }}
Street Address2
{{ $willsAndTest['street_2'] ?? 'Not specified' }}
City
{{ $willsAndTest['city'] ?? 'Not specified' }}
State
@php
$stateRaw = $willsAndTest['state'] ?? null;
$stateValue = (ctype_digit((string)$stateRaw))
? getState((int)$stateRaw)
: ($stateRaw ?: 'Not specified');
@endphp
{{ $stateValue }}
Country
{{ getCountry($willsAndTest['country'] ?? 'Not specified') }}
ZIP Code
{{ $willsAndTest['zip_code'] ?? 'Not specified' }}
What is your marital status?
{{ $willsAndTest['m_status'] ?? 'Not specified' }}
What is your spouse's name?
{{ $willsAndTest['spouse_name'] ?? 'Not specified' }}
@if(!empty($willsAndTest['partner_name']))
Who is the testator's partner?
{{ $willsAndTest['partner_name'] ?? 'Not specified' }}
@endif
Family
@php
$children = json_decode($willsAndTest['children'], true);
@endphp
@if (is_array($children))
Who are the your children ?
@foreach ($children as $child)
Child Name
{{ $child['child_name'] ?? 'Not specified' }}
Dependent
{{ $child['dependent'] ?? 'Not specified' }}
@endforeach
@else
Who are the your children ?
{{ $willsAndTest['children'] ?? 'No' }}
@endif
Guardian
@php
$guardian = json_decode($willsAndTest['guardian'], true);
$guardian_status = $willsAndTest['guardian_status'] ?? 'no';
$children = json_decode($willsAndTest['children'], true);
$has_dependent = is_array($children) && collect($children)->contains('dependent', 'yes');
@endphp
@if ($guardian_status === 'yes' && $has_dependent && is_array($guardian) && count($guardian) > 0)
@foreach ($guardian as $index => $item)
{{ $index + 1 }}. Guardian
Name
{{ $item['name'] ?? 'Not specified' }}
Country
{{ getCountry($item['country']) ?? 'Not specified' }}
State
{{ getState($item['state']) ?? 'Not specified' }}
@endforeach
@else
Guardian Details
Not specified
@endif
@if(!empty($willsAndTest['executors']))
Who will be the executor?
{{ $willsAndTest['executors'] ?? 'Not specified' }}
@endif
@if(isset($willsAndTest['alternate_executors']))
Who will be the Executors
{{ $willsAndTest['alternate_executors'] ?? 'Not specified' }}
@endif
@if(isset($willsAndTest['pets']))
Pets
{{ $willsAndTest['pets'] ?? 'Not specified' }}
@endif
@if(!empty($willsAndTest['asset_description']))
Asset Description
{{ $willsAndTest['asset_description'] ?? 'Not specified' }}
@endif
Estate and Gifts
@php
$assetBeneficiary = json_decode($willsAndTest['asset_beneficiary'], true);
@endphp
Asset Beneficiary
@if (is_array($assetBeneficiary) && $willsAndTest['asset_description'] === "no")
@foreach ($assetBeneficiary as $item)
@if(!empty($item['type']))
Type
{{ $item['type'] ?? 'Not specified' }}
@endif
@if(isset($item['type']) && $item['type'] == 'person')
@if(!empty($item['name']))
Name
{{ $item['name'] ?? 'Not specified' }}
@endif
@if(!empty($item['city']))
City
{{ $item['city'] ?? 'Not specified' }}
@endif
@if(!empty($item['state']))
State
{{ $item['state'] ?? 'Not specified' }}
@endif
@endif
@if(isset($item['type']) && $item['type'] == 'charity')
@if(!empty($item['charity_name']))
Charity Name
{{ $item['charity_name'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_registration']))
Charity Registration
{{ $item['charity_registration'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_city']))
Charity City
{{ $item['charity_city'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_state']))
Charity State
{{ $item['charity_state'] ?? 'Not specified' }}
@endif
@endif
@endforeach
@elseif($willsAndTest['asset_description'] === "yes")
Asset Beneficiary
yes
@else
Asset Beneficiary
Not specified
@endif
Do you want your spouse to receive
the assets of your estate excluding
any specific gifts to others?
@if($willsAndTest['beneficiaries'] == 'spouse')
Divided equally among your parents / sibling
@elseif($willsAndTest['beneficiaries'] == 'someone_else')
Given to someone else
@else
Not specified
@endif
@php
$wipeoutBeneficiary = json_decode($willsAndTest['wipeout_beneficiary'], true);
@endphp
@if (is_array($wipeoutBeneficiary))
How will the estate be distributed
if the testator's beneficiaries pass away
first or no longer exist when the testator dies?
@foreach ($wipeoutBeneficiary as $item)
@if(!empty($item['type']))
Type
{{ $item['type'] ?? 'Not specified' }}
@endif
@if(!empty($item['name']))
Name
{{ $item['name'] ?? 'Not specified' }}
@endif
@if(!empty($item['city']))
City
{{ $item['city'] ?? 'Not specified' }}
@endif
@if(!empty($item['state']))
State
{{ $item['state'] ?? 'Not specified' }}
@endif
@if(isset($item['type']) && $item['type'] == 'charity')
@if(!empty($item['charity_name']))
Charity Name
{{ $item['charity_name'] ?? 'Not specified' }}
@endif
@if(!empty($item['registration']))
EIN
{{ $item['registration'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_city']))
Charity City
{{ $item['charity_city'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_state']))
Charity State
{{ $item['charity_state'] ?? 'Not specified' }}
@endif
@endif
@endforeach
@else
How will the estate be distributed
if the testator's beneficiaries pass away
first or no longer exist when the testator dies?
@if($willsAndTest['beneficiaries'] == "spouse")
Divided equally among your parents / sibling
@elseif($willsAndTest['beneficiaries'] == "someone_else")
Given to someone else
@else
{{ $willsAndTest['wipeout_beneficiary'] ?? 'Not specified' }}
@endif
@endif
Additional Notes
{{ $willsAndTest['additional_notes'] ?? 'Not specified' }}
@if(!empty($willsAndTest['gift_l']))
Gift
{{ $willsAndTest['gift_l'] ?? 'Not specified' }}
@endif
Specific Gifts
{{ $willsAndTest['specific_gifts'] ?? 'Not specified' }}
@php
$specificGiftsDetails = json_decode($willsAndTest['specific_gifts_details'], true);
@endphp
@if (is_array($specificGiftsDetails))
Specific Gifts Details
@foreach ($specificGiftsDetails as $item)
{{ $loop->iteration }}. Gift
@if(!empty($item['type']))
Type
{{ $item['type'] ?? 'Not specified' }}
@endif
@if(!empty($item['name']))
Name
{{ $item['name'] ?? 'Not specified' }}
@endif
@if(!empty($item['city']))
City
{{ $item['city'] ?? 'Not specified' }}
@endif
@if(!empty($item['state']))
State
{{ getState($item['state'] ?? 'Not specified') }}
@endif
@if(!empty($item['country']))
Country
{{ getCountry($item['country'] ?? 'Not specified') }}
@endif
@if(!empty($item['leaving']))
Leaving
{{ $item['leaving'] ?? 'Not specified' }}
@endif
@if(isset($item['type']) && $item['type'] == 'charity')
@if(!empty($item['charity_name']))
Charity Name
{{ $item['charity_name'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_registration']))
Charity Registration
{{ $item['charity_registration'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_city']))
Charity City
{{ $item['charity_city'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_leaving']))
Charity Leaving
{{ $item['charity_leaving'] ?? 'Not specified' }}
@endif
@if(!empty($item['charity_state']))
Charity State
{{ $item['charity_state'] ?? 'Not specified' }}
@endif
@endif
@if (!empty($item['alternate_recipient']) && $item['alternate_recipient'] === 'yes')
Alternate Recipient Name
{{ $item['alternate_name'] ?? 'Not specified' }}
Alternate Recipient City
{{ $item['alternate_city'] ?? 'Not specified' }}
Alternate Recipient State
{{
is_numeric($item['alternate_state'] ?? null)
? getState((int) $item['alternate_state']) ?? 'Not specified'
: ($item['alternate_state'] ?? 'Not specified')
}}
@else
Alternate Recipient
No
@endif
{{-- Gap between records except after last one, and not for single record --}}
@if (!$loop->last && count($specificGiftsDetails) > 1)
{{-- adjust class or add HR line if needed --}}
@endif
@endforeach
@else
Specific Gifts Details
{{ $willsAndTest['specific_gifts_details'] ?? 'Not specified' }}
@endif
Inheritance Delay
@php
$inheritanceDelay = json_decode($willsAndTest['inheritance_delay'], true);
@endphp
Inheritance
{{ $inheritanceDelay['inheritance'] ?? 'Not specified' }}
Inheritance Age
{{ $inheritanceDelay['inheritance_age'] ?? 'Not specified' }}
@php $manageEstate = json_decode($willsAndTest['manage_estate'], true); @endphp
@if(is_array($manageEstate) && count($manageEstate) > 0)
@if (is_array($manageEstate))
@foreach ($manageEstate as $item)
{{-- Gap between records except after last one, and not for single record --}}
@if (!$loop->last && count($manageEstate) > 1)
{{-- adjust class or add HR line if needed --}}
@endif
@endforeach
@else
@endif
@endif
@php
$backupExecutor = json_decode($willsAndTest['backup_executor'], true);
@endphp
@if (is_array($backupExecutor))
@foreach ($backupExecutor as $item)
{{-- Add bottom spacing if not the last item and total > 1 --}}
@if (!$loop->last && count($backupExecutor) > 1)
or custom CSS class if needed --}}
@endif
@endforeach
@else
Final Details
Pets Status
{{ $willsAndTest['pets_status'] ?? 'Not specified' }}
@php
$petsDetails = json_decode($willsAndTest['pets_details'], true);
@endphp
@if (is_array($petsDetails))
Pets Details
@foreach ($petsDetails as $item)
@if(!empty($item['petname']))
Pet Name
{{ $item['petname'] ?? 'Not specified' }}
@endif
@if(!empty($item['petDescription']))
Pet Description
{{ $item['petDescription'] ?? 'Not specified' }}
@endif
@if(!empty($item['petFundAmount']))
Pet Fund Amount
{{ $item['petFundAmount'] ?? 'Not specified' }}
@endif
@if(!empty($item['pets_care']))
Pets Care
{{ $item['pets_care'] ?? 'Not specified' }}
@endif
@if(!empty($item['caretaker_name']))
Caretaker Name
{{ $item['caretaker_name'] ?? 'Not specified' }}
@endif
@if(!empty($item['caretaker_city']))
Caretaker City
{{ $item['caretaker_city'] ?? 'Not specified' }}
@endif
@if(!empty($item['caretaker_state']))
Caretaker State
{{ getState($item['caretaker_state'] ?? 'Not specified') }}
@endif
@endforeach
@else
Pets Details
{{ $willsAndTest['pets_details'] ?? 'Not specified' }}
@endif