@extends('layouts.v2.frontend-user-backend') @section('title', '| Home') @section('content')

Welcome {{ Auth::user()->name }}!

@if(isset($UserPaymentOrderData) && $UserPaymentOrderData->isNotEmpty()) @if ($message = Session::get('order_history_success'))
{{ $message }}
@endif @if(isset($order_history_error) || $order_history_error = Session::get('order_history_error'))
{{ $order_history_error }}
@endif

Completed Orders

@include('frontend.forms.v2.orders.completedorderHistoryTable')
{{ $UserPaymentOrderData->links() }} @endif
{{-- Developer: Theshan Thanushka Date: 2024-03-28 This line of code generates a welcome message for the authenticated user by accessing their name through the Auth facade. --}}

Welcome {{ Auth::user()->name }}!

Donec quis mauris sed mi fermentum ultricies sed sit amet leo. Pellentesque ac congue ligula. Etiam at ipsum at enim faucibus porttitor ac vel eros.

Estate, Wills, and power of attorney forms

Create an estate plan Not sure which plan is right for you?   Take the quiz.
Wills and estate

Forms for creating and amending your Will, and giving gifts.

Health care planning

Documents to specify health care wishes and permissions for an individual or child.

@if(($willsAndTest && $willsAndTest->calculatePercentage(auth()->user()->id) > 0) || ($pourOverWillForm && $pourOverWillForm->calculatePercentage(auth()->user()->id) > 0) || ($endoflifePlanForm && $endoflifePlanForm->calculatePercentage(auth()->user()->id) > 0) || ($livingWillForm && $livingWillForm->calculatePercentage(auth()->user()->id) > 0) || ($revocableTrust && $revocableTrust->calculatePercentage(auth()->user()->id) > 0))

Your Recent Activity

@endif {{-- /* * Author: Gurupriya Solanki * Updated date: 21 June 2024 * Description: Error message Showing if any code error exist during forms steps. from all form's controller */ --}} @if(session('error'))
{{ session('error') }}
@endif
Last Will and Testament
Will and Estate
@if($willsAndTest) @if(($willsAndTest['payment_status'] === "succeeded" || $willsAndTest['payment_status'] === "paid") || ($willsAndTest['payment_status'] !== "succeeded" && $willsAndTest['payment_status'] !== "paid" && $willsAndTest['edit_count'] > 0)) @endif @endif
@if($willsAndTest) @if(($willsAndTest['free_edit_option_show'] == true) || ($willsAndTest->edit_request_data && $willsAndTest->edit_request_data->approve_status == "1" && $willsAndTest->edit_request_data->edit_status == "1"))

Edit

@elseif( ($willsAndTest['free_edit_option_show'] == false && ($willsAndTest['payment_status'] === "succeeded" || $willsAndTest['payment_status'] === "paid") ) || ($willsAndTest->calculatePercentage(auth()->user()->id)) == "100" || ($willsAndTest->edit_request_data && $willsAndTest->edit_request_data->edit_status == "1"))

Preview

@else

Drafted | {{$willsAndTest->calculatePercentage(auth()->user()->id)."%"}}

@if (isset($willsAndTest['currentStep'])) @php $currentStepRouteLWT = "willsAndTest.create.step." . $willsAndTest['currentStep']; @endphp @else @php $currentStepRouteLWT = 'willsAndTestForm'; @endphp @endif

Complete Now

@endif @else

Start

@endif @if($willsAndTest) @if(($willsAndTest) && ($willsAndTest['payment_status'] === "succeeded" || $willsAndTest['payment_status'] === "paid") || ($willsAndTest['payment_status'] !== "succeeded" && $willsAndTest['payment_status'] !== "paid" && $willsAndTest['edit_count'] > 0))

Under Process

Your document is currently under process. Please be patient, and we'll notify you once it's completed.
@endif @endif
Pour-Over Will
Will and Estate
@if($pourOverWillForm) @if(($pourOverWillForm['payment_status'] === "succeeded" || $pourOverWillForm['payment_status'] === "paid") || ($pourOverWillForm['payment_status'] !== "succeeded" && $pourOverWillForm['payment_status'] !== "paid" && $pourOverWillForm['edit_count'] > 0)) @endif @endif
@if($pourOverWillForm) @if(($pourOverWillForm['free_edit_option_show'] == true) || ($pourOverWillForm->edit_request_data && $pourOverWillForm->edit_request_data->approve_status == "1" && $pourOverWillForm->edit_request_data->edit_status == "1"))

Edit

@elseif( ($pourOverWillForm['free_edit_option_show'] == false && ($pourOverWillForm['payment_status'] === "succeeded" || $pourOverWillForm['payment_status'] === "paid") ) || ($pourOverWillForm->calculatePercentage(auth()->user()->id) == "100") || ($pourOverWillForm->edit_request_data && $pourOverWillForm->edit_request_data->edit_status == "1") )

Preview

@else

Drafted | {{$pourOverWillForm->calculatePercentage(auth()->user()->id)."%"}}

@if (isset($pourOverWillForm['currentStep'])) @php $currentStepRoutePOW = "pourOverWillForm.create.step." . $pourOverWillForm['currentStep']; @endphp @else @php $currentStepRoutePOW = 'pourOverWillForm'; @endphp @endif

Complete Now

@endif @else

Start

@endif @if($pourOverWillForm) @if($pourOverWillForm && ($pourOverWillForm['payment_status'] === "succeeded" || $pourOverWillForm['payment_status'] === "paid") || ($pourOverWillForm['payment_status'] !== "succeeded" && $pourOverWillForm['payment_status'] !== "paid" && $pourOverWillForm['edit_count'] > 0))

Under Process

Your document is currently under process. Please be patient, and we'll notify you once it's completed.
@endif @endif
End-of-Life Plan
Will and Estate
@if($endoflifePlanForm) @if(($endoflifePlanForm['payment_status'] === "succeeded" || $endoflifePlanForm['payment_status'] === "paid") || ($endoflifePlanForm['payment_status'] !== "succeeded" && $endoflifePlanForm['payment_status'] !== "paid" && $endoflifePlanForm['edit_count'] > 0)) @endif @endif
@if($endoflifePlanForm) @if(($endoflifePlanForm['free_edit_option_show'] == true) || ($endoflifePlanForm->edit_request_data && $endoflifePlanForm->edit_request_data->approve_status == "1" && $endoflifePlanForm->edit_request_data->edit_status == "1"))

Edit

@elseif( ($endoflifePlanForm['free_edit_option_show'] == false && ($endoflifePlanForm['payment_status'] === "succeeded" || $endoflifePlanForm['payment_status'] === "paid") ) || ($endoflifePlanForm->calculatePercentage(auth()->user()->id) == "100") || ( $endoflifePlanForm->edit_request_data && $endoflifePlanForm->edit_request_data->edit_status == "1"))

Preview

@else

Drafted | {{$endoflifePlanForm->calculatePercentage(auth()->user()->id)."%"}}

@if (isset($endoflifePlanForm['currentStep'])) @php $currentStepRouteEOL = "endoflifePlan.create.step." . $endoflifePlanForm['currentStep']; @endphp @else @php $currentStepRouteEOL = 'EndoflifePlanForm'; @endphp @endif

Complete Now

@endif @else

Start

@endif @if($endoflifePlanForm) @if($endoflifePlanForm && ($endoflifePlanForm['payment_status'] === "succeeded" || $endoflifePlanForm['payment_status'] === "paid") || ($endoflifePlanForm['payment_status'] !== "succeeded" && $endoflifePlanForm['payment_status'] !== "paid" && $endoflifePlanForm['edit_count'] > 0))

Under Process

Your document is currently under process. Please be patient, and we'll notify you once it's completed.
@endif @endif
Living Will
Will and Estate
@if($livingWillForm) @if(($livingWillForm['payment_status'] === "succeeded" || $livingWillForm['payment_status'] === "paid") || ($livingWillForm['payment_status'] !== "succeeded" && $livingWillForm['payment_status'] !== "paid" && $livingWillForm['edit_count'] > 0)) @endif @endif
@if($livingWillForm) @if(($livingWillForm['free_edit_option_show'] == true) || ($livingWillForm->edit_request_data && $livingWillForm->edit_request_data->approve_status == "1" && $livingWillForm->edit_request_data->edit_status == "1"))

Edit

@elseif(($livingWillForm['free_edit_option_show'] == false && ($livingWillForm['payment_status'] === "succeeded" || $livingWillForm['payment_status'] === "paid") ) || ($livingWillForm->calculatePercentage(auth()->user()->id) == "100") || ($livingWillForm->edit_request_data && $livingWillForm->edit_request_data->edit_status == "1"))

Preview

@else

Drafted | {{$livingWillForm->calculatePercentage(auth()->user()->id)."%"}}

@if (isset($livingWillForm['currentStep'])) @php $currentStepRouteLWF = "livingwill.create.step." . $livingWillForm['currentStep']; @endphp @else @php $currentStepRouteLWF = 'LivingWillForm'; @endphp @endif

Complete Now

@endif @else

Start

@endif @if($livingWillForm) @if($livingWillForm && ($livingWillForm['payment_status'] === "succeeded" || $livingWillForm['payment_status'] === "paid") || ($livingWillForm['payment_status'] !== "succeeded" && $livingWillForm['payment_status'] !== "paid" && $livingWillForm['edit_count'] > 0))

Under Process

Your document is currently under process. Please be patient, and we'll notify you once it's completed.
@endif @endif
Revocable Living Trust
Will and Estate
@if($revocableTrust) @if(($revocableTrust['payment_status'] === "succeeded" || $revocableTrust['payment_status'] === "paid") || ($revocableTrust['payment_status'] !== "succeeded" && $revocableTrust['payment_status'] !== "paid" && $revocableTrust['edit_count'] > 0)) @endif @endif
@if($revocableTrust) @if(($revocableTrust['free_edit_option_show'] == true) || ($revocableTrust->edit_request_data && $revocableTrust->edit_request_data->approve_status == "1" && $revocableTrust->edit_request_data->edit_status == "1"))

Edit

@elseif(($revocableTrust['free_edit_option_show'] == false && ($revocableTrust['payment_status'] === "succeeded" || $revocableTrust['payment_status'] === "paid") ) || ($revocableTrust->calculatePercentage(auth()->user()->id))== "100" || ( $revocableTrust->edit_request_data && $revocableTrust->edit_request_data->edit_status == "1"))

Preview

@else

Drafted | {{$revocableTrust->calculatePercentage(auth()->user()->id)."%"}}

@if (isset($revocableTrust['last_step'])) @php $currentStepRouteRLT = "RevocableLivingTrust.create.step." . $revocableTrust['last_step']; @endphp @else @php $currentStepRouteRLT = 'RevocableLivingTrustForm'; @endphp @endif

Complete Now

@endif @else

Start

@endif @if($revocableTrust) @if($revocableTrust && ($revocableTrust['payment_status'] === "succeeded" || $revocableTrust['payment_status'] === "paid") || ($revocableTrust['payment_status'] !== "succeeded" && $revocableTrust['payment_status'] !== "paid" && $revocableTrust['edit_count'] > 0))

Under Process

Your document is currently under process. Please be patient, and we'll notify you once it's completed.
@endif @endif
@if(isset($UserPaymentOrderData) && $UserPaymentOrderData->isNotEmpty())

Completed Orders

@if ($message = Session::get('order_history_success'))
{{ $message }}
@endif @if(isset($order_history_error) || $order_history_error = Session::get('order_history_error'))
{{ $order_history_error }}
@endif
@include('frontend.forms.orders.completedorderHistoryTable')
{{ $UserPaymentOrderData->links() }}
@endif

Pick up your answers

@foreach ($answers as $answer)
Answer Image

{{ $answer->question }}

{{ $answer->briefly }}

@endforeach
@endsection @section('page-js') @endsection