fix พ้นจากราชการไม่แสดง กรณีไปรับราชการทหาร #248
This commit is contained in:
parent
7686ec2eac
commit
1e9b282942
1 changed files with 6 additions and 0 deletions
|
|
@ -417,6 +417,7 @@ export async function checkCommandType(commandId: string) {
|
||||||
"C-PM-25",
|
"C-PM-25",
|
||||||
"C-PM-26",
|
"C-PM-26",
|
||||||
"C-PM-43",
|
"C-PM-43",
|
||||||
|
"C-PM-48"
|
||||||
].includes(String(_type?.commandType.code))
|
].includes(String(_type?.commandType.code))
|
||||||
) {
|
) {
|
||||||
// return false;
|
// return false;
|
||||||
|
|
@ -480,6 +481,11 @@ export async function checkCommandType(commandId: string) {
|
||||||
_retireTypeName = "ให้ออกจากราชการ";
|
_retireTypeName = "ให้ออกจากราชการ";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "C-PM-48": {
|
||||||
|
_leaveType = "RETIRE_MILITARY";
|
||||||
|
_retireTypeName = "รับราชการทหาร";
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
_leaveType = "";
|
_leaveType = "";
|
||||||
_retireTypeName = "";
|
_retireTypeName = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue