เพิ่มคำสั่งขอลาออกไปรับราชการทหาร #248
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
This commit is contained in:
parent
0a874798bd
commit
a422651e03
2 changed files with 4 additions and 2 deletions
|
|
@ -4321,7 +4321,7 @@ export class CommandController extends Controller {
|
||||||
}
|
}
|
||||||
//ลบตำแหน่งที่รักษาการแทน
|
//ลบตำแหน่งที่รักษาการแทน
|
||||||
const code = _command?.commandType?.code;
|
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);
|
removePostMasterAct(profile.id);
|
||||||
}
|
}
|
||||||
//ออกคำสั่งยกเลิกลาออก ลบเฉพาะคนที่ขอยกเลิกลาออก
|
//ออกคำสั่งยกเลิกลาออก ลบเฉพาะคนที่ขอยกเลิกลาออก
|
||||||
|
|
@ -4733,7 +4733,7 @@ export class CommandController extends Controller {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Task #2190
|
// 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 = "";
|
let organizeName = "";
|
||||||
if (orgRootRef) {
|
if (orgRootRef) {
|
||||||
const names = [
|
const names = [
|
||||||
|
|
|
||||||
|
|
@ -703,6 +703,8 @@ export function commandTypePath(commandCode: string): string | null {
|
||||||
return "/salary/report/command36/employee/report"; //SALARY
|
return "/salary/report/command36/employee/report"; //SALARY
|
||||||
case "C-PM-47":
|
case "C-PM-47":
|
||||||
return "/placement/appointment/gazette/report";
|
return "/placement/appointment/gazette/report";
|
||||||
|
case "C-PM-48":
|
||||||
|
return "/retirement/resign/command48/report";
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue