{{ $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
@endifClass: {{ $className }} | Section: {{ $sectionName }}
| Day | @foreach($slots as $slot){{ $slot->name }} {{ \Carbon\Carbon::parse($slot->start_time)->format('h:i A') }} - {{ \Carbon\Carbon::parse($slot->end_time)->format('h:i A') }} | @endforeach||
|---|---|---|---|
| {{ $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)TIFFIN BREAK | @elseif($cellRoutines->count() > 0)
@foreach($cellRoutines as $routine)
{{ $routine->subject->name ?? '-' }}
({{ $routine->teacher->name ?? '-' }})
@endforeach
|
@else
- | @endif @endforeach