@extends('layouts.app') @section('title', 'Parents & Guardians') @section('content')
Manage parent and guardian information, contact preferences and linked students.
0 selected
Selected parent records
@if($parents->total() > 0) Showing {{ number_format($parents->firstItem()) }} to {{ number_format($parents->lastItem()) }} of {{ number_format($parents->total()) }} parent records. @else No parent records available. @endif
| Parent / Guardian | Contact | Students | SMS | Status | Actions | ||
|---|---|---|---|---|---|---|---|
| {{-- Parent --}} |
{{ $initials ?: 'P' }}
@can('parents.view')
{{ $displayName }}
@else
{{ $displayName }} @endcan
@if($parent->guardian_name)
Guardian
@if($parent->guardian_relation)
•
{{ $parent->guardian_relation }}
@endif
@else
Father
@endif
|
{{-- Contact --}}
{{ $parent->primary_phone }}
@if($parent->email)
{{ $parent->email }}
@else
No email
@endif
|
{{-- Students --}}
{{ number_format($parent->students_count ?? 0) }} | {{-- SMS --}}@if($parent->sms_enabled) Enabled @else Disabled @endif | {{-- Email --}}@if($parent->email_enabled) @if($parent->email) Enabled @else Missing Email @endif @else Disabled @endif | {{-- Status --}}@if($parent->is_active) Active @else Inactive @endif | {{-- Actions --}}|
|
No matching parents found No parent or guardian records match the current search or filter criteria. Clear Filters @elseNo parent records found Create your first parent or guardian record to begin linking students and managing communication preferences. @can('parents.create') New Parent @endcan @endif |
|||||||