diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index a26979ad..2c763f0d 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -4810,6 +4810,9 @@ export class ProfileController extends Controller { nodeId: null, type: profile.employeeClass, salary: profile.amount, + posNo : root?.orgRootShortName && posMaster?.posMasterNo + ? `${root?.orgRootShortName}${posMaster?.posMasterNo}` + : "" }; if (_profile.child4Id != null) { _profile.node = 4; @@ -4951,6 +4954,9 @@ export class ProfileController extends Controller { nodeId: null, salary: profile ? profile.amount : null, amountSpecial: profile ? profile.amountSpecial : null, + posNo : root?.orgRootShortName && posMaster?.posMasterNo + ? `${root?.orgRootShortName}${posMaster?.posMasterNo}` + : "" }; if (_profile.child4Id != null) { diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 60f75640..02cf1e6e 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -2153,6 +2153,9 @@ export class ProfileEmployeeController extends Controller { nodeId: null, salary: profile ? profile.amount : null, amountSpecial: profile ? profile.amountSpecial : null, + posNo : root?.orgRootShortName && posMaster?.posMasterNo + ? `${root?.orgRootShortName}${posMaster?.posMasterNo}` + : "" }; return new HttpSuccess(_profile); }