@if (! empty($schoolLogo)) @endif

{{ $schoolName }}

@if (! empty($schoolMotto))
{{ $schoolMotto }}
@endif
@if ($schoolAddress) {{ $schoolAddress }} @endif @if ($schoolPhone) · {{ $schoolPhone }} @endif @if ($schoolEmail) · {{ $schoolEmail }} @endif

{{ $termTitle ?: 'Report Card' }}

Student{{ $studentName }} Reg No.{{ $regNo }}
Class{{ $className }} Position{{ $position ?: '—' }}
@forelse ($subjects as $s) @empty @endforelse
Subject CA Mid-Term Exam Total Grade Position Remark
{{ $s['name'] }} {{ number_format($s['ca'], 1) }} {{ number_format($s['midTerm'], 1) }} {{ number_format($s['exam'], 1) }} {{ number_format($s['total'], 1) }} {{ $s['grade'] ?? '—' }} {{ $s['position'] ?: '—' }} {{ $s['remark'] }}
No grades recorded for this term.
{{ $noOfSubjects }}Subjects {{ $totalScore }}Total Score {{ $studentAverage }}%Average {{ $gpa }}GPA
@if (count($affectiveSkills ?? []) || count($psychomotorSkills ?? []))
@if (count($affectiveSkills ?? []))

Affective Skills

@foreach ($affectiveSkills as $sk) @endforeach
{{ $sk['name'] }} {!! str_repeat('★', $sk['rating']).str_repeat('☆', max(0, 5 - (int) $sk['rating'])) !!}
@endif @if (count($psychomotorSkills ?? []))

Psychomotor Skills

@foreach ($psychomotorSkills as $sk) @endforeach
{{ $sk['name'] }} {!! str_repeat('★', $sk['rating']).str_repeat('☆', max(0, 5 - (int) $sk['rating'])) !!}
@endif
@endif
@if (! empty($formTeacherComment))
Form Teacher's Comment
{{ $formTeacherComment }}
@endif @if (! empty($headTeacherComment))
Head Teacher's Comment{{ $headTeacherName ? " — {$headTeacherName}" : '' }}
{{ $headTeacherComment }}
@endif @if (! empty($resultSummary))
Summary
{{ $resultSummary }}
@endif