@extends('layouts.app') @section('title', 'Kelola Sekolah - Superadmin') @section('content')

Kelola Sekolah

Kelola data sekolah dan institusi pendidikan

@if (session('success')) @endif @if (session('error')) @endif @if (session('import_errors')) @endif
Total Sekolah

{{ $schools->count() }}

Institusi
Sekolah Aktif

{{ $schools->where('is_active', true)->count() }}

Beroperasi
Sekolah Negeri

{{ $schools->where('status', 'Negeri')->count() }}

Pemerintah
Sekolah Swasta

{{ $schools->where('status', 'Swasta')->count() }}

Privat
Daftar Sekolah
Total: {{ $schools->count() }} sekolah
@forelse($schools as $index => $school) @empty @endforelse
No NPSN Nama Sekolah Jenjang Status KCD Kepala Sekolah Active Aksi
{{ $index + 1 }} {{ $school->npsn }} {{ $school->name }} @if($school->email)
{{ $school->email }} @endif
{{ $school->level }} {{ $school->status }} {{ $school->kcd->name ?? '-' }} {{ $school->principal_name ?? '-' }}
@csrf

Tidak ada data sekolah

Tambah Sekolah Pertama
@endsection @push('scripts') @endpush