Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
28369b8808
2 changed files with 8 additions and 2 deletions
|
|
@ -3423,6 +3423,7 @@ export class CommandController extends Controller {
|
|||
profileId: profile.id,
|
||||
commandId: item.commandId,
|
||||
position: profile.position,
|
||||
positionName: profile.position,
|
||||
positionType: profile?.posType?.posTypeName ?? null,
|
||||
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
||||
|
|
@ -3612,6 +3613,7 @@ export class CommandController extends Controller {
|
|||
profileEmployeeId: profile.id,
|
||||
commandId: item.commandId,
|
||||
position: profile.position,
|
||||
positionName: profile.position,
|
||||
positionType: profile?.posType?.posTypeName ?? null,
|
||||
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
||||
amount: item.amount ? item.amount : null,
|
||||
|
|
|
|||
|
|
@ -2836,7 +2836,9 @@ export class ProfileEmployeeController extends Controller {
|
|||
posTypeId: item.posTypeId,
|
||||
posTypeName: item.posType?.posTypeName,
|
||||
posLevelId: item.posLevelId,
|
||||
posLevelName: item.posLevel?.posLevelName,
|
||||
posLevelName: item.posLevel == null && item.posType == null
|
||||
? null
|
||||
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||
educationDegree:
|
||||
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
||||
? latestProfileEducation.educationLevel
|
||||
|
|
@ -4635,7 +4637,9 @@ export class ProfileEmployeeController extends Controller {
|
|||
posTypeId: item.posTypeId,
|
||||
posTypeName: item.posType?.posTypeName,
|
||||
posLevelId: item.posLevelId,
|
||||
posLevelName: item.posLevel?.posLevelName,
|
||||
posLevelName: item.posLevel == null && item.posType == null
|
||||
? null
|
||||
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||
educationDegree:
|
||||
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
||||
? latestProfileEducation.educationLevel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue