@extends('layouts.admin') @section('title','Students') @section('breadcrumb')@endsection @section('admin-content')

Students Management

Total: {{ $students->total() }} students
Add Student Import CSV
@forelse($students as $s) @empty @endforelse
# Enrollment Student Name Institute Course Session Advisor Total Fee Paid Status Actions
{{ $students->firstItem() + $loop->index }} {{ $s->enrollment_no }} {{ $s->name }} {{ optional($s->institute)->code ?? '—' }} {{ optional($s->course)->name }} {{ optional($s->academicSession)->name }} {{ optional($s->advisor)->name ?? '—' }} ₹{{ number_format(optional($s->feeStructure)->total_course_fee, 0) }} ₹{{ number_format($s->paid_amount ?? 0, 0) }} {{ $s->is_active ? 'Active' : 'Inactive' }}
@csrf @method('DELETE')
No students found
Try adjusting your filters or add a new student
@if($students->hasPages())
Showing {{ $students->firstItem() }} to {{ $students->lastItem() }} of {{ $students->total() }} records
{{ $students->withQueryString()->links('pagination::bootstrap-4') }}
@endif
@endsection