{{-- B2B tenancy step d — class analytics. --}} @php($d = $this->getData()) @php($k = $d['kpis'])

{{ $d['class']['name'] }}

{{-- KPI cards --}}
@php($cards = [ ['Students', $k['roster_size']], ['Avg maxile', $k['avg_maxile']], ['Tracks', $k['tracks']], ['Seats used', $k['seats_used'] . ' / ' . $k['seats_purchased']], ]) @foreach ($cards as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach
@if (! empty($d['cohort_growth']))
@include('filament.teacher.atlas.growth', [ 'points' => $d['cohort_growth']['points'] ?? [], 'current' => $d['cohort_growth']['current'] ?? null, 'color' => '#3BA9F4', 'label' => 'Class median maxile' . (isset($d['cohort_growth']['gain']) ? ' (+' . $d['cohort_growth']['gain'] . ' this term)' : ''), ])
@endif
{{-- Curriculum pass-rates --}}
Curriculum pass-rates
@forelse ($k['pass_rates'] as $t) @empty @endforelse
{{ $t['track'] }} {{ $t['pass_rate'] }}%
No curriculum tracks assigned yet.
{{-- Attention list --}}
Needs attention (lowest maxile)
@forelse ($d['attention'] as $s) @empty @endforelse
{{ $s['name'] }} {{ $s['maxile'] }}
No students.
{{-- Roster mastery --}}
Students
@foreach ($d['students'] as $s) @endforeach
NameMaxileAccess
{{ $s['name'] }} {{ $s['maxile'] }} {{ $s['entitlement']['active'] ? 'active' : 'none' }} Atlas →