@if((isset($serviceb['type']) && in_array('officiant', $serviceb['type']) ) && (isset($serviceb['type']) && $serviceb['type'][$aid] === 'officiant'))
@endif
{{-- Guests --}}
@if(isset($serviceb['type']) && in_array('guests', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'guests')
Guests
Who may attend your graveside service?
@php
$graveside_service_guestsArray = json_decode($endoflifePlanForm->graveside_service_guests, true)
@endphp
Are there any specific individuals you wish to be contacted to attend?
@if(!empty($graveside_service_guestsArray['multipleRecords']) && count($graveside_service_guestsArray['multipleRecords']) > 0)
@foreach($graveside_service_guestsArray['multipleRecords'] as $index => $graveside_service_guests)
@endforeach
@else
@endif
@endif
{{-- Music/Readings --}}
@if(isset($serviceb['type']) && in_array('music', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'music')
@php
$graveside_your_musicArray = json_decode($endoflifePlanForm->graveside_music, true)
@endphp
@endif
{{-- Speaker --}}
@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 graveside service?
@php
$speakerArray = json_decode($endoflifePlanForm->graveside_speaker, true)
@endphp
@if(!empty($endoflifePlanForm->graveside_speaker) && count($speakerArray) > 0)
@foreach($speakerArray as $index => $speaker)
@endforeach
@else
@endif
@endif
{{-- other --}}
@if(isset($serviceb['type']) && in_array('other', $serviceb['type']) && isset($serviceb['type']) && $serviceb['type'][$aid] === 'other')
@endif