@extends('edufair.layouts.master') @section('content')

Event Schedules

@php $keyDataValue=1; @endphp @while(strtotime($start_date) <= strtotime($end_date)) @php $currentDate = date('Y-m-d',strtotime($start_date)); @endphp
@foreach($schedules as $schedule) @if(\App\Edufair\SpeakerDuty::where('id',$schedule->id)->where('date',$currentDate)->count()>0)
{{date('H:i A',strtotime($schedule->start_time))}} - {{date('H:i A',strtotime($schedule->end_time))}} Workshop
@endif @endforeach {{--
--}} {{--More Details--}} {{--
--}}
@php $keyDataValue+=1; $start_date = date ("Y-m-d", strtotime("+1 day", strtotime($start_date))); @endphp @endwhile
@endsection @section('after_js') @if(!(\Illuminate\Support\Facades\Auth::check())) @endif