1 Cedar Street
Sandown
Milnerton Rural
Cape Town, 7441
PO BOX 13434
Observatory 7935
Tel +27.21.448.0050
https://cornerstone.ac.za

{{ $title }}

@if($type == \App\Pdf\GradeReport::TYPE_TRANSCRIPT) @if($suppGrades->count() > 0)

Prerequisites

@foreach($suppGrades as $supp) @endforeach
Module Code Module Grade Symbol Credits NQF Level Comment
{{ $supp->module->code }} {{ $supp->module->name }} {{ $supp->credits }} {{ $supp->module->nqf }} Prerequisites
Subtotal of Credits Completed: {{ $suppTotal }}
@endif @endif

Grades

@foreach($modules as $module) @php $grade = $module->grades() ->where('user_id',$user->id) ->when(!$is_admin, function($q) { return $q->whereNotNull('released_at'); })->orderBy('created_at', 'desc') ->first(); @endphp @if($grade) @endif @if(!$grade) @php $modReg = \App\ModuleRegistration::where('module_id', $module->id) ->where('registration_id', $registration->id) ->first(); @endphp @if($modReg && $modReg->status_id == \App\ModuleRegistration::STATUS_WITHDRAWN) @endif @endif @endforeach @if($type == \App\Pdf\GradeReport::TYPE_TRANSCRIPT && ($rpls->count() > 0 || $suppGrades->count() > 0)) @endif
Module Code Module Grade Symbol Credits NQF Level Comment
{{ $module->code }} {{ $module->name }} {{ $module->is_pass_fail ? $grade->grade == 111 ? 'Pass' : 'Fail' : number_format(floatval($grade->grade), 1) ?? '' }} {{ $grade->symbol ?? '' }} {{ $module->credits }} {{ $module->nqf }} {{ $grade->comment ?? '' }}
{{ $module->code }} {{ $module->name }} W W {{ $module->credits }} {{ $module->nqf }} Withdrawn
Subtotal Of Credits Completed: {{ $credit_total }}
@if($type == \App\Pdf\GradeReport::TYPE_TRANSCRIPT) @if($rpls->count() > 0)

RPL/CAT

@foreach($rpls as $rpl) @endforeach
Module Code Module Grade Symbol Credits NQF Level Comment
{{ $rpl->module->code }} {{ $rpl->module->name }} {{ $rpl->type_id == 2 ? 'CAT' : 'RPL' }} {{ $rpl->credits }} {{ $rpl->module->nqf }} Credit awarded via {{ $rpl->type_id == 2 ? 'CAT' : 'RPL' }}
Subtotal of Credits Completed: {{ $rplTotal }}
@endif @endif
Stamp

REGISTRAR

DATE: {{ date('d/m/Y') }}