@extends('student.student_dashboard') @section('customcss') @endsection @section('admin')
@php $lastRegistration = $registrations->first(); $studentName = $student->student_name_english ?? $student->student_name_bangla ?? 'N/A'; $sessionName = $lastRegistration?->session?->session_name ?? $lastRegistration?->session?->name ?? 'N/A'; $className = $lastRegistration?->class_model?->name ?? $lastRegistration?->class_model?->class_name ?? $student->class?->name ?? 'N/A'; $groupName = $lastRegistration?->group?->name ?? 'N/A'; $sectionName = $lastRegistration?->section?->name ?? 'N/A'; $roll = $lastRegistration?->class_roll ?? 'N/A'; $shiftName = $lastRegistration?->shift?->name ?? 'N/A'; @endphp {{-- Student Information Card --}}

{{ $studentName }}

My Exam Results & Academic Information
Student Name {{ $studentName }}
Session {{ $sessionName }}
Class {{ $className }}
Group {{ $groupName }}
Section {{ $sectionName }}
Roll {{ $roll }}
Shift {{ $shiftName }}
{{-- Exam List Card --}}
Exam List
Select an exam to view result details
@if($exams->count() > 0)
@foreach($exams as $key => $exam) @endforeach
SL Exam Name Exam Type Session Class Status Action
{{ $key + 1 }} {{ $exam->exam_name ?? $exam->name ?? 'N/A' }} {{ $exam->examType->name ?? $exam->examType->exam_type_name ?? 'N/A' }} {{ $exam->session->session_name ?? $exam->session->name ?? 'N/A' }} {{ $exam->class->name ?? $exam->class->class_name ?? 'N/A' }} Published View PDF
@else
No Result Found

Your published exam result is not available yet.

@endif
@endsection @section('customjs') @endsection