extend('layout/management_layout') ?> section('content') ?> count($c['winners']), $classResults)); $totalStudents = array_sum(array_column($classResults, 'student_count')); $totalBoys = array_sum(array_column($classResults, 'boys')); $totalGirls = array_sum(array_column($classResults, 'girls')); $totalTrophyBoys = array_sum(array_column($classResults, 'trophy_boys')); $totalTrophyGirls = array_sum(array_column($classResults, 'trophy_girls')); $pctWinners = $totalStudents > 0 ? round($totalWinners / $totalStudents * 100) : 0; $pctTrophyBoys = $totalBoys > 0 ? round($totalTrophyBoys / $totalBoys * 100) : 0; $pctTrophyGirls = $totalGirls > 0 ? round($totalTrophyGirls / $totalGirls * 100) : 0; $pctBoys = $totalStudents > 0 ? round($totalBoys / $totalStudents * 100) : 0; $pctGirls = $totalStudents > 0 ? round($totalGirls / $totalStudents * 100) : 0; ?>

Trophy Winners

th percentile — winners across classes

Back
%
No projected trophy winners found.
winner Fall ≥
/ boys 0): ?>(%) / girls 0): ?>(%) / (%)
$student): $isMale = strtolower($student['gender'] ?? '') === 'male'; ?>
# Name Gender Fall Score Spring Score Year Score
—' ?> ' . number_format($student['spring_score'], 1) . '' : '' ?> —' ?>
Overall Year Summary —
>
>
Trophy Winners per Class
Winners by Gender
Trophy Rate per Class (%)
section('scripts') ?> endSection() ?> endSection() ?>