@extends('layouts.app') @section('title', 'Profil Sekolah') @section('content')

{{ $school->name }}

{{ $school->kabKota->name ?? 'Lokasi tidak tersedia' }}

{{ strtoupper($school->level) }} {{ $school->status }} @if($school->accreditation) Akreditasi {{ $school->accreditation }} @endif
NPSN

{{ $school->npsn }}

{{ $school->is_active ? 'Aktif' : 'Nonaktif' }}
@if(session('success')) @endif @if(session('error')) @endif @if($school->profile_locked) @endif
Total Guru

{{ $totalGuru }}

Aktif
Tenaga Kependidikan

{{ $totalTendik }}

Aktif
Total GTK

{{ $totalGuru + $totalTendik }}

Guru & Tendik
Informasi Sekolah
@csrf @method('PUT')
Data Identitas
Nomor Pokok Sekolah Nasional
Lokasi & Wilayah
@error('address')
{{ $message }}
@enderror
Kontak & Informasi
profile_locked ? 'disabled' : '' }}> @error('phone')
{{ $message }}
@enderror
profile_locked ? 'disabled' : '' }}> @error('email')
{{ $message }}
@enderror
Data Kepala Sekolah
profile_locked ? 'disabled' : '' }}> @error('principal_name')
{{ $message }}
@enderror
profile_locked ? 'disabled' : '' }}> @error('principal_nip')
{{ $message }}
@enderror
profile_locked ? 'disabled' : '' }}> @error('principal_phone')
{{ $message }}
@enderror
Unit Layanan Disabilitas (ULD)
has_uld) ? 'checked' : '' }} {{ $school->profile_locked ? 'disabled' : '' }}>
Informasi Tambahan
profile_locked ? 'disabled' : '' }}> @error('website')
{{ $message }}
@enderror
@error('accreditation')
{{ $message }}
@enderror
@if($school->profile_locked)
Data profil terkunci. Hubungi Admin Dinas untuk membuka kunci.
@else @endif
Kepala Sekolah
@if($school->principal_name)
{{ $school->principal_name }}
@if($school->principal_nip) NIP: {{ $school->principal_nip }} @endif
@if($school->principal_phone || $school->email)
@if($school->email)
Email Sekolah {{ $school->email }}
@endif @if($school->principal_phone)
HP Kepala Sekolah {{ $school->principal_phone }}
@endif
@endif @else

Data kepala sekolah
belum tersedia

Silakan lengkapi data di bawah
@endif
Kontak Sekolah
@if($school->phone || $school->email || $school->website) @if($school->phone) @endif @if($school->email) @endif @if($school->website) @endif @else

Belum ada informasi kontak

Lengkapi data kontak sekolah
@endif
Alamat Lengkap
@if($school->address)

{{ $school->address }}


{{ $school->kabKota->name ?? 'Kab/Kota' }} @else

Alamat belum diisi

@endif
Tips
  • Lengkapi semua informasi kontak agar mudah dihubungi
  • Update data secara berkala untuk akurasi informasi
  • Pastikan email dan website dapat diakses dengan baik
  • Isi data ULD jika sekolah memiliki unit layanan disabilitas
@if($school->has_uld && $uldLocations->count() > 0)
Lokasi ULD ({{ $uldLocations->count() }})
@foreach($uldLocations as $index => $location)
{{ $index + 1 }}
{{ $location->name }}

{{ $location->address }}

{{ $location->kecamatan }}

@endforeach
@endif
@endsection @push('scripts') @endpush