@extends('parents.parent_dashboard') @section('admin')
Parent Information
Name: {{ $parent->name ?: '-' }}
Email: {{ $parent->email ?: '-' }}
Phone: {{ $parent->phone ?: '-' }}
@foreach($students as $student) @php $registration = $student->classRegistration->first(); $studentExams = $examsByStudent[$student->id] ?? collect(); @endphp
{{ $student->student_name_english ?: $student->name }}
Class: {{ $registration && $registration->class_model ? $registration->class_model->name : '-' }}
Section: {{ $registration && $registration->section ? $registration->section->name : '-' }}
Session: {{ $registration && $registration->session ? $registration->session->name : '-' }}
Roll: {{ $registration && $registration->class_roll ? $registration->class_roll : '-'}}
@if(!$registration)
No approved class registration found for this student.
@else
Please select an exam to view routine.
@endif
@endforeach
@endsection @section('customjs') @endsection