|
@if($tenant->logo_path)
{{ \Illuminate\Support\Str::of($tenant->name)->substr(0, 1) }}
@endif
|
{{ $tenant->name }} @if($view === 'section' && $selectedSection?->schoolClass) @endif |
| Class | {{ $selectedSection->schoolClass?->name ?? '—' }} | Section | {{ $selectedSection->name }} |
| Shift | {{ $selectedSection->shift?->name ?? '—' }} | Class Teacher | {{ $selectedSection->classTeacher?->fullName() ?? '—' }} |
| Academic Session | {{ $session?->name ?? '—' }} | ||
| Teacher | {{ $teacher->name }} | Academic Session | {{ $session?->name ?? '—' }} |
No timetable slots or classes have been set up yet.
@else| Time | @foreach($daysPresent as $day){{ \App\Models\TimetableSlot::DAYS[$day] }} | @endforeach
|---|---|
| {{ $band }}{{ $bandEndTime ? ' - '.$bandEndTime : '' }} | @foreach($daysPresent as $day) @php $slot = $slots->first(fn ($s) => $s->day_of_week === $day && $s->start_time->format('H:i') === $band); @endphp
@if(! $slot)
—
@else
@if($slot->isBreak())
{{ $slot->label }}
@endif
@forelse($entries->get($slot->id, collect()) as $entry)
{{ $entry->courseOffering->subject->name }}
@if($entry->room)
@endif
|
@endforeach
|
@if($block['path'])
{{ $block['title'] }}
@if($block['name'])
{{ $block['name'] }}
@endif
|
@endforeach