From 255344d2acb22df60fecbeb7df171e98318d70a1 Mon Sep 17 00:00:00 2001 From: Ilham Wara Nugroho Date: Wed, 18 Feb 2026 15:50:26 +0700 Subject: [PATCH] update --- .../Controllers/Management/RoleController.php | 8 +- .../Controllers/Management/UserController.php | 8 +- resources/views/layouts/master.blade.php | 1 + .../modules/management/role/index.blade.php | 30 ++-- .../modules/management/user/form.blade.php | 157 ++++++++---------- .../modules/management/user/index.blade.php | 30 ++-- 6 files changed, 109 insertions(+), 125 deletions(-) diff --git a/app/Http/Controllers/Management/RoleController.php b/app/Http/Controllers/Management/RoleController.php index de9ffbf..6a94463 100644 --- a/app/Http/Controllers/Management/RoleController.php +++ b/app/Http/Controllers/Management/RoleController.php @@ -42,11 +42,11 @@ class RoleController extends Controller $action = ''; if((permission('is_create', $this->route.'.*','module',false)) || (permission('is_update', $this->route.'.*','module',false))){ - $action .= '
'; - $action .= ''; - $action .= ''; + $action .= '
'; + $action .= ''; + $action .= ''; // $action .= ''; - $action .= ''; + $action .= ''; $action .= '
'; } diff --git a/app/Http/Controllers/Management/UserController.php b/app/Http/Controllers/Management/UserController.php index 46a94ae..e67fc77 100644 --- a/app/Http/Controllers/Management/UserController.php +++ b/app/Http/Controllers/Management/UserController.php @@ -51,11 +51,11 @@ class UserController extends Controller $instansi = UserInstansi::where('user_id',$row->id)->first(); if((permission('is_create', $this->route.'.*','module',false)) || (permission('is_update', $this->route.'.*','module',false))){ - $action .= '
'; - $action .= ''; + $action .= '
'; + $action .= ''; if((session('group_id') == 1) || (session('group_alias') == 'admin')){ - $action .= ''; - $action .= ''; + $action .= ''; + $action .= ''; } $action .= '
'; } diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index a6d6685..c5ac082 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -18,6 +18,7 @@ + @yield('css')