Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
93c65581fa
1 changed files with 3 additions and 1 deletions
|
|
@ -1391,7 +1391,9 @@ export class OrganizationDotnetController extends Controller {
|
||||||
x.orgRevision?.orgRevisionIsCurrent == true,
|
x.orgRevision?.orgRevisionIsCurrent == true,
|
||||||
)?.orgChild4?.ancestorDNA ?? null,
|
)?.orgChild4?.ancestorDNA ?? null,
|
||||||
commander: fullname,
|
commander: fullname,
|
||||||
posLevel: profile.posLevel?.posLevelName ?? null,
|
posLevel: profile.posType?.posTypeShortName && profile.posLevel?.posLevelName
|
||||||
|
? `${profile.posType.posTypeShortName} ${profile.posLevel.posLevelName}`
|
||||||
|
: profile.posType?.posTypeShortName || profile.posLevel?.posLevelName || "",
|
||||||
posType: profile.posType?.posTypeName ?? null,
|
posType: profile.posType?.posTypeName ?? null,
|
||||||
profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null,
|
profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null,
|
||||||
profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,
|
profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue