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
|
||||
)
|
||||
: []
|
||||
if(_educations.length == 0) {
|
||||
_educations = Array.isArray(x.Educations) && x.Educations != null
|
||||
? (x.Educations as any[])[0]
|
||||
: []
|
||||
}
|
||||
// if(_educations.length == 0) {
|
||||
// _educations = Array.isArray(x.Educations) && x.Educations != null
|
||||
// ? (x.Educations as any[])[0]
|
||||
// : []
|
||||
// }
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -370,10 +370,10 @@ export class ReportController extends Controller {
|
|||
dateRetire: x.dateRetire,
|
||||
dateRetireLaw: x.dateRetireLaw,
|
||||
birthdate: x.birthdate,
|
||||
education: _educations,
|
||||
degree: x.degrees,
|
||||
educationLevel: x.educationLevels,
|
||||
field: x.fields,
|
||||
Educations: _educations,
|
||||
// degree: x.degrees,
|
||||
// educationLevel: x.educationLevels,
|
||||
// field: x.fields,
|
||||
age: x.age,
|
||||
currentPosition: null,
|
||||
lengthPosition: null,
|
||||
|
|
@ -602,11 +602,11 @@ export class ReportController extends Controller {
|
|||
(i: any) => i.isHigh === true
|
||||
)
|
||||
: []
|
||||
if(_educations.length == 0) {
|
||||
_educations = Array.isArray(x.Educations) && x.Educations != null
|
||||
? (x.Educations as any[])[0]
|
||||
: []
|
||||
}
|
||||
// if(_educations.length == 0) {
|
||||
// _educations = Array.isArray(x.Educations) && x.Educations != null
|
||||
// ? (x.Educations as any[])[0]
|
||||
// : []
|
||||
// }
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -651,10 +651,10 @@ export class ReportController extends Controller {
|
|||
dateRetire: x.dateRetire,
|
||||
dateRetireLaw: x.dateRetireLaw,
|
||||
birthdate: x.birthdate,
|
||||
education: _educations,
|
||||
degree: x.degrees,
|
||||
educationLevel: x.educationLevels,
|
||||
field: x.fields,
|
||||
Educations: _educations != null ? _educations : [],
|
||||
// degree: x.degrees,
|
||||
// educationLevel: x.educationLevels,
|
||||
// field: x.fields,
|
||||
age: x.age,
|
||||
currentPosition: null,
|
||||
lengthPosition: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue