From c56ffece73bb072e96c58eb57bb5a655d5b97ac3 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Tue, 21 May 2024 13:55:26 +0700 Subject: [PATCH] fix --- src/controllers/PositionController.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index d7909cda..d2ccadf7 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -3113,7 +3113,7 @@ export class PositionController extends Controller { node = 0; nodeId = posMaster.orgRootId; } - + const fullname = posMaster.current_holder.prefix + " " + posMaster.current_holder.firstName + " " + posMaster.current_holder.lastName; return { id: posMaster.id, node: node, @@ -3128,6 +3128,9 @@ export class PositionController extends Controller { posMasterNoSuffix: posMaster.posMasterNoSuffix, orgShortname: shortName, isSit: posMaster.isSit, + name: fullname, + citizenId: posMaster.current_holder.citizenId, + position: posMaster.current_holder.position, }; }), );