@extends('admin.admin_dashboard') @section('customcss') @endsection @section('admin')
{{-- Page title --}}
{{-- Filter section --}}
Parent Filter
{{-- Session --}}
{{-- Class --}}
{{-- Section --}}
{{-- Group --}}
{{-- Per page --}}
{{-- Buttons --}}
Reset
{{-- Filter summary --}}
Session: {{ $selectedSession->name ?? 'All' }} Class: {{ $selectedClass->name ?? 'All' }} Section: {{ $selectedSection->name ?? 'All' }} Group: {{ $selectedGroup->name ?? 'All' }}
{{-- Parents list --}}
Parents List
Showing {{ $parents->count() }} of {{ $parents->total() }} parents
@forelse ($parents as $parent) {{-- Parent name --}} {{-- Contact --}} {{-- Student list --}} {{-- Actions --}} @empty @endforelse
Parent Name Contact Student List Action
{{ $parent['name'] }}
@if (!empty($parent['address']))
{{ $parent['address'] }}
@endif
Email: {{ $parent['email'] ?? '-' }}
Phone: {{ $parent['phone'] ?? '-' }}
@forelse ($parent['students'] as $student) @empty @endforelse
Name Class Section Group Roll
{{ $student['name'] }} {{ $student['class_name'] }} {{ $student['section_name'] }} {{ $student['group_name'] }} {{ $student['class_roll'] }}
No student assigned.
Assign Students Student List
No parent account found for the selected filters.
{{-- Pagination --}} @if ($parents->hasPages())

Page {{ $parents->currentPage() }} of {{ $parents->lastPage() }}, showing {{ $parents->firstItem() ?? 0 }} to {{ $parents->lastItem() ?? 0 }} from {{ $parents->total() }} records

@endif
{{-- Missing parent modal --}} @endsection @section('customjs') @endsection