fix พ้นจากราชการไม่แสดง กรณีไปรับราชการทหาร #248

This commit is contained in:
harid 2026-06-11 17:30:56 +07:00
parent 7686ec2eac
commit 1e9b282942

View file

@ -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 = "";