diff --git a/src/controllers/EvaluationController.ts b/src/controllers/EvaluationController.ts index e12b060..8d26e8e 100644 --- a/src/controllers/EvaluationController.ts +++ b/src/controllers/EvaluationController.ts @@ -2227,12 +2227,12 @@ export class EvaluationController { setLogDataDiff(request, { before: null, after: evaluationLogs }); } const before = structuredClone(evaluation); - + let typeTh = evaluation.type == "EXPERT" ? "ชำนาญการ" : evaluation.type == "EXPERTISE" ? "เชียวชาญ" : evaluation.type == "SPECIAL_EXPERT" ? "ชำนาญการพิเศษ":""; evaluation.step = "PREPARE_DOC_V2"; evaluation.subjectDoc2 = evaluation.subject; evaluation.authorDoc2 = evaluation.author; evaluation.assignedPosition = evaluation.position; //xxxxxxxxxx - evaluation.assignedPosLevel = "xxxxxxxx"; //xxxxxxxxxx + evaluation.assignedPosLevel = typeTh; evaluation.commanderFullnameDoc2 = evaluation.commanderFullname; evaluation.commanderPositionDoc2 = evaluation.commanderPosition; evaluation.commanderAboveFullnameDoc2 = evaluation.commanderAboveFullname;