@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