@extends('layouts.app') @section('title', 'Data Siswa') @section('content')

Data UtamaData MasterData Siswa

Manajemen Data Siswa

Kelola identitas, rombongan belajar, dan status peserta didik.

Periode aktif {{ $period ? $period->tahun_pelajaran.' · '.$period->semester : 'Belum diatur' }}
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any()) @endif

Aksi data siswa

Pilih satu baris untuk memperbaiki atau mengeluarkan siswa.

Import siswa

Unggah ekspor Dapodik (.xlsx), lalu periksa nama rombel dan tingkat sebelum konfirmasi. Siswa lama dicocokkan agar tidak dibuat ulang.

@csrf

Pencarian dan filter

data per halaman · {{ number_format($total, 0, ',', '.') }} siswa
@if ($records instanceof \Illuminate\Contracts\Pagination\LengthAwarePaginator) @else 1 / 1 @endif
@forelse ($records as $index => $record) @empty @endforelse
No Nama lengkap Identitas L/P Tempat, tanggal lahir Alamat Rombel Foto
{{ $records instanceof \Illuminate\Contracts\Pagination\LengthAwarePaginator ? $records->firstItem() + $index : $index + 1 }} {{ $record->nama_siswa }} Orang tua: {{ $record->nama_ayah ?: '-' }} · {{ $record->nama_ibu ?: '-' }} NISN: {{ $record->nisn ?: '-' }}
NIS: {{ $record->nis ?: '-' }}
{{ in_array($record->jenis_kelamin, ['L', 'Laki-laki'], true) ? 'L' : ($record->jenis_kelamin ? 'P' : '-') }} {{ $record->tempat_lahir ?: '-' }}
{{ $record->tanggal_lahir ? \Illuminate\Support\Carbon::parse($record->tanggal_lahir)->format('d/m/Y') : '-' }}
{{ $record->alamat ?: '-' }} {{ $record->desa_kelurahan ?: '-' }} @if ($record->nama_kelas) {{ $record->nama_kelas }} @else Belum terploting @endif @if ($record->foto) Foto {{ $record->nama_siswa }} @else @endif
{{ request()->hasAny(['q', 'kelas', 'desa']) ? 'Data siswa tidak ditemukan untuk filter ini.' : 'Belum ada data siswa di periode ini.' }}
@if ($records instanceof \Illuminate\Contracts\Pagination\LengthAwarePaginator && $records->hasPages())
{{ $records->links() }}
@endif
@csrf

Konfirmasi siswa keluar

@push('scripts') @endpush @endsection