@extends('layout.report', ['max_width' => '100%']) @section('report') @php $totalGrade = 0; $totalCreditHours = 0; $index = 1; $total_points = 0; @endphp
| Subject | Grade | Credit | Quality Points | |
|---|---|---|---|---|
| {{ $course->subject->name }} | {{ $course->final }} | {{ valOrNA($course->credit_hours) }} | {{ valOrNA($course->quality_points) }} | @php $grade += $course->grade * $course->credit_hours; $points += $course->quality_points; $creditHours += $course->credit_hours; $totalGrade += $course->grade * $course->credit_hours; $total_points += $course->quality_points; $totalCreditHours += $course->credit_hours; @endphp|
| Current | @if ($creditHours != 0){{ round($points / $creditHours, 2) }} | @else0 | @endif{{ $creditHours }} | {{ $points }} |
| Cumulative | @if ($totalCreditHours != 0){{ round($total_points / $totalCreditHours, 2) }} | @else0 | @endif{{ $totalCreditHours }} | {{ $total_points }} |
N/A = Not Applicable *=OJT retaken