{{ $schoolInfo->school_name ?? config('app.name', 'School Management System') }}

@if($schoolInfo && $schoolInfo->address)

{{ $schoolInfo->address }}

@endif @if($schoolInfo && ($schoolInfo->phone || $schoolInfo->email))

@if($schoolInfo->phone) {{ $schoolInfo->phone }} @endif @if($schoolInfo->phone && $schoolInfo->email)  |  @endif @if($schoolInfo->email) {{ $schoolInfo->email }} @endif

@endif

Class Routine - {{ $sessionName }}

Class: {{ $className }} | Section: {{ $sectionName }}

@foreach($slots as $slot) @endforeach @foreach($days as $dayNum => $dayName) @foreach($slots as $slot) @php $cellRoutines = $routines->where('day_of_week', $dayNum) ->where('time_slot_id', $slot->id); $isTiffin = stripos($slot->name, 'tiffin') !== false; @endphp @if($isTiffin) @elseif($cellRoutines->count() > 0) @else @endif @endforeach @endforeach
Day {{ $slot->name }} {{ \Carbon\Carbon::parse($slot->start_time)->format('h:i A') }} - {{ \Carbon\Carbon::parse($slot->end_time)->format('h:i A') }}
{{ $dayName }}TIFFIN BREAK @foreach($cellRoutines as $routine)
{{ $routine->subject->name ?? '-' }} ({{ $routine->teacher->name ?? '-' }})
@endforeach
-