@extends('layouts.admin') @section('title', 'Pengumuman PPDB') @section('page_title', 'Pengumuman PPDB') @section('page_subtitle', 'Kelola pengumuman penerimaan siswa baru') @section('content') @if(session('success'))
| Tanggal | Judul | Jenis | Status | Aksi |
|---|---|---|---|---|
|
{{ $announcement->published_at->format('d M Y') }}
{{ $announcement->published_at->format('H:i') }}
|
{{ $announcement->title }} @if($announcement->is_pinned) @endif | @php $typeColors = [ 'info' => 'info', 'success' => 'success', 'warning' => 'warning', 'danger' => 'danger' ]; $typeLabels = [ 'info' => 'Informasi', 'success' => 'Sukses', 'warning' => 'Peringatan', 'danger' => 'Penting' ]; @endphp {{ $typeLabels[$announcement->type] }} | @if($announcement->is_active) Aktif @else Nonaktif @endif | |
| Belum ada pengumuman PPDB | ||||
Belum ada pengumuman PPDB. Silakan tambah pengumuman baru.