From b1ea14e48aee8a6a9296a2566e8ad270f508a7b6 Mon Sep 17 00:00:00 2001 From: LailaWulandarii Date: Wed, 18 Feb 2026 04:32:46 +0700 Subject: [PATCH 01/10] fix: restrict access to add and edit buttons for non-admin users in Paket Foto --- .../views/admin/paket-foto/index.blade.php | 114 ++++++++++++------ 1 file changed, 80 insertions(+), 34 deletions(-) diff --git a/resources/views/admin/paket-foto/index.blade.php b/resources/views/admin/paket-foto/index.blade.php index cddac44..3b6ef79 100644 --- a/resources/views/admin/paket-foto/index.blade.php +++ b/resources/views/admin/paket-foto/index.blade.php @@ -3,7 +3,6 @@ @section('title', 'Paket Foto') @section('content') - {{-- ALERT SUKSES --}} @if (session('success')) @endif - {{-- ALERT ERROR UMUM (Jika ada error selain validasi modal) --}} @if (session('error'))