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