@if($selfCollectionData && $selfCollectionData->timeslots->count() >0 ) @foreach($selfCollectionData->timeslots as $data) @php $bookingStatus = $invoice->getStatusOfTimeSlot($data->id); $start_time = date('h:i a',strtotime($data->start_time)); $end_time = date('h:i a',strtotime($data->end_time)); @endphp
@if($bookingStatus) @endif
{{--
{{ $start_time." - ".$end_time }} @if($bookingStatus) Available @else Fully Booked @endif
--}} @endforeach @else
No Time Slots!
@endif