diff --git a/src/controllers/SalaryPeriodController.ts b/src/controllers/SalaryPeriodController.ts index 3ab1afc..ef08d50 100644 --- a/src/controllers/SalaryPeriodController.ts +++ b/src/controllers/SalaryPeriodController.ts @@ -372,7 +372,7 @@ export class SalaryPeriodController extends Controller { where: { posTypeId: Level.posTypeId, posLevelId: Level.id, - isSpecial: salaryProfile.isSpecial == false ? false : true, + isSpecial: salaryProfile.isSpecial == true ? true : false, isActive: true, }, }); @@ -684,7 +684,7 @@ export class SalaryPeriodController extends Controller { where: { posTypeId: Level.posTypeId, posLevelId: Level.id, - isSpecial: salaryProfile.isSpecial == false ? false : true, + isSpecial: salaryProfile.isSpecial == true ? true : false, isActive: true, }, }); @@ -1056,7 +1056,7 @@ export class SalaryPeriodController extends Controller { where: { posTypeId: posLevel.posTypeId, posLevelId: posLevel.id, - isSpecial: salaryProfile.isSpecial == false ? false : true, + isSpecial: salaryProfile.isSpecial == true ? true : false, isActive: true, }, });