@extends('home') @section('title') Mój Panel - Zajęcia @endsection @section('user_content')

Sprawdź obecność

@csrf
@error('subject_id') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@if ($classes->count() > 0)

Moje zajęcia: ({{ $classes->count() }})

@foreach ($classes_grouped as $classes_group_name => $classes_list) @if($classes_group_name) @if($grouped_by == 'subject_id')
{{ App\Subject::find($classes_group_name)->name }}, {{ App\Subject::find($classes_group_name)->weekday }} {{ App\Subject::find($classes_group_name)->time }} ({{ $classes_list->count() }})
@else
{{ $classes_group_name }} ({{ $classes_list->count() }})
@endif @else
Inne ({{ $classes_list->count() }})
@endif @foreach ($classes_list as $classes_item) @endforeach
Nazwa przedmiotu Data
{{ App\Subject::find($classes_item->subject_id)->name }}, {{ App\Subject::find($classes_item->subject_id)->weekday }} {{ App\Subject::find($classes_item->subject_id)->time }}, sala {{ App\Room::find(App\Subject::find($classes_item->subject_id)->room_id)->name }} {{ $classes_item->date }} @if($classes_item->classes_code) Kontynuuj zapisy @endif Zobacz podgląd sali Usuń
@endforeach
@else

Brak zajęć.

@endif
@endsection