@if(isset($generalSetting->logo))
@endif
{{ $generalSetting->institute }}
Examination Department
{{ $generalSetting->address }}, {{ $generalSetting->phone }}
GRADE LEDGER (FIRST ASSESSMENT TEST- {{ ViewHelper::getYearById($data['year']) }})
{{ ViewHelper::getFacultyTitle( $data['faculty'] ) }} - {{ ViewHelper::getSemesterTitle( $data['semester'] ) }}
| S.N. | Reg.Number | Student Name | @foreach($data['student'][0]->subjects as $subject) @if($subject->full_mark_theory > 0 && $subject->full_mark_practical > 0){{ ViewHelper::getSubjectById($subject->subjects_id) }} | @else{{ ViewHelper::getSubjectById($subject->subjects_id) }} | @endif @endforeachFinal Grade | GPA | Result | |||
|---|---|---|---|---|---|---|---|---|---|---|
| CAS GP | Summative GP | Final GP | @elseif($subject->full_mark_theory > 0)Summative GP | Final GP | @elseCAS GP | Final GP | @endif @endforeach||||
| {{ $i++ }} | {{ $student->reg_no }} | {{ $student->first_name.' '.$student->middle_name.' '.$student->last_name }} | @foreach($student->subjects as $index => $subject) {{-- Display CAS GP (Practical) --}} @if($subject->full_mark_practical > 0){{ isset($subject->pr_grade_point) && is_numeric($subject->pr_grade_point) ? number_format((float)$subject->pr_grade_point, 2) : '-' }} | @endif {{-- Display Summative GP (Theory) --}} @if($subject->full_mark_theory > 0){{ isset($subject->th_grade_point) && is_numeric($subject->th_grade_point) ? number_format((float)$subject->th_grade_point, 2) : '-' }} | @endif {{-- Display Final GP and Grade for each subject --}}
{{ isset($subjectFinalGps[$index]) ? number_format($subjectFinalGps[$index], 2) : '-' }}
({{ isset($subjectFinalGrades[$index]) ? $subjectFinalGrades[$index] : '-' }}) |
@endforeach
{{ $overallGrade }} | {{ $overallGpaFormatted }} | @php $remark = $student->subjects->pluck('remark')->toArray(); $pr_remark = $student->subjects->pluck('pr_remark')->toArray(); @endphp @if(in_array('*', $remark) || in_array('*', $pr_remark)) * Fail @else Pass @endif | ||