Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
efee15eb97
1 changed files with 18 additions and 18 deletions
|
|
@ -319,11 +319,11 @@ export class ReportController extends Controller {
|
||||||
(i: any) => i.isHigh === true
|
(i: any) => i.isHigh === true
|
||||||
)
|
)
|
||||||
: []
|
: []
|
||||||
if(_educations.length == 0) {
|
// if(_educations.length == 0) {
|
||||||
_educations = Array.isArray(x.Educations) && x.Educations != null
|
// _educations = Array.isArray(x.Educations) && x.Educations != null
|
||||||
? (x.Educations as any[])[0]
|
// ? (x.Educations as any[])[0]
|
||||||
: []
|
// : []
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -370,10 +370,10 @@ export class ReportController extends Controller {
|
||||||
dateRetire: x.dateRetire,
|
dateRetire: x.dateRetire,
|
||||||
dateRetireLaw: x.dateRetireLaw,
|
dateRetireLaw: x.dateRetireLaw,
|
||||||
birthdate: x.birthdate,
|
birthdate: x.birthdate,
|
||||||
education: _educations,
|
Educations: _educations,
|
||||||
degree: x.degrees,
|
// degree: x.degrees,
|
||||||
educationLevel: x.educationLevels,
|
// educationLevel: x.educationLevels,
|
||||||
field: x.fields,
|
// field: x.fields,
|
||||||
age: x.age,
|
age: x.age,
|
||||||
currentPosition: null,
|
currentPosition: null,
|
||||||
lengthPosition: null,
|
lengthPosition: null,
|
||||||
|
|
@ -602,11 +602,11 @@ export class ReportController extends Controller {
|
||||||
(i: any) => i.isHigh === true
|
(i: any) => i.isHigh === true
|
||||||
)
|
)
|
||||||
: []
|
: []
|
||||||
if(_educations.length == 0) {
|
// if(_educations.length == 0) {
|
||||||
_educations = Array.isArray(x.Educations) && x.Educations != null
|
// _educations = Array.isArray(x.Educations) && x.Educations != null
|
||||||
? (x.Educations as any[])[0]
|
// ? (x.Educations as any[])[0]
|
||||||
: []
|
// : []
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -651,10 +651,10 @@ export class ReportController extends Controller {
|
||||||
dateRetire: x.dateRetire,
|
dateRetire: x.dateRetire,
|
||||||
dateRetireLaw: x.dateRetireLaw,
|
dateRetireLaw: x.dateRetireLaw,
|
||||||
birthdate: x.birthdate,
|
birthdate: x.birthdate,
|
||||||
education: _educations,
|
Educations: _educations != null ? _educations : [],
|
||||||
degree: x.degrees,
|
// degree: x.degrees,
|
||||||
educationLevel: x.educationLevels,
|
// educationLevel: x.educationLevels,
|
||||||
field: x.fields,
|
// field: x.fields,
|
||||||
age: x.age,
|
age: x.age,
|
||||||
currentPosition: null,
|
currentPosition: null,
|
||||||
lengthPosition: null,
|
lengthPosition: null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue