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,
|
profileId: profile.id,
|
||||||
commandId: item.commandId,
|
commandId: item.commandId,
|
||||||
position: profile.position,
|
position: profile.position,
|
||||||
|
positionName: profile.position,
|
||||||
positionType: profile?.posType?.posTypeName ?? null,
|
positionType: profile?.posType?.posTypeName ?? null,
|
||||||
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
||||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
positionExecutive: position?.posExecutive?.posExecutiveName ?? null,
|
||||||
|
|
@ -3612,6 +3613,7 @@ export class CommandController extends Controller {
|
||||||
profileEmployeeId: profile.id,
|
profileEmployeeId: profile.id,
|
||||||
commandId: item.commandId,
|
commandId: item.commandId,
|
||||||
position: profile.position,
|
position: profile.position,
|
||||||
|
positionName: profile.position,
|
||||||
positionType: profile?.posType?.posTypeName ?? null,
|
positionType: profile?.posType?.posTypeName ?? null,
|
||||||
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
positionLevel: profile?.posLevel?.posLevelName ?? null,
|
||||||
amount: item.amount ? item.amount : null,
|
amount: item.amount ? item.amount : null,
|
||||||
|
|
|
||||||
|
|
@ -2836,7 +2836,9 @@ export class ProfileEmployeeController extends Controller {
|
||||||
posTypeId: item.posTypeId,
|
posTypeId: item.posTypeId,
|
||||||
posTypeName: item.posType?.posTypeName,
|
posTypeName: item.posType?.posTypeName,
|
||||||
posLevelId: item.posLevelId,
|
posLevelId: item.posLevelId,
|
||||||
posLevelName: item.posLevel?.posLevelName,
|
posLevelName: item.posLevel == null && item.posType == null
|
||||||
|
? null
|
||||||
|
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||||
educationDegree:
|
educationDegree:
|
||||||
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
||||||
? latestProfileEducation.educationLevel
|
? latestProfileEducation.educationLevel
|
||||||
|
|
@ -4635,7 +4637,9 @@ export class ProfileEmployeeController extends Controller {
|
||||||
posTypeId: item.posTypeId,
|
posTypeId: item.posTypeId,
|
||||||
posTypeName: item.posType?.posTypeName,
|
posTypeName: item.posType?.posTypeName,
|
||||||
posLevelId: item.posLevelId,
|
posLevelId: item.posLevelId,
|
||||||
posLevelName: item.posLevel?.posLevelName,
|
posLevelName: item.posLevel == null && item.posType == null
|
||||||
|
? null
|
||||||
|
: `${item.posType?.posTypeShortName} ${item.posLevel?.posLevelName}`,
|
||||||
educationDegree:
|
educationDegree:
|
||||||
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
latestProfileEducation != null && latestProfileEducation.educationLevel != null
|
||||||
? latestProfileEducation.educationLevel
|
? latestProfileEducation.educationLevel
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue