@if($template->logo_path) @endif
{{ config('app.name', 'School Management System') }}
P.O. Box 1234, Kampala, Uganda
Tel: +256 123 456 789 | Email: info@school.ug
Student Report Card
Academic Year: {{ $termResult->academicYear->year }} | Term: {{ $termResult->term->name }}
Student Name:
{{ $student->first_name }} {{ $student->middle_name }} {{ $student->last_name }}
Admission Number:
{{ $student->admission_number }}
Class:
{{ $termResult->class->name }} @if($termResult->stream) - {{ $termResult->stream->name }} @endif
Report Number:
{{ $reportCard->report_number }}
Total Marks
{{ number_format($termResult->total_marks, 1) }}
Average
{{ number_format($termResult->average_marks, 1) }}%
Grade
{{ $termResult->overall_grade }}
GPA
{{ number_format($termResult->gpa, 2) }}
Division
{{ $termResult->division }}
@if($template->show_positions && $termResult->class_position)
Position
{{ $termResult->class_position }}/{{ $termResult->total_students_in_class }}
@endif
@if($template->show_subject_positions) @endif @foreach($subjectResults as $result) @if($template->show_subject_positions) @endif @endforeach
Subject Total Marks GradePositionInterpretation
{{ $result->subject->name }} {{ number_format($result->total_marks, 1) }} {{ $result->grade }} {{ $result->subject_position_in_class }}/{{ $result->total_students }} @php $gradeRange = $gradingScale->gradeRanges->firstWhere('grade', $result->grade); @endphp {{ $gradeRange->interpretation ?? '-' }}
@if($template->show_grade_key && $gradingScale)
Grading Scale: {{ $gradingScale->name }}
@foreach($gradingScale->gradeRanges as $range) {{ $range->grade }}: {{ $range->min_marks }}-{{ $range->max_marks }} ({{ $range->interpretation }}) @endforeach
@endif @if($template->show_attendance)
Attendance Summary: Days Present: {{ $termResult->days_present ?? 0 }} Days Absent: {{ $termResult->days_absent ?? 0 }} Total School Days: {{ $termResult->total_school_days ?? 0 }} Attendance: {{ number_format($termResult->attendance_percentage ?? 0, 1) }}%
@endif @if($termResult->class_teacher_remark)
Class Teacher's Remarks:
{{ $termResult->class_teacher_remark }}
@endif @if($termResult->head_teacher_remark)
Head Teacher's Remarks:
{{ $termResult->head_teacher_remark }}
@endif
Class Teacher
Date: {{ $reportCard->published_at ? $reportCard->published_at->format('d/m/Y') : '_____________' }}
Head Teacher
Date: {{ $reportCard->published_at ? $reportCard->published_at->format('d/m/Y') : '_____________' }}