@extends('layouts.app') @section('title', 'Student Summary') @section('content')

Nabinagar Ichchhamoyee Pilot Girls' High School

Class & Section Wise Student Summary

Session: {{ $currentSession }}

@forelse ($summaryData as $key => $sections) @php [$className, $session] = explode('___', $key); $rowCount = count($sections); $classTotal = $sections->sum('total_student'); @endphp @foreach ($sections as $index => $row) @if ($index === 0) @endif @if ($index === 0) @endif @endforeach @empty @endforelse @if(count($summaryData) > 0) @endif
Class Section Class Teacher Sectionwise Total Student Classwise Total Student
{{ $className }} @if ($session == $previousSession)
({{ $session }}) @endif
{{ $row->section_name }} N/A {{ $row->total_student }} {{ $classTotal }}
No student records found.
Total {{ $grandTotal }} {{ $grandTotal }}
@endsection