{{-- resources/views/school/transcripts/preview.blade.php --}} @extends('layouts.app') @section('title', 'Transcript Preview') @section('breadcrumb', 'Transcripts › ' . $student->full_name) @section('content')
Academic Transcript Preview
{{ $student->full_name }} — {{ $student->mcss_student_id }}
Cumulative GPA: {{ $history['cumulative_gpa'] ?? '—' }} ({{ $history['gpa_class'] ?? '—' }})
{{-- Schools attended --}}
Schools attended: {{ implode(' → ', $history['schools_attended']) }}
{{-- Session blocks --}} @foreach($history['history'] as $session)
{{ $session['session'] }}{{ $session['class'] }} {{ $session['school_code'] }}
@if($session['session_gpa']) Session GPA {{ $session['session_gpa'] }} @endif
@foreach($session['terms'] as $term)
{{ $term['term_name'] }} @if($term['term_gpa']) — GPA: {{ $term['term_gpa'] }} @endif
@foreach($term['subjects'] as $s) @endforeach
SubjectCA1CA2ExamTotalGradeRemark
{{ $s['subject'] }} {{ $s['ca1'] ?? '—' }} {{ $s['ca2'] ?? '—' }} {{ $s['is_absent'] ? 'ABS' : ($s['exam'] ?? '—') }} {{ $s['total'] ?? '—' }} {{ $s['grade'] ?? '—' }} {{ $s['remark'] ?? '—' }}
@endforeach
@endforeach {{-- Generate form --}}
Issue Official Transcript (PDF)
@csrf
A tamper-proof verification code will be embedded in the PDF.
@endsection