{{$site_setting->address}}
Estd:
{{$site_setting->estd}}
| Name : {{$std->name}} | Roll No. : {{$std->roll_no}} | |
| Class : {{$std['standard']['class_name']}} | Section : {{$std['section']['section_name']}} | |
| S.N. | Subject | F.M. | P.M. | TH. | PR. | Total | Grade |
@if($template==='ggrh' || $template==='gghrt')
Highest Marks |
@endif
|---|---|---|---|---|---|---|---|---|
| {{$loop->index+1}} | {{$am['subject']['subject_name']}} | {{$total_full_marks}} | {{$total_pass_marks}} | @if($am['theory'] >= $am['subject']['subject_mark']['theory_pass'] ) {{$am['theory']}} @else {{$am['theory']}}* @endif | @if($am['practical'] >= $am['subject']['subject_mark']['practical_pass'] ) {{$am['practical']}} @else {{$am['practical']}}* @endif | @if($am['theory'] >= $am['subject']['subject_mark']['theory_pass'] && $am['practical'] >= $am['subject']['subject_mark']['practical_pass'] ) {{$total_marks}} @else {{$total_marks}}* @endif | @php if($total_marks >= 90){ $gpa_value = 4.00; echo "A+"; } elseif(80 <= $total_marks && $total_marks < 90){ $gpa_value =3.60; echo "A"; } elseif(70 <= $total_marks && $total_marks< 80){ $gpa_value = 3.20; echo "B+"; } elseif(60 <= $total_marks && $total_marks < 70){ $gpa_value = 2.80; echo "B"; } elseif(50 <= $total_marks && $total_marks < 60){ $gpa_value = 2.40; echo "C+"; } elseif(40 <= $total_marks && $total_marks < 50){ $gpa_value = 2.00; echo "C"; } elseif(30 <= $total_marks && $total_marks < 40){ $gpa_value = 1.60; echo "D+"; } elseif(20 <= $total_marks && $total_marks < 30){ $gpa_value = 1.20; echo "D"; } else{ $gpa_value = 0.80; echo "E"; } @endphp | @if($template==='ggrh' || $template==='gghrt')@php echo max($result[$am->subject_id]); @endphp | @endif
| Total | {{$grand_full_total}} | {{$grand_pass_total}} | {{$total_theory_individual}} | {{$total_practical_individual}} | {{$total_marks_obtained }} |
| Grade | @php if($percentage >= 90){ echo "A+"; } elseif(80 <= $percentage && $percentage < 90){ echo "A"; } elseif(70 <= $percentage && $percentage< 80){ echo "B+"; } elseif(60 <= $percentage && $percentage < 70){ echo "B"; } elseif(50 <= $percentage && $percentage < 60){ echo "C+"; } elseif(40 <= $percentage && $percentage < 50){ echo "C"; } elseif(30 <= $percentage && $percentage < 40){ echo "D+"; } elseif(20 <= $percentage && $percentage < 30){ echo "D"; } else{ echo "E"; } @endphp |
| GPA | {{sprintf("%.2f",($total_gpa_value/$total_subject))}} |
| Percentage | {{ sprintf("%.2f",($percentage))}}% |
| Attendance | @php $student_attendance_date=$std['attendance']->whereBetween('attendance_date', [$carbon_date, $first_date]); $present_count = 0; foreach($student_attendance_date as $att_count){ if($att_count->status == "P"){ $present_count++; } } echo $present_count."/".count($student_attendance_date); @endphp |
| GPA | {{sprintf("%.2f",($total_gpa_value/$total_subject))}} |
| Result | @if($fail_count === 0) Pass @else Fail @endif | @endif
| Rank | @php $i = 1; @endphp @forelse($ranks as $key => $rank) @if($std->id == $key ) {{array_search($key,array_keys($ranks))+1}} @endif @empty @endforelse | @endif