@extends('admin.layouts.app') @section('title', 'Student Dashboard') @section('breadcrumb') @endsection @section('content') @php $student = auth()->user()->student; @endphp
{{ $attendancePercent ?? 0 }}%
Avg Attendance
₹{{ number_format($pendingFees ?? 0) }}
Pending Fees
{{ $totalSubjects ?? 0 }}
Subjects
Sem {{ $student?->current_semester }}
Current Semester
Attendance This Semester
@forelse($attendanceSummary ?? [] as $row) @empty @endforelse
Subject Category Classes Attended %
{{ $row->subject_name }} {{ $row->category }} {{ $row->total_classes }} {{ $row->attended }}
{{ $row->attendance_percentage }}%
@if($row->attendance_percentage < 75)
Below 75%
@endif
No attendance data yet
Fee Status Pay Now
@forelse($feePayments ?? [] as $payment)
{{ $payment->feeGroup?->name ?? $payment->feeHead?->name ?? 'Fee' }}
{{ $payment->payment_date->format('d M Y') }}
₹{{ number_format($payment->net_amount) }}
{{ ucfirst($payment->status) }}
@empty

No fee records found

@endforelse
Today's Schedule Full Schedule
@forelse($todaySchedule ?? [] as $sch)
{{ date('h:i', strtotime($sch->start_time)) }}
{{ date('A', strtotime($sch->start_time)) }}
{{ $sch->subject?->name }}
{{ $sch->employee?->user?->name }} • {{ $sch->room }}
@empty
No classes today
@endforelse
@endsection