[Mahasiswa] Pembaruan Laman dan Deleted Pengumuman
This commit is contained in:
@@ -43,7 +43,6 @@ class DashboardController extends Controller
|
||||
'statusLabels' => $perStatus->keys()->all(),
|
||||
'statusData' => $perStatus->values()->all(),
|
||||
'tahun' => Sample::tahunAkademik()->firstWhere('aktif', true),
|
||||
'pengumuman' => Sample::pengumuman()->where('status', 'Terbit')->sortByDesc('tanggal')->take(3)->values(),
|
||||
'agenda' => Sample::kalender()->filter(fn (array $e): bool => ($e['selesai'] ?? $e['mulai']) >= $today)->sortBy('mulai')->take(4)->values(),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user