From 8f2b8568ef806721a7d30b12a7a93cc9967d705e Mon Sep 17 00:00:00 2001 From: Bright Date: Mon, 18 Nov 2024 13:38:41 +0700 Subject: [PATCH] add salary --- src/controllers/ProfileController.ts | 1 + src/controllers/ProfileEmployeeTempController.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 0ac4d955..5d5d9faf 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -5782,6 +5782,7 @@ export class ProfileController extends Controller { child4ShortName: child4 == null ? null : child4.orgChild4ShortName, node: null, nodeId: null, + salary: profile.amount, education: profile && profile.profileEducations.length > 0 ? `${profile.profileEducations[0].degree ?? ""}/${profile.profileEducations[0].field ?? ""}` diff --git a/src/controllers/ProfileEmployeeTempController.ts b/src/controllers/ProfileEmployeeTempController.ts index f1e4f66b..ab3ff5bb 100644 --- a/src/controllers/ProfileEmployeeTempController.ts +++ b/src/controllers/ProfileEmployeeTempController.ts @@ -3758,6 +3758,7 @@ export class ProfileEmployeeTempController extends Controller { node: null, nodeId: null, posNo: shortName, + salary: profile.amount, education: profile && profile.profileEducations.length > 0 ? `${profile.profileEducations[0].degree ?? ""}/${profile.profileEducations[0].field ?? ""}`