@if(isset($generalSetting->logo)) @endif

{{$generalSetting->institute}}

Department of Examination

{{$generalSetting->address}}, {{$generalSetting->phone}}

Exam Mark Ledger Report

for

{{ ViewHelper::getExamById($data['exam']) }} - {{ ViewHelper::getYearById($data['year']) }}

@if($data['student'] && $data['student']->count() > 0) @foreach($data['student'][0]->subjects as $subject) @if($subject->full_mark_theory > 0 && $subject->full_mark_practical >0) @else @endif @endforeach @php($i=1) @foreach($data['student'] as $key => $student) @foreach($student->subjects as $subject) @if($subject->full_mark_theory > 0) @if($subject->th_remark == '*') @else @endif @endif @if($subject->full_mark_practical >0) @if($subject->pr_remark == '*') @else @endif @endif @endforeach @php($i++) @endforeach
S.N. Faculty/Class Sem./Sec. Reg.Number Student Name {{ViewHelper::getSubjectById($subject->subjects_id)}}
TH | PR
{{ViewHelper::getSubjectById($subject->subjects_id)}}
TH
Total Marks Obtain Marks % Result RankOnPass PositionOnTotal
{{ $i }} {{ ViewHelper::getFacultyTitle( $data['faculty'] ) }} {{ ViewHelper::getSemesterTitle( $data['semester'] ) }} {{ $student->reg_no }} {{ $student->first_name.' '.$student->middle_name.' '.$student->last_name }}{{$subject->obtain_mark_theory?$subject->obtain_mark_theory.$subject->th_remark:'-'}}{{$subject->obtain_mark_theory?$subject->obtain_mark_theory:'-'}}{{$subject->obtain_mark_practical?$subject->obtain_mark_practical.$subject->pr_remark:'-'}}{{$subject->obtain_mark_practical?$subject->obtain_mark_practical:'-'}}{{$student->subjects->sum('full_mark_theory') + $student->subjects->sum('full_mark_practical')}} {{$student->total_obtain?$student->total_obtain:'-'}} {{number_format((float)$student->percentage, 2, '.', '')}} @php($remark = $student->subjects->pluck('remark')->toArray()) @php($pr_remark = $student->subjects->pluck('pr_remark')->toArray()) @if(in_array('*',$remark) || in_array('*',$pr_remark)) * Fail @else Pass @endif @if(in_array('*',$remark) || in_array('*',$pr_remark)) * @else {{ ViewHelper::getStudentRankingInExam($data['year'], $data['month'], $data['exam'],$data['faculty'], $data['semester'], $student->id) }} @endif {{$student->Position}}
@endif