@extends('layouts.admin') @section('title', 'Registration Analytics') @section('content') @include('institution.partials.flash')
    @forelse(($stats['by_student_status'] ?? []) as $status => $count)
  • {{ \App\Enums\StudentStatus::tryFrom($status)?->label() ?? $status }} {{ $count }}
  • @empty
  • No data.
  • @endforelse
    @forelse(($stats['by_registration_status'] ?? []) as $status => $count)
  • {{ \App\Enums\RegistrationWorkflowStatus::tryFrom($status)?->label() ?? $status }} {{ $count }}
  • @empty
  • No data.
  • @endforelse
    @forelse(($stats['by_programme'] ?? []) as $row)
  • {{ $row->programme?->name ?? 'Unassigned' }} {{ $row->total }}
  • @empty
  • No data.
  • @endforelse
    @forelse(($stats['by_campus'] ?? []) as $row)
  • {{ $row->campus?->name ?? 'Unassigned' }} {{ $row->total }}
  • @empty
  • No data.
  • @endforelse
@endsection