From ff3184881c3fbf1e4581ad94f4929842bd40a58e Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 11 Dec 2024 15:15:16 +0700 Subject: [PATCH] =?UTF-8?q?route=20=E0=B8=84=E0=B8=B9=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.config.ts | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/app.config.ts b/src/app.config.ts index cad71445b..02d34a016 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -162,18 +162,20 @@ const generatePopupPath = (routeName: any) => { return `${path}/manual/chapter-4-admin-acting`; } else if (routeName.includes("positionEmployee")) { return `${path}/manual/chapter-5-admin-position-employee`; - } else if (routeName.includes("resign")) { - return `${path}/manual/chapter-12-admin-retirement`; - } else if (routeName.includes("retirement")) { - return `${path}/manual/chapter-12-admin-retirement`; - } else if (routeName.includes("deceased")) { - return `${path}/manual/chapter-12-admin-retirement`; - } else if (routeName.includes("exit-Interview")) { - return `${path}/manual/chapter-12-admin-retirement`; - } else if (routeName.includes("expulsion")) { - return `${path}/manual/chapter-12-admin-retirement`; - } else if (routeName.includes("discharged")) { - return `${path}/manual/chapter-12-admin-retirement`; + + } else if (routeName == "retirement") { + return `${path}/manual/chapter-11-admin-retirement`; + } else if (routeName == "resign") { + return `${path}/manual/chapter-11-2-admin-retirement`; + } else if (routeName == "resignEmployee") { + return `${path}/manual/chapter-11-3-admin-retirement`; + } else if (routeName == "exit-Interview") { + return `${path}/manual/chapter-11-4-admin-retirement`; + } else if (routeName == "deceased") { + return `${path}/manual/chapter-11-5-admin-retirement`; + } else if (routeName == "dismiss-order") { + return `${path}/manual/chapter-11-6-admin-retirement`; + } else if (routeName.includes("disciplineComplaints")) { return `${path}/manual/chapter-14-admin-discipline-complaints`; } else if (routeName.includes("disciplineInvestigatefacts")) { @@ -282,6 +284,8 @@ const generatePopupPath = (routeName: any) => { return `${path}/manual/chapter-17-3-admin-development-employee-history`; } else if (routeName == "KPIReport") { return `${path}/manual/chapter-17-4-admin-development-scholarship`; + } else if (routeName == "positionCondition") { + return `${path}/manual/chapter-19-admin-position-condition`; } else { return manualConfig[routeName as keyof typeof manualConfig]; }