@extends('layouts.admin') @section('title', 'Center Summary') @section('header-title', 'Center Summary - ' . $center->name) @section('content')

Center Summary: {{ $center->name }}

Total Allocated
{{ $summary['total_allocated'] }}
Total Results
{{ $summary['total_results'] }}
Average Marks
{{ number_format($summary['average_marks'] ?? 0, 1) }}
Capacity
{{ $center->tablet_capacity }}
@if($summary['grades']->count())
@foreach($summary['grades'] as $grade => $count) {{ $grade }}: {{ $count }} @endforeach
@endif

Allocated Students

@forelse($allocatedStudents as $allocation) @empty @endforelse
Seat Student Roll Number Exam
{{ $allocation->seat_number }} {{ $allocation->student->name ?? '-' }} {{ $allocation->student->roll_number ?? '-' }} {{ $allocation->exam->name ?? '-' }}
No allocations found.
@endsection