@extends('home') @section('title') Mój Panel - Obecności @endsection @section('user_content')

Wszystkie obecności: ({{ $attendances->count() }})

Dodaj obecność

@csrf
@error('classes_id') {{ $message }} @enderror
@error('student_id') {{ $message }} @enderror
@error('student_name') {{ $message }} @enderror
@error('student_surname') {{ $message }} @enderror
@error('seat_number') {{ $message }} @enderror
@if ($attendances->count() > 0)
@foreach ($attendances_grouped as $attendances_group_name => $attendances_list) @if($attendances_group_name) @if($grouped_by == 'classes_id')
{{ App\Subject::find(App\Classes::find($attendances_group_name)->subject_id)->name }}, {{ App\Classes::find($attendances_group_name)-> date }} {{ App\Subject::find(App\Classes::find($attendances_group_name)->subject_id)->time }} ({{ $attendances_list->count() }})
@else
{{ $attendances_group_name }} ({{ $attendances_list->count() }})
@endif @else
Inne ({{ $attendances_list->count() }})
@endif @foreach ($attendances_list as $attendance) @endforeach
Nazwa zajęć Nr indeksu Imię studenta Nazwisko studenta Nr miejsca
{{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->name }}, {{ App\Classes::find($attendance->classes_id)-> date }} {{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->time }}, sala {{ App\Room::find(App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->room_id)->name }} {{ $attendance->student_id_number }} {{ $attendance->student_name}} {{ $attendance->student_surname}} {{ $attendance->seat_number }} Usuń
@endforeach
@else

Brak zarejestrowantch obecności.

@endif
@endsection