{{-- --}} {{ $result->first()->reg_no }} {{ $result->first()->term }} {{ $result->first()->session }} Result @vite(['resources/css/app.css', 'resources/js/app.js']) @include('sweetalert::alert') {{-- @include('result-checker.jss.calculate') --}} @php $surname = DB::table("students")->where("id", Auth::id())->first()->surname; $firstname = DB::table("students")->where("id", Auth::id())->first()->firstname; $reg_no = DB::table("students")->where("id", Auth::id())->first()->reg_no; //date in mm/dd/yyyy format; or it can be in other formats as well $birthDate = DB::table('students') ->where('reg_no', $reg_no)->first()->DoB; //explode the date to get month, day and year if ($birthDate != null){ $birthDate = explode("-", $birthDate); //get age from date or birthdate $age = (date("md", date("U", mktime(0, 0, 0, $birthDate[2], $birthDate[1], $birthDate[0]))) > date("md") ? ((date("Y") - $birthDate[0]) - 1) : (date("Y") - $birthDate[0])); } else { $age = " "; } @endphp

OAKFIELD SCHOOLS

Nursery, Primary and Secondary

ORIMERUNMU ROAD, ORIMERUNMU, OGUN STATE

The Preferred....

{{$result->first()->session}}, {{$result->first()->term}} Term Report Sheet

Name: {{$surname}} {{$firstname}} Reg_no: {{$reg_no}}
Class: {{ $result->first()->class }} Age: {{ $age }} Term: {{ $result->first()->term }} Session: {{ $result->first()->session }}
Subjects Midterm (10) C.A (20) Exam (70) Total (100) 1ST 2ND Grade
English Language {{ $eng_mt }} {{ $eng_ca }} {{ $eng_ex }} {{ $eng_ts }} {{ $engf_ts ?? null }} {{ $engs_ts ?? null }} @if (($eng_ts > 74) && ($eng_ts <= 100)) A @endif @if (($eng_ts > 59) && ($eng_ts < 75)) B @endif @if (($eng_ts > 49) && ($eng_ts < 60)) C @endif @if (($eng_ts >= 0) && ($eng_ts < 50)) F @endif
Mathematics {{ $mat->mt }} {{ $mat->ca }} {{ $mat->ex }} {{ $mat->ts }} {{ $matf->ts ?? null }} {{ $mats->ts ?? null }} @if (($mat->ts > 74) && ($mat->ts <= 100)) A @endif @if (($mat->ts > 59) && ($mat->ts < 75)) B @endif @if (($mat->ts > 49) && ($mat->ts < 60)) C @endif @if (($mat->ts >= 0) && ($mat->ts < 50)) F @endif
Basic Science and Technology {{ $bst_mt }} {{ $bst_ca }} {{ $bst_ex }} {{ $bst_ts }} {{ $bstf_ts ?? null }} {{ $bsts_ts ?? null }} @if (($bst_ts > 74) && ($bst_ts <= 100)) A @endif @if (($bst_ts > 59) && ($bst_ts < 75)) B @endif @if (($bst_ts > 49) && ($bst_ts < 60)) C @endif @if (($bst_ts >= 0) && ($bst_ts < 50)) F @endif
Creative and Cultural Art {{ $cc_mt }} {{ $cc_ca }} {{ $cc_ex }} {{ $cc_ts }} {{ $ccf_ts ?? null }} {{ $ccs_ts ?? null }} @if (($cc_ts > 74) && ($cc_ts <= 100)) A @endif @if (($cc_ts > 59) && ($cc_ts < 75)) B @endif @if (($cc_ts > 49) && ($cc_ts < 60)) C @endif @if (($cc_ts >= 0) && ($cc_ts < 50)) F @endif
National Values Education {{ $nve_mt }} {{ $nve_ca }} {{ $nve_ex }} {{ $nve_ts }} {{ $nvef_ts ?? null }} {{ $nves_ts ?? null }} @if (($nve_ts > 74) && ($nve_ts <= 100)) A @endif @if (($nve_ts > 59) && ($nve_ts < 75)) B @endif @if (($nve_ts > 49) && ($nve_ts < 60)) C @endif @if (($nve_ts >= 0) && ($nve_ts < 50)) F @endif
Pro-Vocational Studies {{ $pvs_mt }} {{ $pvs_ca }} {{ $pvs_ex }} {{ $pvs_ts }} {{ $pvsf_ts ?? null }} {{ $pvss_ts ?? null }} @if (($pvs_ts > 74) && ($pvs_ts <= 100)) A @endif @if (($pvs_ts > 59) && ($pvs_ts < 75)) B @endif @if (($pvs_ts > 49) && ($pvs_ts < 60)) C @endif @if (($pvs_ts >= 0) && ($pvs_ts < 50)) F @endif
French {{ $fr->mt }} {{ $fr->ca }} {{ $fr->ex }} {{ $fr->ts }} {{ $frf->ts ?? null }} {{ $frs->ts ?? null }} @if (($fr->ts > 74) && ($fr->ts <= 100)) A @endif @if (($fr->ts > 59) && ($fr->ts < 75)) B @endif @if (($fr->ts > 49) && ($fr->ts < 60)) C @endif @if (($fr->ts >= 0) && ($fr->ts < 50)) F @endif
Yoruba {{ $yo->mt }} {{ $yo->ca }} {{ $yo->ex }} {{ $yo->ts }} {{ $yof->ts ?? null }} {{ $yos->ts ?? null }} @if (($yo->ts > 74) && ($yo->ts <= 100)) A @endif @if (($yo->ts > 59) && ($yo->ts < 75)) B @endif @if (($yo->ts > 49) && ($yo->ts < 60)) C @endif @if (($yo->ts >= 0) && ($yo->ts < 50)) F @endif
Business Studies {{ $bus->mt }} {{ $bus->ca }} {{ $bus->ex }} {{ $bus->ts }} {{ $busf->ts ?? null }} {{ $buss->ts ?? null }} @if (($bus->ts > 74) && ($bus->ts <= 100)) A @endif @if (($bus->ts > 59) && ($bus->ts < 75)) B @endif @if (($bus->ts > 49) && ($bus->ts < 60)) C @endif @if (($bus->ts >= 0) && ($bus->ts < 50)) F @endif
Christian Religious Studies {{ $crs->mt }} {{ $crs->ca }} {{ $crs->ex }} {{ $crs->ts }} {{ $crsf->ts ?? null }} {{ $crss->ts ?? null }} @if (($crs->ts > 74) && ($crs->ts <= 100)) A @endif @if (($crs->ts > 59) && ($crs->ts < 75)) B @endif @if (($crs->ts > 49) && ($crs->ts < 60)) C @endif @if (($crs->ts >= 0) && ($crs->ts < 50)) F @endif
Diction {{ $dic->mt }} {{ $dic->ca }} {{ $dic->ex }} {{ $dic->ts }} {{ $dicf->ts ?? null }} {{ $dics->ts ?? null }} @if (($dic->ts > 74) && ($dic->ts <= 100)) A @endif @if (($dic->ts > 59) && ($dic->ts < 75)) B @endif @if (($dic->ts > 49) && ($dic->ts < 60)) C @endif @if (($dic->ts >= 0) && ($dic->ts < 50)) F @endif
History {{ $his->mt }} {{ $his->ca }} {{ $his->ex }} {{ $his->ts }} {{ $hisf->ts ?? null }} {{ $hiss->ts ?? null }} @if (($his->ts > 74) && ($his->ts <= 100)) A @endif @if (($his->ts > 59) && ($his->ts < 75)) B @endif @if (($his->ts > 49) && ($his->ts < 60)) C @endif @if (($his->ts >= 0) && ($his->ts < 50)) F @endif
Percentage {{ $percentage }}% @if($result1->first() != null) {{ $prev_percent["first"] }}% @endif @if($result1->first() != null) {{ $prev_percent["second"] }}% @endif
Total Mark {{ $total }}
Achievable Mark {{ $total_achievable }}
Average {{ $average_percent }}%
Remarks @if (($average_percent > 74) && ($average_percent < 101)) A @endif @if (($average_percent > 59) && ($average_percent < 75)) B @endif @if (($average_percent > 49) && ($average_percent < 60)) C @endif @if (($average_percent >= 0) && ($average_percent < 50)) F @endif
Teacher's Comments
Principal's Comments
Grading System
A 75 - 100
B 60 - 74
C 50 - 59
F 0 - 49