Merge branch 'develop' into adiDev
This commit is contained in:
commit
732467965e
1 changed files with 171 additions and 166 deletions
|
|
@ -3049,7 +3049,6 @@ export class PositionController extends Controller {
|
|||
.orderBy("posMaster.posMasterOrder", "ASC")
|
||||
.getManyAndCount();
|
||||
|
||||
|
||||
const formattedData = await Promise.all(
|
||||
posMaster.map(async (posMaster) => {
|
||||
let shortName = "";
|
||||
|
|
@ -3113,7 +3112,12 @@ export class PositionController extends Controller {
|
|||
node = 0;
|
||||
nodeId = posMaster.orgRootId;
|
||||
}
|
||||
const fullname = posMaster.current_holder.prefix + " " + posMaster.current_holder.firstName + " " + posMaster.current_holder.lastName;
|
||||
const fullname =
|
||||
posMaster.current_holder.prefix +
|
||||
" " +
|
||||
posMaster.current_holder.firstName +
|
||||
" " +
|
||||
posMaster.current_holder.lastName;
|
||||
return {
|
||||
id: posMaster.id,
|
||||
node: node,
|
||||
|
|
@ -3129,6 +3133,7 @@ export class PositionController extends Controller {
|
|||
orgShortname: shortName,
|
||||
isSit: posMaster.isSit,
|
||||
name: fullname,
|
||||
profileId: posMaster.current_holder.id,
|
||||
citizenId: posMaster.current_holder.citizenId,
|
||||
position: posMaster.current_holder.position,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue