@if(!empty($schoolInfo?->school_logo)) @else @endif
{{-- Screen Action Buttons --}}| SL | Room | Class | Section | Roll | Total Student |
|---|---|---|---|---|---|
| {{ $sl }} | {{-- 2. Room Column (Rowspanned for the entire room) --}}{{ $room['room_name'] }} | @endif {{-- 3. Class Column (Rowspanned for all sections in this class for this room) --}} @if($isFirstRowOfClass){{ $class['class_name'] }} | @endif {{-- 4. Section Column --}}{{ $section['section_name'] }} | {{-- 5. Roll Column (e.g. 1-20 = 15) --}}@if(!is_null($section['min_roll']) && !is_null($section['max_roll'])) @if((string)$section['min_roll'] === (string)$section['max_roll']) {{ $section['min_roll'] }} = {{ $section['student_count'] }} @else {{ $section['min_roll'] }}-{{ $section['max_roll'] }} = {{ $section['student_count'] }} @endif @else {{ $section['student_count'] }} @endif | {{-- 6. Total Student Column (Rowspanned for the entire room) --}} @if($isFirstRowOfRoom){{ $room['total_students'] }} | @php $isFirstRowOfRoom = false; @endphp @endif @php $isFirstRowOfClass = false; @endphp