@include('backend.exams.report-card.includes.style')
@include('sweetalert::alert')

{{ $exam->name }}

SESSION: {{ $exam->year }} - {{ $exam->year+1 }}

@if($exam->comment!='n') @endif
Student ID: {{ $student->roll }} Name: {{ $student->name }}
Class: {{ $exam->classInfo->code }} Section: {{ $exam->classInfo->section->name }}
Parent-Teacher Meeting(PTM): 1 Attended: 1
@if($exam->hw_mark =='a' and $exam->cw_mark=='a') @include('backend.exams.report-card.includes.senior-academic-report-with-auto-hw-cw-mark') @else @include('backend.exams.report-card.includes.senior-academic-report') @endif
Teacher's Evaluation
Extracurricular Activities/ Skill development
@php($loopCount = 1) @foreach($sc->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $sc->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($lc->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $lc->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($tic->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $tic->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($sic->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $sic->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($cpac->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $cpac->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($csc->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $csc->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($ac->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $ac->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
@php($loopCount = 1) @foreach($olmp->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $olmp->name }}
{{ $item->name }} {{ isset($activity)? $activity->grade : '-' }}
Class Teacher's Comment:
{!! isset($comment) ? $comment->comment : '' !!}
@php($vpSign = siteInfo('vp_signature')) @if(isset($vpSign) and $vpSign != '') @endif @php($principalSign = siteInfo('principal_signature')) @if(isset($principalSign) and $principalSign != '') @endif
   Class Teacher       Vice Principal           Principal