{{ setting('address') }}
{{ ___('common.Name') }}: {{ @$data['student']->first_name }} {{ @$data['student']->last_name }} {{ ___('common.Class(Section)') }}: {{ @$data['student']->session_class_student->class->name }} ({{ @$data['student']->session_class_student->section->name }}), {{ ___('common.Roll No') }} : {{ @$data['student']->session_class_student->roll }}
| {{ ___('common.Subject Code') }} | {{ ___('common.Subject Name') }} | @foreach (@$data['exams'] as $item){{ $item->exam_type->name }} {{ ___('common.(Mark-Grade)') }} | @endforeach
|---|---|---|
| {{ $item->subject->code }} | {{ $item->subject->name }} | @foreach (@$data['exams'] as $key => $exam)@foreach ($data['marks_registers'][$key] as $result) @if ($result->subject_id == $item->subject->id) @php $n = 0; @endphp @foreach ($result->marksRegisterChilds as $mark) @php $n += $mark->mark; @endphp @endforeach {{ $n }} - {{ markGrade($n) }} @endif @endforeach | @endforeach
{{ ___('common.Results') }}
| {{ ___('common.Exam Name') }} | {{ ___('common.Result') }} | {{ ___('common.GPA') }} | {{ ___('common.Total Marks') }} | {{ ___('common.Avg. Marks') }} | {{ ___('common.Avg. Grade') }} |
|---|---|---|---|---|---|
| {{ $item->exam_type->name }} | {{ $data['result'][$key] }} | {{ $data['result'][$key] == 'Failed' ? '0.00' : $data['gpa'][$key] }} | {{ $data['total_marks'][$key] }} | {{ substr($data['avg_marks'][$key], 0, 5) }} | {{ $data['result'][$key] == 'Failed' ? 'F' : markGrade((int) $data['avg_marks'][$key]) }} |