@extends('layouts.app') @section('title', 'Info PPDB - ' . ($setting->nama_sekolah ?? 'SMAN 1 KONOHA')) @section('styles') @endsection @section('content')
@if($activeSetting)

Pendaftaran Peserta Didik Baru

Tahun Ajaran {{ $activeSetting->academic_year }}

Dibuka: {{ $activeSetting->registration_start->format('d F Y') }} - {{ $activeSetting->registration_end->format('d F Y') }}

Jadwal Pendaftaran

Pendaftaran:
{{ $activeSetting->registration_start->format('d M Y') }} - {{ $activeSetting->registration_end->format('d M Y') }}

@if($activeSetting->test_date)

Tes Seleksi:
{{ $activeSetting->test_date->format('d M Y') }}

@endif @if($activeSetting->announcement_date)

Pengumuman:
{{ $activeSetting->announcement_date->format('d M Y') }}

@endif @if($activeSetting->re_registration_start)

Daftar Ulang:
{{ $activeSetting->re_registration_start->format('d M Y') }} - {{ $activeSetting->re_registration_end->format('d M Y') }}

@endif

Persyaratan

@if($activeSetting->requirements)
{{ $activeSetting->requirements }}
@else
  • Ijazah/STTB SMP
  • Rapor Kelas 7-9
  • Akta Kelahiran
  • KK & KTP Orang Tua
  • Pas Foto 3x4 (4 lembar)
@endif

Kuota & Biaya

@php $majors = \App\Models\Major::where('is_active', true)->orderBy('order')->get(); $totalQuota = $majors->sum('quota'); @endphp @foreach($majors as $major)

Kuota {{ $major->name }}: {{ $major->quota }} siswa

@endforeach

Total: {{ $totalQuota }} siswa


Biaya Pendaftaran:
Rp {{ number_format($activeSetting->registration_fee, 0, ',', '.') }}

@if($schedules->count() > 0)

Jadwal Kegiatan

@foreach($schedules as $schedule) @endforeach
Tanggal Kegiatan Waktu Lokasi
{{ $schedule->schedule_date->format('d M Y') }} {{ $schedule->title }} @if($schedule->is_important) Penting @endif @if($schedule->start_time) {{ \Carbon\Carbon::parse($schedule->start_time)->format('H:i') }} @if($schedule->end_time) - {{ \Carbon\Carbon::parse($schedule->end_time)->format('H:i') }} @endif @else - @endif {{ $schedule->location ?? '-' }}
@endif @if($announcements->count() > 0)

Pengumuman

@foreach($announcements as $announcement)
@if($announcement->is_pinned) @endif {{ $announcement->title }}
{{ $announcement->content }}

{{ $announcement->published_at->format('d M Y H:i') }}
@endforeach
@endif @if($activeSetting->terms_and_conditions)
Syarat dan Ketentuan
{{ $activeSetting->terms_and_conditions }}
@endif @else
Informasi PPDB belum tersedia. Silakan hubungi admin untuk informasi lebih lanjut.
@endif
@endsection