main
Ilham Wara Nugroho 2025-10-21 09:48:34 +07:00
parent dfa3f50077
commit 65816b3c19
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class HomeController extends Controller
$data['dataset'] = Dataset::orderBy('DatasetId','DESC')->whereIn('instansi_id',[auth()->user()->ms_instansi_id])->limit(10)->get();
}
// $data['dataset'] = Dataset::orderBy('DatasetId','DESC')->limit(10)->get();
$data['group'] = Group::where('MsGroupId','!=',1)->where('name','!=','Balai')->get();
$data['group'] = Group::where('MsGroupId','!=',1)->where('alias','!=','admin')->get();
if((session('group_id') == 1) || (session('group_alias') == 'admin')){
$data['resource'] = Template::with(['dataset'])->where('show_dashboard',1)->get();
}else{