@extends('layouts.app') @section('title', 'Students') @section('content')
{{ $students->total() }} student{{ $students->total() === 1 ? '' : 's' }} found.
| Student | Intake | Current semester | Progress | Status | Action |
|---|---|---|---|---|---|
|
@if($profile?->photo_path)
{{ $s->name }}
{{ $profile?->student_id ?: '—' }}
|
{{ $profile?->intake ?: '—' }} | @if($profile?->currentSemester) {{ $profile->currentSemester->name }} @else not set @endif |
@if($p && $p['total'] > 0)
{{ $p['passed'] }}/{{ $p['total'] }}
@if($p['retry'] > 0)· {{ $p['retry'] }} retry@endif
@else
—
@endif
|
{{ $s->is_active ? 'Active' : 'Inactive' }} | View |
| No students match your filters. | |||||