This commit is contained in:
Bright 2025-08-28 17:07:45 +07:00
parent bbb8eeb278
commit ef7a8bc0e8
2 changed files with 9 additions and 0 deletions

View file

@ -348,6 +348,9 @@ export class ProfileSalaryController extends Controller {
.filter(x => profileIds.has(x.profileId))
.map(x => ({
...x,
isProbation: Boolean(x.isProbation),
isLeave: Boolean(x.isLeave),
isRetirement: Boolean(x.isRetirement),
Educations: x.Educations ? JSON.stringify(x.Educations) : "",
}));
if (mapData.length > 0) {
@ -367,6 +370,9 @@ export class ProfileSalaryController extends Controller {
.filter(x => profileEmpIds.has(x.profileEmployeeId))
.map(x => ({
...x,
isProbation: Boolean(x.isProbation),
isLeave: Boolean(x.isLeave),
isRetirement: Boolean(x.isRetirement),
Educations: x.Educations ? JSON.stringify(x.Educations) : "",
}));
if (mapData.length > 0) {

View file

@ -298,4 +298,7 @@ export class viewRegistryEmployee {
@ViewColumn()
fields: string;
@ViewColumn()
employeeClass: string;
}