@extends('admin.layouts.app') @section('title', 'Students') @section('content')

Students

+ Add Student
{{-- Filters --}}
Clear
{{-- Table with bulk actions --}}
@csrf
@forelse($students as $student) @empty @endforelse
Student Barcode Tier Status Expires Section Actions
{{ $student->name }}
{{ $student->email }}
@if($student->student_id)
ID: {{ $student->student_id }}
@endif
{{ $student->barcode }} {{ ucfirst($student->tier) }} {{ ucfirst($student->payment_status) }} {{ $student->expires_at ? $student->expires_at->format('M d, Y') : '—' }} @if($student->isSubscriptionActive())
({{ $student->daysUntilExpiry() }}d left) @endif
{{ $student->section ?? '—' }} Manage
No students found. Add one →
{{-- Bulk Actions Bar --}}
Bulk action on selected:
{{ $students->links() }}
@push('scripts') @endpush @endsection