@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $allSections = $classes->flatMap->sections; @endphp
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
All Classes @foreach($classes as $class) {{ $class->name }} @endforeach
@if(request('school_class_id')) @endif
@if($allSections->isEmpty())
Create classes and sections first.
@endif
@forelse($offerings as $offering) @empty @endforelse
SL Subject Section Session Teacher Elective
{{ $loop->iteration }} {{ $offering->subject->name }} {{ $offering->section->label() }} {{ $offering->academicSession->name }} {{ $offering->teacher?->name ?? '— unassigned —' }} @if($offering->is_elective) Elective @else Core @endif
No course offerings yet.
@csrf