@extends('layouts.app') @section('content')

Student Dashboard

Welcome back, {{ auth()->user()->name }}

Student
school

Total Credits

{{ $user->getTotalCreditsUsed() }} / {{ $user->total_credit_limit }}

event_note

Semester Credits

{{ $user->getCurrentSemesterCredits() }} / {{ $user->semester_credit_max }}

Range: {{ $user->semester_credit_min }} - {{ $user->semester_credit_max }} credits

trending_up

Remaining

{{ $user->getRemainingCredits() }}

Credits available for future semesters

event_available

Subject & Faculty Selection

Select your subjects and preferred faculty members for this semester.

Department {{ $user->department->name ?? 'N/A' }}
Semester {{ $user->semester->name ?? 'N/A' }}
Status {{ $isAllocationComplete ? 'Allocations Complete' : 'Pending Selection' }}
{{ $isAllocationComplete ? 'Update Selections' : 'Start Selection' }} east
history

My History

Review your previous semester records and successful consultation bookings.

@forelse($recentAllocations as $alloc)
check_circle

{{ $alloc->subject->name }}

Booked

chevron_right
@empty
No recent bookings found.
@endforelse
View Full History
@endsection