From 8d75174fbaa453bb537c62a151709991b5a52b7f Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 17 Jul 2025 14:54:07 +0700 Subject: [PATCH 1/2] order --- src/controllers/ProfileSalaryTempController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileSalaryTempController.ts b/src/controllers/ProfileSalaryTempController.ts index 9c21a1d1..c853524c 100644 --- a/src/controllers/ProfileSalaryTempController.ts +++ b/src/controllers/ProfileSalaryTempController.ts @@ -1130,7 +1130,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileRepo.findOneBy({ id: body.profileId }); // if (!profile) { @@ -1148,7 +1148,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileEmployeeRepo.findOneBy({ id: body.profileId }); // if (!profile) { From 7d05dd6eaa08d2436f83771e4aac9b690b70048d Mon Sep 17 00:00:00 2001 From: Bright Date: Fri, 18 Jul 2025 09:13:16 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B9=84?= =?UTF-8?q?=E0=B8=9B=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=2047?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interfaces/utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 1d8d3c87..596f53c5 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -615,6 +615,8 @@ export function commandTypePath(commandCode: string): string | null { return "/salary/report/command35/officer/report"; //SALARY case "C-PM-46": return "/salary/report/command36/employee/report"; //SALARY + case "C-PM-47": + return "/placement/appointment/gazette/report"; default: return null; }