From 977b88875f0f2abb461114c8eab91f5d8cce41b9 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 16 May 2024 14:22:03 +0700 Subject: [PATCH] no message --- src/controllers/KpiUserEvaluationController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index e6528b8..75dff2d 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -658,6 +658,7 @@ export class KpiUserEvaluationController extends Controller { if (item.evaluationReqEdit == "EVALUATOR") { if (item.commanderId == null || item.commanderId == "") { item.evaluationReqEdit = "DONE"; + item.evaluationStatus = "NEW"; } else { item.evaluationReqEdit = "COMMANDER"; } @@ -666,12 +667,14 @@ export class KpiUserEvaluationController extends Controller { if (item.evaluationReqEdit == "COMMANDER") { if (item.commanderHighId == null || item.commanderHighId == "") { item.evaluationReqEdit = "DONE"; + item.evaluationStatus = "NEW"; } else { item.evaluationReqEdit = "COMMANDER_HIGH"; } } } else { item.evaluationReqEdit = requestBody.status.trim().toUpperCase(); + item.evaluationStatus = "NEW"; } } else { item.evaluationReqEdit = requestBody.status.trim().toUpperCase();