actionProfileWithReportPermission

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

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']);