@extends('layouts.dashboard') @section('title', 'Student Management') @section('page-content')

Student Management

Manage student records and academic information

@can('create-students') Export Add Student @endcan
Reset
@forelse($students as $student)
{{ strtoupper(substr($student->user->name ?? 'ST', 0, 2)) }}

{{ $student->user->name ?? 'N/A' }}

{{ $student->student_id }}

@if($student->status === 'active') Active @elseif($student->status === 'graduated') Graduated @else {{ ucfirst($student->status) }} @endif
{{ $student->program->name ?? 'N/A' }}
Level {{ $student->current_level }}
@if($student->cgpa)
CGPA: {{ number_format($student->cgpa, 2) }}
@endif
View @can('update-students') Edit @endcan
@empty

No students found

@endforelse
@if($students->hasPages())
{{ $students->links() }}
@endif @if(session('import_errors')) @endif @endsection