@extends('layouts.app') @section('title', 'PSAJ - Penilaian Sumatif Akhir Jenjang') @section('content')

PSAJ - Penilaian Sumatif Akhir Jenjang

{{ $school->name }}

Tambah Peserta
@if (session('success')) @endif @if (session('error')) @endif
Semua @foreach ($jenjangOptions as $key => $label) {{ $key }} @endforeach
Total Peserta

{{ $participants->count() }}

Laki-laki

{{ $participants->filter(fn($p) => str_starts_with($p->nik, '1') || str_starts_with($p->nik, '3') || str_starts_with($p->nik, '5') || str_starts_with($p->nik, '7') || str_starts_with($p->nik, '9'))->count() }}

Perempuan

{{ $participants->filter(fn($p) => str_starts_with($p->nik, '2') || str_starts_with($p->nik, '4') || str_starts_with($p->nik, '6') || str_starts_with($p->nik, '8') || str_starts_with($p->nik, '0'))->count() }}

Dengan Foto

{{ $participants->whereNotNull('photo')->count() }}

@forelse ($participants as $index => $participant) @empty @endforelse
No No. Peserta Nama NISN Jenjang Kelas Ketunaan Status Foto Aksi
@if (!$participant->is_locked) @endif {{ $index + 1 }} {{ $participant->no_peserta }} {{ $participant->nama }}
NIK: {{ $participant->nik }}
{{ $participant->nisn }} {{ $participant->jenjang }} {{ $participant->kelas }} {{ $participant->disabilityType->code }} @if ($participant->is_locked) Final @else Draft @endif @if ($participant->photo) Foto @else Tidak Ada @endif
@if (!$participant->is_locked) @endif @if (!$participant->is_locked) @endif
Belum ada peserta PSAJ {{ $jenjang ? 'untuk jenjang ' . $jenjang : '' }}
@push('scripts') @endpush @endsection