@extends('layouts.map') @section('title') Podgląd sali @endsection @section('map_meta') @endsection @section('map_content')

{{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->name }}, {{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->weekday }} {{ App\Classes::find($classes_id)->date }} {{ App\Subject::find(App\Classes::find($classes_id)->subject_id)->time }}, sala {{ App\Room::find(App\Subject::find(App\Classes::find($classes_id)->subject_id)->room_id)->name }}

Lista obecności

@foreach ($attendances as $attendance) @endforeach
Nr indeksu Imię Nazwisko Nr miejsca
{{ $attendance->student_id_number }} {{ $attendance->student_name}} {{ $attendance->student_surname}} {{ $attendance->seat_number }}
@endsection