From a05680b06eabe525afd0065e78e45de06bb31c73 Mon Sep 17 00:00:00 2001 From: Ilham Wara Nugroho Date: Mon, 19 Jan 2026 15:34:41 +0700 Subject: [PATCH] update --- app/Http/Controllers/HomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 88001db..7c1c27e 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -37,7 +37,7 @@ class HomeController extends Controller }else{ $access = AccessMenu::with(['parentMenu'])->whereHas('parentMenu',function($query){ $query->where('parent_id','!=','0'); - })->where('module','like','%dashboard%')->pluck('ms_menu_id')->toArray(); + })->where('module','like','%dashboard.inventory%')->pluck('ms_menu_id')->toArray(); } $data['dashboard'] = Menu::whereIn('MsMenuId',array_unique($access))->get();