This commit is contained in:
AdisakKanthawilang 2024-05-21 13:55:26 +07:00
parent 40d2a37b34
commit c56ffece73

View file

@ -3113,7 +3113,7 @@ export class PositionController extends Controller {
node = 0; node = 0;
nodeId = posMaster.orgRootId; nodeId = posMaster.orgRootId;
} }
const fullname = posMaster.current_holder.prefix + " " + posMaster.current_holder.firstName + " " + posMaster.current_holder.lastName;
return { return {
id: posMaster.id, id: posMaster.id,
node: node, node: node,
@ -3128,6 +3128,9 @@ export class PositionController extends Controller {
posMasterNoSuffix: posMaster.posMasterNoSuffix, posMasterNoSuffix: posMaster.posMasterNoSuffix,
orgShortname: shortName, orgShortname: shortName,
isSit: posMaster.isSit, isSit: posMaster.isSit,
name: fullname,
citizenId: posMaster.current_holder.citizenId,
position: posMaster.current_holder.position,
}; };
}), }),
); );