From 35d1037bb3c88c0e26a44b65cfd4e9cea52a8ac1 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 2 Apr 2024 14:53:36 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=95=E0=B8=B3?= =?UTF-8?q?=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87=20=E0=B8=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/SalaryPeriodController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, }, });