Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2024-05-28 15:02:07 +07:00
commit e75f41fe2a
2 changed files with 12 additions and 0 deletions

View file

@ -1823,8 +1823,13 @@ export class ProfileEmployeeController extends Controller {
datePeriodStart.getMonth() - 6,
),
);
// const specialPosition = item.positions.find(
// (position) => position.positionIsSelected === true,
// );
// const isSpecial = specialPosition ? specialPosition.isSpecial : null;
return {
profileId: item.current_holder.id,
salaryLevel: item.current_holder.salaryLevel,
group: item.current_holder.group,
rank: item.current_holder.rank,
@ -1876,6 +1881,7 @@ export class ProfileEmployeeController extends Controller {
calculateRetireDate(item.current_holder.birthDate).getFullYear() != body.year
? false
: true,
isSpecial: false,
};
});