@if(!empty($d))

Student Marksheet for => {{ $d['sr']->user->name.' ('.$d['my_class']->name.')' }}

@foreach($d['exams'] as $ex) {{--Print Button--}} @foreach($d['exam_records']->where('exam_id', $ex->id) as $exr)
{{ $ex->name.' - '.$ex->year }}
CLASS POS: {!! $exr->pos ? Mk::getSuffix($exr->pos) : '-' !!}
@if($ex->exam_type == 'mid-term-exam') @elseif($ex->exam_type == 'mock-exam') @else @endif {{--@if($ex->term == 3) --}}{{-- 3rd Term --}}{{-- @endif--}} @foreach($d['subjects'] as $sub)
S/N SUBJECTS PAPER1
({{$ex->class_score}}%)
PAPER2
({{$ex->exam_score}}%)
TOTAL
(100%)
OBJECTIVES
({{$ex->class_score}}%)
SUBJECTIVES
({{$ex->exam_score}}%)
TOTAL
(100%)
CA
({{$ex->class_score}}%)
EXAMS
({{$ex->exam_score}}%)
TOTAL
(100%)
TOTAL
(100%) 3RD TERM
1ST
TERM
2ND
TERM
CUM (300%)
1ST + 2ND + 3RD
CUM AVEGRADE SUBJECT
POSITION
REMARKS