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; }