@extends('layouts.app')
@section('admin_title', 'Super Admin — Student Analytics')
@section('content')
Track total enrolled students per college and identify active learners (at least one login within the last 7 days).College-Wise Student Analytics
Sorted by total student count.
| S.No | College | University | Total Students | Active (7 Days) | Inactive | Activity Rate | Last Login |
|---|---|---|---|---|---|---|---|
| {{ ($collegeStats->currentPage() - 1) * $collegeStats->perPage() + $idx + 1 }} |
{{ $row->cname }}
{{ $row->district }}
|
{{ $row->university_name ?? 'N/A' }} | {{ number_format($total) }} | {{ number_format($active) }} | {{ number_format($inactive) }} |
{{ $rate }}%
|
{{ $row->last_student_activity ? \Carbon\Carbon::parse($row->last_student_activity)->diffForHumans() : 'No logins yet' }} |
| No college data found. | |||||||