@extends('layouts.school') @section('title', 'Assessment Configuration') @section('header', 'Assessment Configuration') @section('content')

Assessment Types

Total weight: {{ number_format($totalWeight, 2) }}% {{ $totalWeight == 100 ? '(balanced)' : '(should total 100%)' }}

@if($types->isEmpty())
@csrf
@endif
@forelse($types as $type) @empty @endforelse
Name Code Max Score Weight (%)
{{ $type->name }} {{ $type->code }} {{ $type->max_score }} {{ $type->weight }}%
@csrf @method('DELETE')
No assessment types configured. Add your school's structure below or load the default.

Add Assessment Type

@csrf
@error('name')

{{ $message }}

@enderror
@error('code')

{{ $message }}

@enderror
@error('max_score')

{{ $message }}

@enderror
@error('weight')

{{ $message }}

@enderror
@endsection