Welcome back, {{ auth()->user()->name }}
Track your student's attendance, homework, fees, exams and class routine from one place.
{{ now()->format('d M, Y') }}
{{-- Student Profile Cards --}}
My Students
Each student has a separate academic profile and diary access.
@forelse ($students as $student)
@php
$registration = $registrations[$student->id] ?? null;
$studentName = trim(
$student->student_name_english
?: ($student->student_name_bangla ?: 'Student')
);
$studentInitial = \Illuminate\Support\Str::upper(
\Illuminate\Support\Str::substr($studentName, 0, 1)
);
/*
* Optional photo support:
* It will use the first available field from these names.
* If no photo field/path exists, initials avatar will be shown.
*/
$studentPhoto = $student->student_photo
?? $student->profile_photo
?? $student->photo
?? $student->image
?? null;
$studentPhotoUrl = null;
if ($studentPhoto) {
$studentPhotoUrl = \Illuminate\Support\Str::startsWith(
$studentPhoto,
['http://', 'https://']
)
? $studentPhoto
: asset(ltrim($studentPhoto, '/'));
}
$className = $registration && $registration->class
? $registration->class->name
: 'Not Assigned';
$classRoll = $registration && $registration->class_roll
? $registration->class_roll
: 'Not Assigned';
$sectionName = $registration && $registration->section
? $registration->section->name
: 'Not Assigned';
$hasRegistration = !is_null($registration);
@endphp
@if($studentPhotoUrl)
 : asset('core/storage/app/public/1.png') }})
@endif
{{ $studentInitial }}
{{ $studentName ?? 'N/A' }}
Student ID: {{ $student->admission_roll ?? 'N/A' }}
Class:
{{ $className ?? 'N/A' }}
Section:
{{ $sectionName ?? 'N/A' }}
Roll:
{{ $classRoll ?? 'N/A' }}
@empty
No student is linked to this parent account.
@endforelse
{{-- Recent Attendance Summary --}}
Attendance Summary
Last 7 days attendance overview for each student.
@forelse($students as $student)
@php
$summary = $attendanceSummary[$student->id] ?? [
'present' => 0,
'absent' => 0,
'leave' => 0,
];
$studentName = $student->student_name_english
?: ($student->student_name_bangla ?: 'Student');
@endphp
{{ $studentName }}
{{ $summary['present'] }}
Present
{{ $summary['absent'] }}
Absent
{{ $summary['leave'] }}
Leave
@empty
No attendance summary is available.
@endforelse
{{-- Upcoming Exams --}}
@if($upcomingExams->isEmpty())
No upcoming exams found.
@else
@endif
{{-- Pending Fee Summary --}}
@forelse ($students as $student)
@php
$fee = $feesSummary[$student->id] ?? [
'total_fee' => 0,
'paid' => 0,
'balance' => 0,
];
$studentName = $student->student_name_english
?: ($student->student_name_bangla ?: 'Student');
@endphp
{{ $studentName }}
Total Fee
{{ number_format($fee['total_fee'], 2) }} ৳
Paid
{{ number_format($fee['paid'], 2) }} ৳
Balance
{{ number_format($fee['balance'], 2) }} ৳
@empty
No fee information is available.
@endforelse
View Detailed Billing
{{-- Homework & Notices --}}
@if($homeworks->isEmpty())
No recent homework found.
@else
@foreach ($homeworks as $hw)
-
{{ $hw->title }}
Due:
{{ \Carbon\Carbon::parse($hw->due_date)->format('d M, Y') }}
@endforeach
@endif
@if($notices->isEmpty())
No notices are available.
@else
@foreach ($notices as $notice)
-
{{ $notice->title }}
@endforeach
@endif
{{-- Routine Snapshot --}}
Today's Class Routine
Today's class schedule for your linked students.
@forelse ($students as $student)
@php
$routines = $classRoutines[$student->id] ?? collect();
$studentName = $student->student_name_english
?: ($student->student_name_bangla ?: 'Student');
@endphp
{{ $studentName }}
@if ($routines->isEmpty())
No class routine found for today.
@else
| Time |
Subject |
Room |
@foreach ($routines as $routine)
|
{{ \Carbon\Carbon::parse($routine->start_time)->format('g:i A') }}
-
{{ \Carbon\Carbon::parse($routine->end_time)->format('g:i A') }}
|
{{ $routine->subject->name ?? 'N/A' }} |
{{ $routine->room->name ?? 'N/A' }} |
@endforeach
@endif
@empty
No student routine is available.
@endforelse
View Full Routine
{{-- Quick Links --}}
Quick Access
Open frequently used parent portal features.