{{-- * @category : "Last Will And Testament" (Will and Estate) Form's Step-Preview Page * @author : Gurupriya Solanki * @updated date : 30 May 2024 * @company : Birbals Inc * @description : This is a preview page for "Last Will And Testament" form's Steps Where User can see their all filled step's forms data and can pay to receive Attorney And Document. If payment has been successfully done then Admin will upload this document by Admin panel for particular user to send email with attachment. * Client end send the edit request if their intial payment has done and now they want to update their details then have to click on edit button from preview page then request will send to Admin. After approval by Admin client will receive an email and fron dashboard they will "Edit" Button Client has to click on that button to start update process. After update their data they have to pay as well to submit their updated details. * Data is coming from - app\Http\Controllers\Forms\LastWillAndTestamentController.php And calling function name is "createSteppreview" * Send Updated Will Document on Vtiger CRM and update path in last payment record in payments table For Free Edit ---}} @extends('layouts.frontend') @section('title', '| Last Will And Testament') @section('content') @include('frontend.forms.Will-Testament.stepIndicator') {{--start --}}
{{--step 1 --}}
@if(session('error')){{--To show error if deduct by controller--}}
{{ session('error') }}
@endif @if(session('info')){{--To show information if deduct by controller--}}
{{ session('info') }}
@endif
Last Will And Testament
{{--
ID:
{{ $willsAndTest['id'] }}
--}}
Who is this Last Will for ?
{{ $willsAndTest['a_status'] ?? 'Not specified' }}
Your Details
What is your marital status?
{{ $willsAndTest['m_status'] ?? 'Not specified' }}
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:
{{ $willsAndTest['state'] ?? 'Not specified' }}
Country:
{{ $willsAndTest['country'] ?? 'Not specified' }}
ZIP Code:
{{ $willsAndTest['zip_code'] ?? '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
Who are the your children ?
@php $children = json_decode($willsAndTest['children'], true); @endphp @if (is_array($children)) @foreach ($children as $child)
  • Child Name: {{ $child['child_name'] ?? 'Not specified' }}
  • Dependent: {{ $child['dependent'] ?? 'Not specified' }}
@endforeach @else {{ $willsAndTest['children'] ?? 'No' }} @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
Asset Beneficiary:
@php $assetBeneficiary = json_decode($willsAndTest['asset_beneficiary'], true); @endphp @if (is_array($assetBeneficiary)) @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 @else {{ $willsAndTest['asset_beneficiary'] ?? 'Yes' }} @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
How will the estate be distributed if the testator's beneficiaries pass away first or no longer exist when the testator dies?
@php $wipeoutBeneficiary = json_decode($willsAndTest['wipeout_beneficiary'], true); @endphp @if (is_array($wipeoutBeneficiary)) @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 {{ $willsAndTest['wipeout_beneficiary'] ?? 'No' }} @endif
Additional Notes:
{{ $willsAndTest['additional_notes'] ?? 'No' }}
@if(!empty($willsAndTest['gift_l']))
Gift :
{{ $willsAndTest['gift_l'] ?? 'Not specified' }}
@endif
Specific Gifts:
{{ $willsAndTest['specific_gifts'] ?? 'Not specified' }}
Specific Gifts Details:
@php $specificGiftsDetails = json_decode($willsAndTest['specific_gifts_details'], true); @endphp @if (is_array($specificGiftsDetails)) @foreach ($specificGiftsDetails 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(!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
@endforeach @else {{ $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' }}

Executor
Manage Estate Details:
@php $manageEstateDetails = json_decode($willsAndTest['manage_estate_details'], true); @endphp
  • Executor: {{ $manageEstateDetails['executor'] ?? 'Not specified' }}
  • Other Executor: {{ $manageEstateDetails['other-executor'] ?? 'Not specified' }}
@if(!empty($willsAndTest['manage_estate_executors'])) @php $manageEstateExecutors = json_decode($willsAndTest['manage_estate_executors'], true); @endphp
Manage Estate Executors:
@if (!empty($manageEstateExecutors)) @if ( is_array($manageEstateExecutors))
    @foreach ($manageEstateExecutors as $item)
    • Name: {{ $item['name'] ?? 'Not specified' }}
    • City: {{ $item['city'] ?? 'Not specified' }}
    • State: {{ $item['state'] ?? 'Not specified' }}
    @endforeach
@else {{ $willsAndTest['manage_estate_executors'] ?? 'No' }} @endif @endif
@endif @php $manageEstate = json_decode($willsAndTest['manage_estate'], true); @endphp @if(is_array($manageEstate) && count($manageEstate) > 0)
Manage Estate:
@if (is_array($manageEstate))
    @foreach ($manageEstate as $item)
  • Name: {{ $item['name'] ?? 'Not specified' }}
  • City: {{ $item['city'] ?? 'Not specified' }}
  • State: {{ $item['state'] ?? 'Not specified' }}
  • @endforeach
@else {{ $willsAndTest['manage_estate'] ?? 'No' }} @endif
@endif
Backup Executor:
@php $backupExecutor = json_decode($willsAndTest['backup_executor'], true); @endphp @if (is_array($backupExecutor)) @foreach ($backupExecutor as $item)
  • Name: {{ $item['name'] ?? 'Not specified' }}
  • City: {{ $item['city'] ?? 'Not specified' }}
  • State: {{ $item['state'] ?? 'Not specified' }}
@endforeach @else {{ $willsAndTest['backup_executor'] ?? 'No' }} @endif

Final Details
Pets Status:
{{ $willsAndTest['pets_status'] ?? 'Not specified' }}
Pets Details:
@php $petsDetails = json_decode($willsAndTest['pets_details'], true); @endphp @if (is_array($petsDetails)) @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: {{ $item['caretaker_state'] ?? 'Not specified' }}
  • @endif
@endforeach @else {{ $willsAndTest['pets_details'] ?? 'No' }} @endif
Additional Details:
{{ $willsAndTest['additional_details'] ?? 'No' }}
Created At:
{{-- {{ $willsAndTest['created_at'] ?? 'Not specified' }} --}} {{ isset($willsAndTest['created_at']) ? date('m/d/Y h:i A', strtotime($willsAndTest['created_at'])) : 'Not specified' }} (EST)
Updated At:
{{-- {{ $willsAndTest['updated_at'] ?? 'Not specified' }} --}} {{ isset($willsAndTest['updated_at']) ? date('m/d/Y h:i A', strtotime($willsAndTest['updated_at'])) : 'Not specified' }} (EST)
{{--Showing Message when click on Edit Button in Modal: Starts here--}} @include('frontend.modals.editRequestOptionPopup') {{--Showing Message when click on Edit Button in Modal: Ends here--}} {{--Showing Disclaimer when click on Edit Submit Button in Modal: Starts here--}} @include('frontend.modals.editSubmitDisclaimerPopup') {{--ShowingDisclaimer Message when click on Edit Submit Button in Modal: Ends here--}} @endsection @section('page-js') @if($willsAndTest->edit_request_data) {{-- /* * Author: Vidhi Shah * Updated date: 26th Mar 2024 * Description: Add edit option for paid forms */ --}} @else {{-- /* * Author: Gurupriya Solanki * Company: Birbals Inc. * Created date: 18 April 2024 * Description: This Modal Pop is showing when Client is click on Edit button to show Disclaimer. Then after confirm Edit request will send to Admin and sending email as well. If Request is already sent then this modal will not show */ --}} @endif @endsection