@extends('layouts.app') @section('title', 'Parent Management') @section('page-title', 'Parent Management') @section('content')
Manage parent accounts and link them with their children.
Add New Parent| Parent | Occupation | Children | Emergency Contact | Status | Actions |
|---|---|---|---|---|---|
|
{{ $parent->name }}
{{ $parent->email }} @if($parent->phone){{ $parent->phone }} @endif |
{{ $parent->parentProfile?->occupation ?? '—' }} |
@if($parent->children->count())
@foreach($parent->children as $child)
{{ $child->name }}
@endforeach
@else
No children linked
@endif
|
{{ $parent->parentProfile?->emergency_contact ?? '—' }} | @if($parent->is_active) Active @else Inactive @endif | |
|
No parents found. |
|||||