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-26",
|
||||
"C-PM-43",
|
||||
"C-PM-48"
|
||||
].includes(String(_type?.commandType.code))
|
||||
) {
|
||||
// return false;
|
||||
|
|
@ -480,6 +481,11 @@ export async function checkCommandType(commandId: string) {
|
|||
_retireTypeName = "ให้ออกจากราชการ";
|
||||
break;
|
||||
}
|
||||
case "C-PM-48": {
|
||||
_leaveType = "RETIRE_MILITARY";
|
||||
_retireTypeName = "รับราชการทหาร";
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
_leaveType = "";
|
||||
_retireTypeName = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue