{{$student->admission_no}} |
{{$student->full_name}} |
@if(moduleStatusCheck('University'))
{{ $student->studentRecord->unSemesterLabel ? $student->studentRecord->unSemesterLabel->name : '' }} {{ $student->studentRecord->section ? '(' . $student->studentRecord->section->section_name . ')' : '' }} |
@else
@php if(!empty($student->recordClass)){ echo $student->recordClass->class->class_name; }else { echo ''; } @endphp
@if($section_id==null)
(@foreach ($student->recordClasses as $section)
{{$section->section->section_name}},
@endforeach)
@else
({{$student->recordSection != ""? $student->recordSection->section->section_name:""}})
@endif
|
@endif
{{$online_exam_question->title}} |
{{$online_exam_question->subject !=""?$online_exam_question->subject->subject_name:""}} |
{{$total_marks}} |
@if(in_array($student->id, $present_students))
@php
if (moduleStatusCheck('OnlineExam')== TRUE) {
$obtained_marks = Modules\OnlineExam\Entities\InfixOnlineExam::obtainedMarks($online_exam_question->id, $student->id);
} else {
$obtained_marks = App\SmOnlineExam::obtainedMarks($online_exam_question->id, $student->id);
}
if($obtained_marks){
if($obtained_marks->status == 1){
echo "Waiting for marks";
}else{
$result = $obtained_marks->total_marks * 100 / $total_marks;
if($result >= $online_exam_question->percentage){
echo "Pass";
}else{
echo "Fail";
}
}
}else{
echo "Waiting for marks";
}
@endphp
@else
@lang('common.absent')
@endif
|
@endforeach