House 25, Road 27, Block B, 54th Floor, New York, United States of America
@lang('common.academic_year') : 2018-19
@lang('common.year')Exam : {{$exam->name}}
Class : {{$class->class_name}}
Section : {{$section->section_name}}
{{$subject->subject !=""?$subject->subject->subject_name:""}}
@endforeachStudent | Admission No. | @php $subjects = $marks_register->marksRegisterChilds; @endphp @foreach($subjects as $subject){{$subject->subject->subject_name}} | @endforeachGPA |
---|---|---|---|
{{$marks_register->studentInfo->full_name}} | {{$marks_register->studentInfo->admission_no}} | @php $results = $marks_register->marksRegisterChilds; $grand_total = 0; $grand_total_marks = 0; $final_result = 0; @endphp @foreach($results as $result) @php $subjectDetails = App\SmMarksRegister::subjectDetails($marks_register->exam_id, $marks_register->class_id, $marks_register->section_id, $result->subject_id); $grand_total_marks += $subjectDetails->full_mark; if($result->abs == 0){ $grand_total += $result->marks; if($result->marks < $subjectDetails->pass_mark){ $final_result++; } }else{ $final_result++; } @endphp{{$result->abs == 0? $result->marks: 'ABS'}} | @endforeach@php if($final_result == 0){ $percent = $grand_total/$grand_total_marks*100; foreach($grades as $grade){ if(floor($percent) >= $grade->percent_from && floor($percent) <= $grade->percent_upto){ echo $grade->grade_name; } } }else{ echo "F"; } @endphp |