From a422651e03807461fc7ad14ff90e726a83306796 Mon Sep 17 00:00:00 2001 From: harid Date: Thu, 11 Jun 2026 11:46:24 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B8=82?= =?UTF-8?q?=E0=B8=AD=E0=B8=A5=E0=B8=B2=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B9=84?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=97=E0=B8=AB=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=20=20#248?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/CommandController.ts | 4 ++-- src/interfaces/utils.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 828a2fc1..4b7c66e7 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -4321,7 +4321,7 @@ export class CommandController extends Controller { } //ลบตำแหน่งที่รักษาการแทน const code = _command?.commandType?.code; - if (code && ["C-PM-08", "C-PM-17", "C-PM-18"].includes(code)) { + if (code && ["C-PM-08", "C-PM-17", "C-PM-18", "C-PM-48"].includes(code)) { removePostMasterAct(profile.id); } //ออกคำสั่งยกเลิกลาออก ลบเฉพาะคนที่ขอยกเลิกลาออก @@ -4733,7 +4733,7 @@ export class CommandController extends Controller { }); // Task #2190 - if (code && ["C-PM-17", "C-PM-18"].includes(code)) { + if (code && ["C-PM-17", "C-PM-18", "C-PM-48"].includes(code)) { let organizeName = ""; if (orgRootRef) { const names = [ diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 3a48ab2b..91f3d817 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -703,6 +703,8 @@ export function commandTypePath(commandCode: string): string | null { return "/salary/report/command36/employee/report"; //SALARY case "C-PM-47": return "/placement/appointment/gazette/report"; + case "C-PM-48": + return "/retirement/resign/command48/report"; default: return null; }