@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
@endif
@if(isset($serviceb['type']) && in_array('officiant', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'officiant')
@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)
@endforeach
@else
@endif
@endif
@if(isset($serviceb['type']) && in_array('ashes', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'ashes')
@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
@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)
@endforeach
@else
@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?
@endif
@if(isset($serviceb['type']) && in_array('other', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'other')
@endif