@extends('admin.layouts.app') @section('title', 'Student Profile') @section('breadcrumb') @endsection @section('content')
Personal Information
@foreach ([['Date of Birth', $student->date_of_birth?->format('d M Y')], ['Gender', ucfirst($student->gender ?? '—')], ['Religion', $student->religion ?? '—'], ['Community', $student->community], ['Aadhar No.', $student->aadhar_no ?? '—'], ['Mobile', $student->mobile_no ?? '—'], ['WhatsApp', $student->whatsapp_no ?? '—'], ['Roll No.', $student->roll_no ?? 'Not assigned'], ['Admission Date', $student->admission_date?->format('d M Y') ?? '—'], ['Academic Year', $student->academic_year], ['Annual Income', $student->annual_family_income ? '₹' . number_format($student->annual_family_income) : '—'], ['Address', $student->address ? $student->address . ', ' . $student->district . ' - ' . $student->pin : '—']] as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach
Family Details
@foreach ([["Father's Name", $student->father_name ?? '—'], ["Father's Mobile", $student->father_mobile ?? '—'], ["Mother's Name", $student->mother_name ?? '—'], ["Mother's Mobile", $student->mother_mobile ?? '—'], ['Guardian', $student->guardian_name ?? '—'], ['Guardian Email', $student->guardian_email ?? '—']] as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach
Attendance Summary
@forelse($attendance as $row) @empty @endforelse
Subject Category Total Present Absent %
{{ $row->subject_name }} {{ $row->category }} {{ $row->total }} {{ $row->attended }} {{ $row->absent }} {{ $row->pct }}% @if ($row->pct < 75) @endif
No attendance records
Status
{{ ucfirst($student->status) }}
Fee Payments View All
@forelse($student->payments->take(5) as $p)
{{ $p->feeGroup?->name ?? 'Payment' }}
{{ $p->payment_date->format('d M Y') }}
₹{{ number_format($p->net_amount) }}
{{ ucfirst($p->status) }}
@empty
No payments
@endforelse
@if ($student->application)
Application
@endif
@endsection