@extends('layouts.app') @section('title', $studentParent->displayName()) @section('content') @php $studentsCount = $studentParent->students_count ?? $studentParent->students()->count(); $activeStudentsCount = $studentParent->students() ->where('is_active', true) ->count(); $hasStudents = $studentsCount > 0; $primaryName = $studentParent->displayName(); @endphp
Parent, guardian, communication and linked student information.
Linked Students
{{ number_format($studentsCount) }}
Active Students
{{ number_format($activeStudentsCount) }}
SMS
Primary family and contact information.
Address
@if($studentParent->address){{ $studentParent->address }}
@elseNo address has been added for this parent.
@endifAdditional guardian contact details.
{{ $studentParent->guardian_name ?: 'Guardian' }}
@if($studentParent->guardian_relation){{ $studentParent->guardian_relation }}
@endifNo Guardian Information
No additional guardian details have been added.
Communication channels configured for this family.
SMS Notifications
Messages are sent to the primary phone number.
Email Notifications
Notices and school communication by email.
Students associated with this parent or guardian.
| Student | Student ID | Class | Roll No. | Academic Year | Status | Action |
|---|---|---|---|---|---|---|
|
@if($student->profile_photo)
{{ mb_strtoupper(
mb_substr(
$student->first_name,
0,
1
)
) }}
@endif
{{ $student->fullName() }} @if($student->student_email){{ $student->student_email }} @endif |
{{-- ID --}}
{{ $student->student_id }} | {{-- Class --}}
@if($student->schoolClass)
{{ $student->schoolClass->name }} @if($student->section)Section {{ $student->section->name }} @endif @else — @endif |
{{-- Roll --}}
{{ $student->roll_no ?: '—' }} | {{-- Academic Year --}}
@if($student->academicYear)
{{ $student->academicYear->name }}
@if($student->academicYear->is_current)
Current
@endif
@else
—
@endif
|
{{-- Status --}}
@if($student->is_active) Active @else Inactive @endif | {{-- Action --}}
No Students Linked
No students are currently associated with this parent.
System information for this parent record.
Manage or remove this parent record.
Edit Parent
Update parent, guardian, contact information or communication preferences.
Parent protected from deletion
This parent has {{ number_format($studentsCount) }} {{ $studentsCount === 1 ? 'student' : 'students' }} linked to the record. Reassign the students or set this parent to inactive instead of deleting it.
@if($studentParent->is_active) @can('parents.edit') Change Status @endcan @endif