Morning

@if(isset($slots['data']['morning']) && !empty($slots['data']['morning'])) @foreach($slots['data']['morning'] as $key=>$m_s)
@if(count($m_s)==1) @foreach($m_s as $a_key=>$sub_slots) @endforeach @else
@php $last_key= array_key_last($m_s); @endphp @foreach($m_s as $a_key=>$sub_slots)
@endforeach
@endif
@endforeach @else
@if($request->has('is_master_stylist') && $request->is_master_stylist==1)

No availability at this time with a Master Stylist. Remove filter to see more availability, or update your cart.

@else

No availability at this time for all your selected services update your cart to see more availability

@endif
@endif

Afternoon

@if(isset($slots['data']['afternoon']) && !empty($slots['data']['afternoon'])) @foreach($slots['data']['afternoon'] as $key=>$m_a)
@if(count($m_a)==1) @foreach($m_a as $a_key=>$sub_slots_a) @endforeach @else
@php $a_last_key= array_key_last($m_a); @endphp @foreach($m_a as $a_key=>$sub_slots_a_m)
@endforeach
@endif
@endforeach @else
@if($request->has('is_master_stylist') && $request->is_master_stylist==1)

No availability at this time with a Master Stylist. Remove filter to see more availability, or update your cart.

@else

No availability at this time for all your selected services update your cart to see more availability

@endif
@endif

Evening

@if(isset($slots['data']['evening']) && !empty($slots['data']['evening'])) @foreach($slots['data']['evening'] as $key_e=>$m_e)
@if(count($m_e)==1) @foreach($m_e as $a_key=>$sub_slots_e) @endforeach @else
@php $e_last_key= array_key_last($m_e); @endphp @foreach($m_e as $a_key=>$sub_slots_e_m)
@endforeach
@endif
@endforeach @else
@if($request->has('is_master_stylist') && $request->is_master_stylist==1)

No availability at this time with a Master Stylist. Remove filter to see more availability, or update your cart.

@else

No availability at this time for all your selected services update your cart to see more availability

@endif
@endif