@if ($classes->count() > 0)
@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)->type }},
{{ 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
Other ({{ $classes_list->count() }})
@endif
Subject name |
Date |
|
|
|
@foreach ($classes_list as $classes_item)
{{ App\Subject::find($classes_item->subject_id)->name }}, {{ App\Subject::find($classes_item->subject_id)->type }},
{{ App\Subject::find($classes_item->subject_id)->weekday }} {{ App\Subject::find($classes_item->subject_id)->time }} |
{{ $classes_item->date }} |
Rozpocznij zapisy
|
Delete
|
Edit
|
@endforeach
@endforeach
@else
No classes yet.
@endif