@extends('admin.admin_dashboard') @section('admin')

Tabulation Sheet

PDF CSV
Exam: {{ $exam->exam_name }} | Session: {{ $exam->session->name ?? '-' }} | Class: {{ $exam->class->name ?? '-' }} | Section: {{ $section->name ?? 'All' }}
@foreach($subjects as $sub) @endforeach @foreach($subjects as $sub) @endforeach @foreach($rows as $r) @foreach($subjects as $sub) @php $col = collect($r->subjects)->firstWhere('subject_id', $sub->id); $disp = $col && $col['is_absent'] ? 'A' : number_format($col['mark'] ?? 0, 2); @endphp @endforeach @endforeach @foreach($subjects as $sub) @endforeach
Roll Student{{ $sub->name }}Total GPA Class Pos Sec Pos
Mark
{{ $r->roll }} {{ $r->name }}{{ $disp }}{{ number_format($r->total, 2) }} {{ $r->gpa ?? '-' }} {{ $r->position_class ?? '-' }} {{ $r->position_section ?? '-' }}
Subject Totals{{ number_format($subjectTotals[$sub->id] ?? 0, 2) }}{{ number_format($grandTotal, 2) }}
@endsection