PMCORE-2698

This commit is contained in:
Paula Quispe
2021-01-14 09:53:58 -04:00
parent df53646f1c
commit 5a0a0a84e7
4 changed files with 12 additions and 6 deletions

View File

@@ -220,6 +220,7 @@ class User extends Model
'USR_FIRSTNAME',
'USR_LASTNAME',
'USR_EMAIL',
'USR_POSITION'
])
->userId($usrId)
->limit(1);
@@ -230,6 +231,7 @@ class User extends Model
$info['usr_firstname'] = $item->USR_FIRSTNAME;
$info['usr_lastname'] = $item->USR_LASTNAME;
$info['usr_email'] = $item->USR_EMAIL;
$info['usr_position'] = $item->USR_POSITION;
});
return $info;