fix sort order sidebar menu and percentage bigdata resume
This commit is contained in:
@@ -64,7 +64,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
$query->whereHas('roles', function ($subQuery) use ($user) {
|
||||
$subQuery->whereIn('roles.id', $user->roles->pluck('id'))
|
||||
->where('role_menu.allow_show', 1);
|
||||
});
|
||||
})
|
||||
->orderBy('sort_order', 'asc');
|
||||
}])
|
||||
->whereNull('parent_id') // Ambil hanya menu utama
|
||||
->orderBy('sort_order', 'asc')
|
||||
|
||||
Reference in New Issue
Block a user