{{$month}}. {{$year}}
@if(!Auth::user()->hasRole(['student']))
@endif
|
@foreach ($days_week as $day)
{{$day->day}}
@endforeach
@php $iteration = 0 @endphp
@while($startOfCalendar <= $endOfCalendar)
@php $i = $startOfCalendar->dayOfWeek; $day = $startOfCalendar->format('d') @endphp
{{$day}}
@if(isset($time_schedule[$i]))
@foreach ( $time_schedule[$i] as $schedule)
@livewire('calendar.partials.schedule', ['schedule' => $schedule, 'startOfCalendar' => $startOfCalendar, 'show_courses' => $show_courses, 'show_teachers' => $show_teachers, 'show_groups' => $show_groups], key( $iteration.$time))
@php $iteration++; @endphp
@endforeach
@endif
@if($checkDateVariable->checkDate($startOfCalendar) && count($checkDateVariable->checkDate($startOfCalendar)) > 0)
@foreach ($checkDateVariable->checkDate($startOfCalendar) as $holiday)
{{$holiday->title}}
@endforeach
@endif
@php $startOfCalendar->addDay(); @endphp
@endwhile