actionProfileWithReportPermission

This commit is contained in:
iIronside committed 2022-01-14 12:56:39 +03:00
1 parent b123d250e1
commit e09f38f24b
6 files changed
+454 -19

No files matched your search

-10
View File
@@ -221,16 +221,6 @@ class User extends ActiveRecord implements IdentityInterface
return $this->hasOne(UserCard::class, ['id_user' => 'id']);
}
// public function getManager()
// {
// return $this->hasOne(Manager::class, ['user_id' => 'id']);
// }
//
// public function getManagerEmployee()
// {
// return $this->hasMany(ManagerEmployee::className(), ['employee_id' => 'id']);
// }
public function getProjectUser()
{
return $this->hasMany(ProjectUser::className(), ['user_id' => 'id']);