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

{{ $exam->name }}

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

@csrf
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 }}
@php($loopCount = 1) @foreach($lc->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $lc->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($tic->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $tic->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($sic->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $sic->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($cpac->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $cpac->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($csc->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $csc->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($ac->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $ac->name }}
{{ $item->name }}
@php($loopCount = 1) @foreach($olmp->items as $item) @php($activity = ecaActivity($student->id,$exam->id,$item->id)) @php($loopCount++) @endforeach
{{ $olmp->name }}
{{ $item->name }}
@if($exam->comment=='y') @endif
Class Teacher's Comment:
   Class Teacher       Vice Principal           Principal