@foreach($weekDay as $day => $shortWeekDay) @php($isValid = $hospitalSchedules->where('day_of_week',$day)->count() != 0) @endforeach
@if($hospitalSchedule = $hospitalSchedules->where('day_of_week',$day)->first()) @include('hospital_schedule.slot',['slot' => $slots,'day' => $day,'hospitalSchedule' => $hospitalSchedule]) @else @include('hospital_schedule.slot',['slot' => $slots,'day' => $day]) @endif
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary', 'id' => 'btnHospitalScheduleSave','data-loading-text' => " Processing..."]) }}