@extends('layouts.app') @section('body-class', 'bg-light') @section('title', 'Info-status') @section('content')
@if(isset($view_mode) && $view_mode === 'info-status')

Status Pendaftar

Informasi Status pendaftaran Anda

@else

Data Diri Peserta Didik

Informasi data pendaftaran Anda

@endif
Kembali
@if (!$pendaftar)
Belum ada data pendaftaran

Silakan lakukan pendaftaran terlebih dahulu di menu Daftar Peserta Didik.

@endif @if ($pendaftar)
@if(isset($view_mode) && $view_mode === 'data-diri') @includeWhen(true, 'peserta.data-diri._form') @elseif(!(isset($view_mode) && $view_mode === 'data-diri'))
@if($pendaftar->status === 'menunggu') Status Menunggu @else {{ ucfirst($pendaftar->status) }} @endif
Data Diri Pendaftar
Nomor Pendaftaran

{{ $pendaftar->user->username }}

Nama Lengkap

{{ $pendaftar->nama_peserta }}

Jenis Kelamin

{{ $pendaftar->jenis_kelamin ?: '-' }}

No.Induk Kependudukan(NIK)

{{ $pendaftar->nik ?: '-' }}

Tanggal Lahir

{{ $pendaftar->tanggal_lahir ? date('d M Y', strtotime($pendaftar->tanggal_lahir)) : '-' }}

Tempat Lahir

{{ $pendaftar->tempat_lahir ?: '-' }}

Alamat

{{ $pendaftar->alamat ?: '-' }}

Nomor HP/Telepon

{{ $pendaftar->no_hp ?: '-' }}

Data Sekolah Asal
Asal Sekolah

{{ $pendaftar->asal_sekolah ?: '-' }}

NISN (Jika memiliki)

{{ $pendaftar->nisn ?: '-' }}

Informasi Pendaftaran
Tanggal Pendaftaran

{{ \Carbon\Carbon::parse($pendaftar->created_at)->format('d/m/Y H:i') }}

Email Pendaftaran

{{ $pendaftar->user->email }}


Jadwal Pendaftaran

Tahun Pelajaran: {{ $schedule['tahun_pelajaran'] ?? '2025/2026' }}

Dibuka: {{ $schedule['dibuka_formatted'] ?? '1 Juni 2026' }}

Ditutup: {{ $schedule['ditutup_formatted'] ?? '30 Juni 2026' }}

Pengumuman: {{ $schedule['pengumuman_formatted'] ?? '15 Juli 2026' }}

Kontak Support

Telepon: {{ $schedule['telepon'] ?? '+62-341-XXXXXX' }}

Email: {{ $schedule['email'] ?? 'ppdb@sekolah.id' }}

Jam Operasional: {{ explode("\n", $schedule['jam_operasional'] ?? "Senin-Jumat: 08:00-12:00\nSabtu: libur")[0] }}

{{ explode("\n", $schedule['jam_operasional'] ?? "Senin-Jumat: 08:00-12:00\nSabtu: libur")[1] ?? '' }}

@endif
@endif
@endsection @if(session('upload_success')) @endif