@extends('layouts.v2.frontend-user-backend') @section('title', '| Pour-Over Will Form') @section('content') @include('frontend.forms.v2.Pour-Over-Will.stepIndicator')
Pour Over Will form summary
@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

Pour Over Will

A pour-over will ensures that any remaining assets not included in your trust are seamlessly transferred into it, offering peace of mind and safeguarding your estate’s integrity. Create a personalized, secure end-of-life plan that ensures your wishes are honored while providing peace of mind for you and your loved ones.


ID {{ $pourOverWillForm['id'] }}
Will your Last Will be used with a Living Trust? {{ $pourOverWillForm['with_trust'] }}

Children

{{-- {{ $pourOverWillForm['children'] ?? 'Not specified' }} --}} @php $pchildrens = json_decode($pourOverWillForm['children'], true); @endphp @if (is_array($pchildrens)) @foreach ($pchildrens as $pchildren)
Child {{$loop->iteration}} Name: {{ $pchildren['name'] ?? 'Not specified' }}
Dependent: {{ $pchildren['dependent'] ?? 'Not specified' }}
@endforeach @else
Who are the your children? {{ $pourOverWillForm['children'] ?? 'No' }}
@endif

Guardian

@php $guardian = json_decode($pourOverWillForm['guardian'], true); $guardian_status = $pourOverWillForm['guardian_status'] ?? 'no'; $children = json_decode($pourOverWillForm['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 {{ $item['country_name'] ?? 'Not specified' }}
State {{ $item['state_name'] ?? 'Not specified' }}
@endforeach @else
Guardian Details Not specified
@endif

Gifts

@php $gift = json_decode($pourOverWillForm['gift'], true); @endphp @if (is_array($gift))

Do you want to leave any specific gifts
in your Pour-Over Will?

@foreach ($gift as $item)
Type {{ $item['type'] ?? 'Not specified' }}
@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_name'] ?? 'Not specified' }}
@endif @if(!empty($item['country']))
Country {{ $item['country_name'] ?? 'Not specified' }}
@endif @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_name'] ?? 'Not specified' }}
@endif @if(!empty($item['charity_country']))
Charity Country {{ $item['charity_country_name'] ?? 'Not specified' }}
@endif @if(!empty($item['describe_gift']))
Describe Gift {{ $item['describe_gift'] ?? 'Not specified' }}
@endif @if(!empty($item['alternate_name']))
Alternate Name {{ $item['alternate_name'] ?? 'Not specified' }}
@endif @if(!empty($item['alternate_city']))
Alternate City {{ $item['alternate_city'] ?? 'Not specified' }}
@endif @if(!empty($item['alternate_state']))
Alternate State {{ $item['alternate_state_name'] ?? 'Not specified' }}
@endif @if(!empty($item['alternate_country']))
Alternate Country {{ $item['alternate_country_name'] ?? 'Not specified' }}
@endif @endforeach @else
Do you want to leave any specific gifts
in your Pour-Over Will?
{{ 'Not specified' }}
@endif

Trust Details

Trust Name {{ $pourOverWillForm['trust_name'] ?? 'Not specified' }}
Signing Date {{ $pourOverWillForm['signing_date'] ? date('m/d/Y ', strtotime($pourOverWillForm['signing_date'])) : 'Not specified' }}

Who is this Pour-Over Will being created for?

Name {{ $pourOverWillForm['full_name'] ?? 'Not specified' }}
Street Address1 {{ $pourOverWillForm['street_1'] ?? 'Not specified' }}
Street Address2 {{ $pourOverWillForm['street_2'] ?? 'Not specified' }}
City {{ $pourOverWillForm['city'] ?? 'Not specified' }}
State {{ $pourOverWillForm['state_name'] ?? 'Not specified' }}
Country {{ $pourOverWillForm['country_name'] ?? 'Not specified' }}
ZIP Code {{ $pourOverWillForm['zip_code'] ?? 'Not specified' }}

@php $executors = json_decode($pourOverWillForm['executors'], true); @endphp @if (is_array($executors))

Executor

@foreach ($executors as $executor)
Name {{ $executor['name'] ?? 'Not specified' }}
City {{ $executor['city'] ?? 'Not specified' }}
State {{ $executor['state_name'] ?? 'Not specified' }}
Country {{ $executor['country_name'] ?? 'Not specified' }}
@endforeach @else
Executor {{ 'Not specified' }}
@endif @php $alternateExecutors = json_decode($pourOverWillForm['alternate_executors'], true); @endphp @if (is_array($alternateExecutors))

Alternate Executors

@foreach ($alternateExecutors as $alternateExecutor)
Name {{ $alternateExecutor['name'] ?? 'Not specified' }}
City {{ $alternateExecutor['city'] ?? 'Not specified' }}
State {{ $alternateExecutor['state_name'] ?? 'Not specified' }}
Country {{ $alternateExecutor['country_name'] ?? 'Not specified' }}
@endforeach @else
Alternate Executors {{ 'Not specified' }}
@endif

Final Details

Additional Details {{-- {{ $pourOverWillForm['additional_details'] ?? 'Not specified' }} --}} @php $detailsadditional = $pourOverWillForm['additional_details'] ?? ''; $decoded = json_decode($detailsadditional, true); @endphp @if(is_array($decoded))
    @foreach($decoded as $item)
  • {{ $item['additional_note'] ?? '—' }}
  • @endforeach
@elseif(!empty($detailsadditional)) {{ $detailsadditional }} {{-- show raw string if not valid JSON --}} @else No @endif

Signing Details

@php $signingDetails = json_decode($pourOverWillForm['signing_details'], true); @endphp @if(isset($signingDetails['type']) && $signingDetails['type'] == "Specific Date")
Type {{ $signingDetails['type'] ?? 'Not specified' }}
Date {{ $signingDetails['specific_date'] ? date('m/d/Y ', strtotime($signingDetails['specific_date'])) : 'Not specified' }}
City {{ $signingDetails['unsure_city'] ?? 'Not specified' }}
@else
Type {{ $signingDetails['type'] ?? 'Not specified' }}
Unsure City {{ $signingDetails['unsure_city'] ?? 'Not specified' }}
@endif
Created At {{ isset($pourOverWillForm['created_at']) ? date('m/d/Y h:i A', strtotime($pourOverWillForm['created_at'])) : 'Not specified' }} (EST)
Updated At {{ isset($pourOverWillForm['updated_at']) ? date('m/d/Y h:i A', strtotime($pourOverWillForm['updated_at'])) : 'Not specified' }} (EST)
{{--START = *If payment has been done then client can not able to edit form. But they have to click in "Edit" Button from Preview page. The Request will be send to Admin. If Admin Approve their Edit Request then Client will receive And email And Can see the Edit Button on Dashboard. When Client is click on that button then edit_status will be 1 in db table. then Client can start the update process. And they have to have to for submit their details. * To update edit_status, edit_count check the function - upadateStatusIfClickOnEdit in app\Classes\HandleUserEditFormRequest.php which is callling in index function for every form controller. --}} {{-- @if (isset($pourOverWillForm['currentStep'])) @php $currentStepRoutePOW = "pourOverWillForm.create.step." . $pourOverWillForm['currentStep']; @endphp @else @php $currentStepRoutePOW = 'pourOverWillForm'; @endphp @endif --}} @php $currentStepRoutePOW = 'pourOverWillForm.resetForm'; @endphp @if (($pourOverWillForm['payment_status'] !== 'succeeded' && $pourOverWillForm['payment_status'] !== 'paid') || (($pourOverWillForm->edit_request_data) && ($pourOverWillForm->edit_request_data->approve_status == "1") && ($pourOverWillForm->edit_request_data->edit_status !== "0") && ($pourOverWillForm->edit_request_data->payment_status !== 'succeeded' && $pourOverWillForm->edit_request_data->payment_status !== 'paid') )) {{---To saving will document preview data --START--}}
@csrf
{{---To saving will document preview data--- END--}} {{--Open Payment Process Separate Page----START--}} {{---To Check if payment has not done and status is NULL or empty then paynow buttun will show--}} {{-- it will redirect to payment process page after take required data from here and post it to that page --}}
@csrf {{--START - After intial payment now if client want to update their details then they to pay again.Payment Form will be same only price will be changed So thats why only button name has changed--}} @if(($pourOverWillForm->edit_request_data && $pourOverWillForm->edit_request_data->approve_status == '1') || ($pourOverWillForm['edit_status'] > 0)) @php $paynow = "Submit"; // Payment for updating details $edit_submit_modal_id = "edit_submit_disclaimer"; // Showing Edit Disclaimer Message before "payment process form" by this Modal id @endphp @else @php $paynow = 'Pay Now'; // Initial Payment $edit_submit_modal_id = ''; @endphp @endif {{--END - After intial payment now if client want to update their details then they to pay again.Payment Form will be same only price will be changed--}} @if(!$record_completion) @else @endif
{{--Open Payment Process Separate Page----END--}} @else {{-- /* * Author: Gurupriya Solanki * Updated date: 24 May 2024 * Description: Free Edit Save * Send Updated Will Document on Vtiger CRM and update path in last payment record in payments table For Free Edit Save * After payment has done we are sending document to Vtiger CRM and updating path in payments table by payment Controller. But As we have Free Edit Functionlity and At that time we dont have "Pay Now" option so We are updating the pdf by "Save" Button. Vtiger Storing as new latest pdf and path will update in payment table. */ --}} @if($pourOverWillForm->free_edit_option_show == true) {{---To saving will document preview data --START--}}
@csrf {{--for unique identify to call vtiger function in controller--}}
{{---To saving will document preview data--- END--}} @else {{-- /* * Author: Vidhi Shah * Updated date: 26th Mar 2024 * Description: Add edit option for paid forms */ --}} @endif @endif {{--END = If payment has been done then client can not able to edit form --}}
{{-- /** * Author : Gurupriya Solanki * Description : After Approve Form Edit Request User can Cancel that request * Created Date : 15 Jan 2025 */ --}} @if($pourOverWillForm->cancel_edit_request_data && ($pourOverWillForm->cancel_edit_request_data->payment_status !== 'succeeded' && $pourOverWillForm->cancel_edit_request_data->payment_status !== 'paid') && $pourOverWillForm->cancel_edit_request_data->approve_status == 1 )

*To cancel the edit request, Click Here

@endif
@include('frontend.modals.paynowPopup') {{-- Payment modal --}} @include('frontend.modals.commanPaymentModal') {{-- Payment modal:Ends --}} {{-- 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--}} {{-- /** * Author : Gurupriya Solanki * Description : After Approve Form Edit Request User can Cancel that request * Created Date : 15 Jan 2025 */ Showing Confirmation to Cancel edit Request Modal: Starts here--}} @include('frontend.modals.cancelFormEditRrequest') {{--Showing Confirmation to Cancel edit Request Modal: Ends here--}} @endsection @section('page-js') @if($pourOverWillForm->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 {{-- /** * Author : Gurupriya Solanki * Description : After Approve Form Edit Request User can Cancel that request * Created Date : 15 Jan 2025 */ --}} @if($pourOverWillForm->cancel_edit_request_data && ($pourOverWillForm->cancel_edit_request_data->payment_status !== 'succeeded' && $pourOverWillForm->cancel_edit_request_data->payment_status !== 'paid') && $pourOverWillForm->cancel_edit_request_data->approve_status == 1 ) @endif @endsection