@extends('layouts.app') @section('title', $parent->name . ' - Parent Profile') @section('page-title', 'Parent Profile') @section('content')
{{ $parent->email }}@if($parent->phone) · {{ $parent->phone }}@endif
Occupation
{{ $parent->parentProfile?->occupation ?? '—' }}
Emergency Contact
{{ $parent->parentProfile?->emergency_contact ?? '—' }}
Address
{{ $parent->parentProfile?->address ?? '—' }}
{{ $child->studentProfile?->schoolClass?->full_name ?? 'No class' }} @if($child->pivot->relationship) · {{ $child->pivot->relationship }} @endif
No children linked to this parent.
@endifTotal Invoices
{{ $feeSummary->total_invoices }}
Total Amount
₹{{ number_format($feeSummary->total_amount ?? 0) }}
Paid
₹{{ number_format($feeSummary->paid_amount ?? 0) }}
Pending
₹{{ number_format($feeSummary->pending_amount ?? 0) }}