@extends('layouts.app')
@section('title', 'Report Card')
@section('breadcrumb', 'Report Card › ' . $student->full_name)
@section('content')
{{-- Toolbar (hidden on print) --}}
Report Card
{{ $student->full_name }} • {{ $term->name }} • {{ $enrollment->academicSession->name }}
{{-- ═══ REPORT CARD (Printable) ═══════════════════════════════════════════ --}}
{{-- Header --}}
{{-- Student Info Band --}}
Student Name
{{ $student->full_name }}
MCSS Student ID
{{ $student->mcss_student_id }}
Class / Arm
{{ $enrollment->classArm->full_name }}
Session
{{ $enrollment->academicSession->name }}
Gender
{{ ucfirst($student->gender ?? '—') }}
{{-- Results Table --}}
Academic Performance
| Subject |
CA1 |
CA2 |
Exam |
Total |
Grade |
GPA |
Remark |
@foreach($results as $result)
is_absent) class="rc-absent" @endif>
| {{ $result->subject->name }} |
{{ $result->ca1_score ?? '—' }} |
{{ $result->ca2_score ?? '—' }} |
@if($result->is_absent)
ABS
@else
{{ $result->exam_score ?? '—' }}
@endif
|
{{ $result->total_score ?? '—' }} |
{{ $result->grade_letter ?? '—' }}
|
{{ $result->grade_point ?? '—' }} |
@endforeach
| Term Summary: |
{{ $termAvg ?? '—' }} |
— |
{{ $termGpa ?? '—' }} |
{{ $enrollment->position_in_class ? "Position: {$enrollment->position_in_class} / {$classSize}" : '—' }} |
{{-- Bottom Summary Row --}}
Term GPA
{{ $termGpa ?? '—' }}
Average Score
{{ $termAvg ?? '—' }}%
Subjects Passed
{{ $passed }}
Subjects Failed
{{ $failed }}
Class Position
{{ $enrollment->position_in_class ? "{$enrollment->position_in_class} / {$classSize}" : '—' }}
{{-- Attendance --}}
Attendance
@if($attendance)
{{ $attendance->days_present }} / {{ $attendance->days_school_opened }} days
({{ $attendance->attendance_percent }}%)
@else
—
@endif
{{-- Grading Scale Key --}}
Grading Key:
A (90–100, Excellent) |
B+ (80–89, Very Good) |
B (70–79, Good) |
C+ (60–69, Above Avg) |
C (50–59, Average) |
D (40–49, Below Avg) |
F (0–39, Fail)
{{-- Signatures --}}
Principal's Signature & Stamp
Parent / Guardian Signature
@endsection
@push('styles')
@endpush