fix ปรับระดับชั้นงานลูกจ้าง (ข้อมูลระดับชั้นงานแสดงไม่ครบ) #1172

This commit is contained in:
Bright 2025-02-10 16:19:34 +07:00
parent 8ab3cb26b5
commit ec14148d72

View file

@ -6641,7 +6641,9 @@ export class ProfileController extends Controller {
position: profile.position,
leaveDate: profile.dateLeave,
posMasterNo: posMaster == null ? null : posMaster.posMasterNo,
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
posLevelName: profile.posLevel == null
? null
: `${profile.posType.posTypeShortName ?? ""} ${profile.posLevel.posLevelName ?? ""}`,
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
posLevelId: profile.posLevel == null ? null : profile.posLevel.id,
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,