@extends('layouts.admin') @section('title','Student Details') @section('breadcrumb')@endsection @section('admin-content')
@if($student->photo) Photo @else
@endif
{{ $student->name }}

{{ $student->enrollment_no }}

{{ $student->is_active ? 'Active' : 'Inactive' }}
Course
{{ optional($student->course)->name }}
Session
{{ optional($student->academicSession)->name }}
Semester
{{ $student->current_semester }}
Advisor
{{ optional($student->advisor)->name ?? '-' }}
Phone
{{ $student->phone ?? '-' }}
Admission
{{ optional($student->admission_date)->format('d M Y') }}
₹{{ number_format(optional($student->feeStructure)->total_course_fee, 0) }}

Total

₹{{ number_format($student->total_paid, 0) }}

Paid

₹{{ number_format($student->total_due, 0) }}

Due

Fee Payment History
@forelse($student->feePayments->sortByDesc('payment_date') as $p) @empty @endforelse
ReceiptDateAmountModeSessionAction
{{ $p->receipt_no }} {{ $p->payment_date->format('d M Y') }} ₹{{ number_format($p->amount_paid, 0) }} {{ $p->payment_mode }} {{ optional($p->academicSession)->name }}
No payments yet.
Grievances
@forelse($student->grievances as $g) @empty @endforelse
SubjectStatusDateAction
{{ $g->subject }} {{ ucfirst(str_replace('_',' ',$g->status)) }} {{ $g->created_at->format('d M Y') }}
No grievances.
@endsection