no message

This commit is contained in:
Kittapath 2024-05-28 14:17:45 +07:00
parent 3debbe1602
commit bc49bb1e90
2 changed files with 12 additions and 0 deletions

View file

@ -1812,8 +1812,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,
@ -1865,6 +1870,7 @@ export class ProfileEmployeeController extends Controller {
calculateRetireDate(item.current_holder.birthDate).getFullYear() != body.year
? false
: true,
isSpecial: false,
};
});