main
Ilham Wara Nugroho 2026-01-19 15:34:41 +07:00
parent 8e10203b4f
commit a05680b06e
1 changed files with 1 additions and 1 deletions

View File

@ -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();