@extends('layouts.adminpanel') @section('title') Panel admina - obecności @endsection @section('admin_content')
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)
All attendance records: ({{ $attendances->count() }})
@foreach ($attendances as $attendance) @endforeach
ID ID zajęc Nazwa zajęć ID studenta Imię studenta Nazwisko studenta Nr miejsca
{{ $attendance->id }} {{ $attendance->classes_id }} {{ 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 }} {{ $attendance->student_id_number }} {{ $attendance->student_name}} {{ $attendance->student_surname}} {{ $attendance->seat_number }} Usuń Edytuj
@else

Brak obecności.

@endif
@endsection