{{----}}
@php
$attendance_stats = App\Models\StudentAttendance::where('student_session_id',
$sr->user_id)->where('att_year', $ex->year)->where('term_id',$ex->term)->selectRaw("COUNT(*) as total, SUM(CASE WHEN attendence_type_id = '1' THEN 1 ELSE 0 END) as present")->first();
$attendance = App\Models\ExamAttendance::where('student_id',$sr->user_id)->where('exam_id',$exam_id)->first();
@endphp
@if($exr != null)
SUBJECTS |
@if($ex->exam_type == 'mid-term-exam')
PAPER1
@elseif($ex->exam_type == 'mock-exam')
OBJECTIVES
@else
CLASS SCORE
@endif
({{ $ex->class_score }})
|
@if($ex->exam_type == 'mid-term-exam')
PAPER2
@elseif($ex->exam_type == 'mock-exam')
SUBJECTIVES
@else
EXAMS ({{ $ex->exam_score }})
@endif
|
FINAL MARKS |
GRADE |
@if($my_class->class_type_id != 1 && $my_class->class_type_id != 2)SUB POSITION | @endif
REMARKS |
@foreach($subjects as $sub)