@extends('layouts.app') @section('title', $student->full_name) @section('content') ← Back to my children
@if($student->passport_path) @else
@endif

{{ $student->full_name }}

{{ $student->admission_number }} · {{ $student->classArm->schoolClass->name ?? '—' }} {{ $student->classArm->name ?? '' }}

Results

@forelse($student->subjectScores as $score) @empty @endforelse
Subject Score Grade
{{ $score->subject->name }} {{ $score->total_score }} {{ $score->grade_label }}
No results published yet.
Download Report Card (PDF)

Attendance

@php $present = $student->attendances->where('status', 'Present')->count(); $total = $student->attendances->count(); @endphp
{{ $total ? round($present / $total * 100) : '—' }}%
{{ $present }} present out of {{ $total }} recorded days

Fee Status

@forelse($student->invoices as $invoice)
{{ $invoice->invoice_number }} — Total ₦{{ number_format($invoice->total_amount, 2) }}, Balance ₦{{ number_format($invoice->balance, 2) }} @if($invoice->payments->isNotEmpty())
Download Latest Receipt @endif
@empty

No invoices yet.

@endforelse

Documents

@forelse($student->documents as $doc)
{{ $doc->documentType->name ?? 'Document' }} — {{ $doc->reference_code }} Download
@empty

No documents issued yet.

@endforelse
@endsection