@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = \App\Support\Navigation\ParentNav::groups('dashboard', $guardian); $focusStudent = \App\Support\Navigation\ParentNav::focusStudent($guardian); $statusColors = ['active' => 'green', 'inactive' => 'amber', 'graduated' => 'brand', 'transferred' => 'slate', 'expelled' => 'red']; $attendanceColors = ['present' => 'green', 'late' => 'amber', 'excused' => 'brand', 'absent' => 'red']; $unreadNoticeCount = $recentNotices->whereNotIn('id', $acknowledgedIds)->count(); @endphp @include('tenant.parent-panel.partials.child-switcher')
@if($children->isNotEmpty())
@endif
@forelse($children as $child)
{{ strtoupper(substr($child->first_name, 0, 1).substr($child->last_name, 0, 1)) }}

{{ $child->fullName() }}

{{ $child->student_code }} · {{ $child->branch->name }} · {{ $child->section?->schoolClass?->name ?? '—' }}

{{ ucfirst($child->status) }} View Full Profile

Attendance (session)

{{ $child->computed_attendance_pct }}%

Today

@if($child->computed_today_attendance) {{ ucfirst($child->computed_today_attendance) }} @else Not marked @endif

Outstanding Fees

{{ \App\Support\Money::format($child->computed_outstanding_cents, $currency) }}

Latest Result

{{ $child->computed_latest_result?->exam?->name ?? 'None published' }}

Today's Classes

@forelse($child->computed_todays_classes as $entry)
{{ $entry->courseOffering?->subject?->name ?? '—' }} {{ $entry->timetableSlot->start_time->format('g:i A') }} – {{ $entry->timetableSlot->end_time->format('g:i A') }}
@empty

No classes scheduled today.

@endforelse

Upcoming Exams

@forelse($child->computed_upcoming_exams as $schedule)
{{ $schedule->courseOffering?->subject?->name ?? $schedule->exam?->name }} {{ \Illuminate\Support\Carbon::parse($schedule->exam_date)->format('M j, Y') }}
@empty

No upcoming exams scheduled.

@endforelse
@if($child->computed_next_due_invoice)
{{ $child->computed_next_due_invoice->description }} due {{ $child->computed_next_due_invoice->due_date->format('M j, Y') }} ({{ \App\Support\Money::format($child->computed_next_due_invoice->amount_due_cents - $child->computed_next_due_invoice->amountPaidCents(), $currency) }})
@csrf
@endif
@empty
No children linked to your account yet.
@endforelse
@if($linkRequests->isNotEmpty())

Link Requests

@foreach($linkRequests as $req)

{{ $req->student->fullName() }}

Requested {{ $req->created_at->format('M j, Y') }}

{{ ucfirst($req->status) }}
@endforeach
@endif

Recent Notices

View all
@forelse($recentNotices as $notice)

{{ $notice->title }}

{{ $notice->published_at?->format('M j, Y') }}

@unless($acknowledgedIds->contains($notice->id)) New @endunless
@empty

No notices yet.

@endforelse
@csrf

You'll need both the student code and date of birth exactly as on file. A school admin will review and approve your request before the child appears in your account.