@extends('layouts.v2.frontend-user-backend') @section('title', '| FREE END-OF-LIFE PLAN') @section('content') @include('frontend.forms.v2.End-Of-Life-Plan.stepIndicator')
@csrf @php $aid = request()->input('aid') ?? 0; $typeStep = request()->input('step') ?? $serviceb['type'][$aid]; @endphp
@if(isset($serviceb['type']) && in_array('location', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'location')

Funeral location

Where will your funeral be held?

@php $visitation_location = json_decode($endoflifePlanForm->funeral_service_location, true); @endphp
e.g. Kendrick Funeral Home, my home
e.g. Street, City, State ZIP Code
@endif @if(isset($serviceb['type']) && in_array('officiant', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'officiant')

Officiant

Who will be your officiant?

@php $officiant = json_decode($endoflifePlanForm->funeral_service_officiant, true); @endphp
Frequently Asked Questions

What is an officiant?

An officiant, sometimes known as a celebrant, functions as the master of ceremonies at a funeral or other service. For those who are religious, an officiant might be a religious leader; however, you can also hire an officiant or ask a friend or family member. An officiant's responsibilities can include greeting guests at the door, conducting the service, and directing guests to the graveside or reception.
@endif @if(isset($serviceb['type']) && in_array('guests', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'guests') @php $receive_your_ashesArray = json_decode($endoflifePlanForm->funeral_service_guests, true) @endphp

Guests

Who may attend your funeral?

Are there any specific individuals you wish to be contacted to attend?

@if(!empty($receive_your_ashesArray['multipleRecords']) && count($receive_your_ashesArray['multipleRecords']) > 0) @foreach($receive_your_ashesArray['multipleRecords'] as $index => $receive_your_ashes)
Individual
Remove
e.g. Street, City, State ZIP Code
@endforeach @else
Individual
Remove
e.g. Street, City, State ZIP Code
@endif
@endif @if(isset($serviceb['type']) && in_array('ashes', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'ashes')

Viewing

Do you wish to have your ashes present?

funeral_ashes_present) && $endoflifePlanForm->funeral_ashes_present == 'yes' ? "checked" : ''}}>
funeral_ashes_present) && $endoflifePlanForm->funeral_ashes_present == 'no' ? "checked" : ''}}>
@endif @if(isset($serviceb['type']) && in_array('music', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'music') @php $receive_your_ashesArray = json_decode($endoflifePlanForm->funeral_service_music, true) @endphp

Funeral details

e.g. I would like classical music by Beethoven to be playing during the visitation.
e.g. I would like my sister to read "The Dash" by Linda Ellis.
@endif @if(isset($serviceb['type']) && in_array('eulogy', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'eulogy')

Eulogy

Who would you like to speak at your visitation?

@php $speakerArray = json_decode($endoflifePlanForm->funeral_eulogist, true) @endphp @if(!empty($endoflifePlanForm->funeral_eulogist) && count($speakerArray) > 0) @foreach($speakerArray as $index => $speaker)
Eulogist
Remove
e.g. Street, City, State ZIP Code
@endforeach @else
Eulogist
Remove
e.g. Street, City, State ZIP Code
@endif
@endif @if(isset($serviceb['type']) && in_array('reception', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'reception')

Reception

What instructions do you have for your post-funeral reception?

You can include instructions for the location (usually the same location as the funeral), flowers, music, food, and drinks.
@php $visitation_instructionsArray = json_decode($endoflifePlanForm->funeral_reception, true) @endphp @if(!empty($visitation_instructionsArray) && count($visitation_instructionsArray) > 0) @foreach($visitation_instructionsArray as $index => $details)
Describe your wishes in complete sentences:
Remove
e.g. I would like my husband to give a toast and speech at my visitation.
@endforeach @else
Describe your wishes in complete sentences:
Remove
e.g. I would like my husband to give a toast and speech at my visitation.
@endif
@endif @if(isset($serviceb['type']) && in_array('other', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'other')

Additional instructions

Do you wish to include any other instructions regarding your funeral?

funeral_additional_instructions) ? 'checked' : '' }}>
funeral_additional_instructions) ? 'checked' : '' }}>
@php $visitation_instructionsArray = json_decode($endoflifePlanForm->funeral_additional_instructions, true) @endphp @if(!empty($endoflifePlanForm->funeral_additional_instructions) && count($visitation_instructionsArray) > 0) @foreach($visitation_instructionsArray as $index => $details)
Describe your wishes in complete sentences:
Remove
e.g. I would like my husband to give a toast and speech at my visitation.
@endforeach @else
Describe your wishes in complete sentences:
Remove
e.g. I would like my husband to give a toast and speech at my visitation.
@endif
@endif
@foreach ($serviceb['type'] as $service) @if ($service === $typeStep) @if ($aid == 0) @else @endif @endif @endforeach {{-- --}}
@endsection @section('page-js') @endsection