@php use App\Helpers\GetDay; use Carbon\Carbon; $dayNumber = 1; @endphp

Текущая неделя: @if($currentWeek['err'] !== 0) Что то сломалось: {{ $currentWeek['msg'] }} @elseif($currentWeek['week_cur'] == 1) нечетная @else четная @endif

@if($timetable['err'] !== 0)
{{ $timetable['msg'] }}
@else
@foreach($timetable[$currentWeek['week_cur']] as $day => $subjects)

@foreach($subjects as $subject) №{{ $subject['time1'] }} ({{ $subject['time_name'][0] }} - {{ $subject['time_name'][1] }}) / {{ $subject['predmet'] }} ({{ $subject['vid_name'] }})
Аудитория: {{ $subject['aname'] }}
Преподаватель: {{ $subject['fio'] }}

@endforeach
@php $dayNumber++ @endphp @endforeach
Следующая неделя
@foreach($timetable[($currentWeek['week_cur'] === 1) ? 2 : 1] as $day => $subjects)

@foreach($subjects as $subject) №{{ $subject['time1'] }} ({{ $subject['time_name'][0] }} - {{ $subject['time_name'][1] }}) / {{ $subject['predmet'] }} ({{ $subject['vid_name'] }})
Аудитория: {{ $subject['aname'] }}
Преподаватель: {{ $subject['fio'] }}

@endforeach
@php $dayNumber++ @endphp @endforeach
@endif
Профиль
Полное имя {{ $user->name }}
Email {{ $user->email }}
Имя {{ $user->first_name }}
Фамилия {{ $user->last_name }}
Отчество {{ $user->middle_name }}
Зачетная книжка {{ $user->number_record_book }}
Факультет {{ $user->faculty }}
Курс {{ $user->course }}
Группа {{ $user->group }}