@extends('layouts.app') @section('title', 'NECTA Examination Results - ' . $examType . ' ' . $examYear) @section('content')
| GENDER / SEX | DIV I | DIV II | DIV III | DIV IV | DIV 0 | TOTAL |
|---|---|---|---|---|---|---|
| FEMALE (F) | {{ $summary['divisions']['I']['F'] }} | {{ $summary['divisions']['II']['F'] }} | {{ $summary['divisions']['III']['F'] }} | {{ $summary['divisions']['IV']['F'] }} | {{ $summary['divisions']['0']['F'] }} | {{ $summary['female_total'] }} |
| MALE (M) | {{ $summary['divisions']['I']['M'] }} | {{ $summary['divisions']['II']['M'] }} | {{ $summary['divisions']['III']['M'] }} | {{ $summary['divisions']['IV']['M'] }} | {{ $summary['divisions']['0']['M'] }} | {{ $summary['male_total'] }} |
| TOTAL | {{ $summary['divisions']['I']['T'] }} | {{ $summary['divisions']['II']['T'] }} | {{ $summary['divisions']['III']['T'] }} | {{ $summary['divisions']['IV']['T'] }} | {{ $summary['divisions']['0']['T'] }} | {{ $summary['total'] }} |
| CAND. NO | STUDENT NAME (SYSTEM) | SEX | AGGT | DIV | DETAILED SUBJECTS | ACTIONS |
|---|---|---|---|---|---|---|
| {{ $res->candidate_no }} | {{-- Student Name --}}
@if($res->student)
{{ $res->student_name }}
Adm: {{ $res->student->admission_number }}
@elseif(!empty($res->student_name))
{{ $res->student_name }}
NECTA Record
@else
Not mapped
@endif
|
{{-- Sex --}}
@if(strtoupper($res->gender) === 'F') F @else M @endif | {{-- Points / AGGT --}}{{ $res->points ?: '—' }} | {{-- Division --}}@php $div = strtoupper(trim((string)$res->division)); $badgeClass = match($div) { 'I', 'DIV I', 'DIVISION I', 'DISTINCTION', '1' => 'bg-success text-white', 'II', 'DIV II', 'DIVISION II', 'MERIT', '2' => 'bg-primary text-white', 'III', 'DIV III', 'DIVISION III', 'CREDIT', '3' => 'bg-info text-dark', 'IV', 'DIV IV', 'DIVISION IV', 'PASS', '4' => 'bg-warning text-dark', '0', 'DIV 0', 'DIVISION 0', 'FAIL' => 'bg-danger text-white', default => 'bg-secondary text-white', }; @endphp {{ $res->division ?: '—' }} | {{-- Detailed Subjects --}}
@if(!empty($res->subjects_json) && is_array($res->subjects_json))
@foreach($res->subjects_json as $subCode => $grade)
@php
$gColor = match(strtoupper($grade)) {
'A' => 'bg-success text-white',
'B' => 'bg-primary text-white',
'C' => 'bg-info text-dark',
'D' => 'bg-warning text-dark',
default => 'bg-secondary text-white',
};
@endphp
{{ $subCode }}: {{ $grade }}
@endforeach
@else
{{ $res->detailed_subjects }}
@endif
|
{{-- Actions: WhatsApp Share & Link --}}
{{-- WhatsApp Share URL --}}
@php
$waService = app(\App\Services\NectaService::class);
$waUrl = $waService->buildWhatsAppShareUrl($res, $centerName);
@endphp
WhatsApp
{{-- Link Button --}}
|
Please click the "Import Results" button above to fetch directly from the NECTA web portal or paste HTML content.
| RANK | CENTRE NO | SCHOOL NAME | CANDIDATES | GPA | PASS RATE | DIV I | DIV II | DIV III | DIV IV | DIV 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| @if($sch->regional_rank == 1) 1 @elseif($sch->regional_rank == 2) 2 @elseif($sch->regional_rank == 3) 3 @else {{ $sch->regional_rank ?? '—' }} @endif | {{ $sch->center_number }} | {{ $sch->school_name }} @if($isOurCenter) OUR SCHOOL @endif | {{ $sch->candidates_count }} | {{ number_format($sch->gpa, 4) }} | {{ number_format($sch->pass_rate, 1) }}% | {{ $sch->division_i }} | {{ $sch->division_ii }} | {{ $sch->division_iii }} | {{ $sch->division_iv }} | {{ $sch->division_0 }} |
You can import the regional performance table by pasting data or adding individual schools manually.