แก้ตำแหน่ง ฉ

This commit is contained in:
Kittapath 2024-04-02 14:53:36 +07:00
parent 7a0fec256c
commit 35d1037bb3

View file

@ -372,7 +372,7 @@ export class SalaryPeriodController extends Controller {
where: { where: {
posTypeId: Level.posTypeId, posTypeId: Level.posTypeId,
posLevelId: Level.id, posLevelId: Level.id,
isSpecial: salaryProfile.isSpecial == false ? false : true, isSpecial: salaryProfile.isSpecial == true ? true : false,
isActive: true, isActive: true,
}, },
}); });
@ -684,7 +684,7 @@ export class SalaryPeriodController extends Controller {
where: { where: {
posTypeId: Level.posTypeId, posTypeId: Level.posTypeId,
posLevelId: Level.id, posLevelId: Level.id,
isSpecial: salaryProfile.isSpecial == false ? false : true, isSpecial: salaryProfile.isSpecial == true ? true : false,
isActive: true, isActive: true,
}, },
}); });
@ -1056,7 +1056,7 @@ export class SalaryPeriodController extends Controller {
where: { where: {
posTypeId: posLevel.posTypeId, posTypeId: posLevel.posTypeId,
posLevelId: posLevel.id, posLevelId: posLevel.id,
isSpecial: salaryProfile.isSpecial == false ? false : true, isSpecial: salaryProfile.isSpecial == true ? true : false,
isActive: true, isActive: true,
}, },
}); });