@extends('layouts.school') @section('title', 'Upload Preview') @section('header', 'Upload Preview') @section('content')
{{ $term->name }} · {{ $assessmentType->name }} (max {{ $assessmentType->max_score }} · weight {{ $assessmentType->weight }}%)
{{ $toUpdate }} row(s) to update · {{ $toSkip }} blank row(s) skipped · {{ $existingCount }} existing score(s) will be overwritten
Fix the errors below, re-download the template if needed, and upload again.
| Student | Admission No | Score | Status |
|---|---|---|---|
| {{ $row['student']->first_name }} {{ $row['student']->last_name }} | {{ $row['student']->admission_no ?? '—' }} | @if ($row['score'] === null) — @else {{ rtrim(rtrim(number_format($row['score'], 2), '0'), '.') }} / {{ $assessmentType->max_score }} @endif | @if ($row['status'] === 'skip') Skipped (blank) @else Will be saved @endif |
| No rows found in the uploaded file. | |||