diff --git a/src/core/controllers/AutoCompleteController.php b/src/core/controllers/AutoCompleteController.php index ea5162adbccf8c903efa307a8d2f57cc210df3a5..ee2c04f470c259c57171234548b32f77eb126237 100644 --- a/src/core/controllers/AutoCompleteController.php +++ b/src/core/controllers/AutoCompleteController.php @@ -61,7 +61,8 @@ class AutoCompleteController $data = []; foreach ($users as $key => $value) { - if (ServiceModel::hasService(['id' => 'visa_documents', 'userId' => $value['user_id'], 'location' => 'visa', 'type' => 'use'])) { + if (ServiceModel::hasService(['id' => 'visa_documents', 'userId' => $value['user_id'], 'location' => 'visa', 'type' => 'use']) + || ServiceModel::hasService(['id' => 'sign_document', 'userId' => $value['user_id'], 'location' => 'visa', 'type' => 'use'])) { $primaryEntity = UserModel::getPrimaryEntityByUserId(['userId' => $value['user_id']]); $data[] = [ 'type' => 'user',