@if(!isset($class) || in_array($class, [1,2,3,4,5,6,7,8]))
@php
$term1TwentyPercent = $reportCard['term1TwentyPercent'];
$term2EightyPercent = $reportCard['term2EightyPercent'];
$totalObtained = $reportCard['totalObtained'];
$totalMaxMarks = $reportCard['totalMaxMarks'];
$percentage = $reportCard['overall_percentage'];
$grade = $reportCard['overall_grade'];
@endphp
| Annual Result |
20% of Marks Obtained (Term I) |
80% of Marks Obtained (Term II) |
Marks Obtained ({{ $totalMaxMarks }}) |
Percentage |
Grade |
| {{ $term1TwentyPercent }} |
{{ $term2EightyPercent }} |
{{ $totalObtained }} |
{{ $percentage }} |
{{ $grade }} |
@elseif(in_array($class, [9,10]))
@php
$totalObtained = $reportCard['total_marks'];
$totalMaxMarks = $reportCard['total_max_marks'];
$percentage = $reportCard['percentage'];
$grade = $reportCard['grade'];
@endphp
| ANNUAL RESULT: |
Total Marks |
Marks Obtained |
Percentage |
Grade |
| {{ $totalMaxMarks }} |
{{ $totalObtained }} |
{{ $percentage }} |
{{ $grade }} |
@elseif(in_array($class, [101,102,103,104,105,106,107,108]))
@php
$totalObtained = $reportCard['total_marks'];
$totalObtainedInWords = $reportCard['total_marks_in_words'];
$totalMaxMarks = $reportCard['total_max_marks'];
$percentage = $reportCard['percentage'];
$grade = $reportCard['grade'];
@endphp
| ANNUAL RESULT: |
Total Marks |
Percentage |
Grade |
| {{ $totalObtained }} |
{{ $percentage }} |
{{ $grade }} |
| {{ $totalObtainedInWords }} |
@endif