add short name level

This commit is contained in:
mamoss 2025-05-14 01:43:04 +07:00
parent 2466525e8e
commit 02e1e36a9c
3 changed files with 1696 additions and 2 deletions

View file

@ -674,7 +674,8 @@ export class OrganizationDotnetController extends Controller {
commanderPositionName,
commanderId,
commanderKeycloak,
posLevel: profile.posLevel?.posLevelName ?? null,
posLevel:
(profile.posType?.posTypeShortName ?? null) + (profile.posLevel?.posLevelName ?? null),
posType: profile.posType?.posTypeName ?? null,
profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null,
profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,