@if(isset($serviceb['type']) && in_array('location', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'location')
Visitation Location
Where will your visitation be held?
@php
$visitation_location = json_decode($endoflifePlanForm->visitation_service_location, true);
@endphp
@endif
@if(isset($serviceb['type']) && in_array('guests', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'guests')
@php
$receive_your_ashesArray = json_decode($endoflifePlanForm->visitation_service_guests, true)
@endphp
Guests
Who may attend your visitation?
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->visitation_service_music, true)
@endphp
@endif
@if(isset($serviceb['type']) && in_array('speakers', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'speakers')
Speaker
Who would you like to speak at your visitation?
@php
$speakerArray = json_decode($endoflifePlanForm->visitation_service_speaker, true)
@endphp
@if(!empty($endoflifePlanForm->visitation_service_speaker) && count($speakerArray) > 0)
@foreach($speakerArray as $index => $speaker)
@endforeach
@else
@endif
@endif
@if(isset($serviceb['type']) && in_array('other', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'other')
@endif