@foreach ($subjects_grouped as $subject_group_name => $subjects_list)
@if($subject_group_name)
@if($grouped_by == 'room_id')
{{ App\Room::find($subject_group_name)->name }} {{ $subjects_list->count() }}
@else
{{ $subject_group_name }} {{ $subjects_list->count() }}
@endif
@else
Inne {{ $subjects_list->count() }}
@endif
Nazwa |
Dzień tygodnia |
Godzina |
Sala |
|
|
@foreach ($subjects_list as $subject)
{{ $subject->name }} |
{{ $subject->weekday }} |
{{ $subject->time }} |
{{ App\Room::find($subject->room_id)->name }} |
|
|
|
@include('user.delete_confirmation_subject', [$subject])
@endforeach
@endforeach