check()) { $globalTenants = Tenant::active() ->orderBy('company_name') ->get(['id', 'company_name', 'code']); $view->with('globalTenants', $globalTenants); } }); } }