@php use App\Models\GradingSchemeDetail; use App\Models\AcademicSession; use App\Models\StudentCourse; use App\Models\EndComment; use App\Models\StudentEndComment; @endphp @extends('layouts.app') @section('title') Student Transcript @endsection @push('custom-css') @endpush @section('content')
{{ $student->first_name }} {{ $student->last_name }}'s Transcript
{{-- --}} {{-- --}}

This is to certify that
{{ $student->first_name }} {{ $student->last_name }} is a registered student of {{ $institution }} in the
{{ $student->faculty_name }} under the Programme of {{ $student->program_name }}.
His/Her academic performance is as follows:

@foreach ($results as $index => $res) @foreach ($res as $res_index => $std_res) @if (count($std_res) != 0)
{{ ucwords($index) }} {{ ucwords($res_index) }}
@foreach ($std_res as $result) @endforeach
Course Name Score Point Grade Grade Point
{{ $result['course_name'] }} {{ $result['mark'] }}% {{ GradingSchemeDetail::where('grading_scheme_id', $result['grading_scheme_id'])->where('grade', $result['grade'])->first()->point }} {{ $result['grade'] }} {{ GradingSchemeDetail::where('grading_scheme_id', $result['grading_scheme_id'])->where('grade', $result['grade'])->first()->point }}

End Comment : {{ ucwords($comments[$index . ' ' . $res_index]) }}

@endif @endforeach @endforeach
signature
@endsection