@extends('admin.admin_dashboard') @section('customcss') @endsection @section('admin')
{{-- ===================================== BREADCRUMB & HEADER ====================================== --}} {{-- ===================================== ALERTS ====================================== --}} @if(session('success')) @endif @if(session('error')) @endif
{{-- ===================================== FILTER BOX ====================================== --}}
Session Filter
@if($selectedSession) Reset @endif
{{-- ===================================== SESSION SELECTED VIEW ====================================== --}} @if($selectedSession) @php $totalClassesCount = $classList->count(); $processedCount = $processedClassIds->count(); $pendingCount = max(0, $totalClassesCount - $processedCount); @endphp {{-- Quick Stats Banner --}}
Active Session
{{ $selectedSession->name }}
Processed Classes
{{ $processedCount }} / {{ $totalClassesCount }}
Pending Processing
{{ $pendingCount }}
{{-- Class List Card --}}
Overall Results by Class
{{ $selectedSession->name }}
{{-- Search toolbar --}}
Showing {{ $totalClassesCount }} classes
@forelse($classList as $index => $classItem) @php $isProcessed = $processedClassIds->contains($classItem->id); $studentCount = $processedStats->get($classItem->id, 0); @endphp {{-- SL --}} {{-- Class Information --}} {{-- Status --}} {{-- Actions --}} @empty @endforelse
# Class Information Result Status Actions
{{ $index + 1 }}
{{ $classItem->name }} @if(!empty($classItem->class_code)) Code: {{ $classItem->class_code }} @endif
@if($isProcessed) Processed ({{ $studentCount }}) @else Pending @endif
{{-- Quick direct link to report if processed --}} @if($isProcessed) Report @endif {{-- Quick direct link to Manual Position --}} Manual {{-- 3-Dot Dropdown Menu --}}

No classes found in the system.

@else {{-- ===================================== NO SESSION SELECTED (EMPTY STATE) ====================================== --}}
Overall Result Overview
Select an Academic Session

Please choose an academic session from the filter above to manage overall results, review processing status, and print student progress reports.

@endif
@endsection @section('customjs') @endsection