แก้ให้ ผู้ประเมินสูงสุด พิเศษ ประเมินได้แล้ว

This commit is contained in:
nakorn
2021-11-16 18:07:33 +07:00
parent 4b98790d2e
commit afc4429e63
17 changed files with 1220 additions and 32 deletions

View File

@@ -350,6 +350,24 @@ namespace TodoAPI2.Models
noti_url = "/eva/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d2?id=" + existingEntity.id.ToString();
add_history(DateTime.Now, "แบบประเมินถูกตีกลับ โดย ผู้บังคับบัญชาการเหนือขึ้นไปอีกชั้นหนึ่ง (สูงสุด)", model.employee_id, existingEntity.id, 2);
}
else if (model.status_mode == "next5")
{
existingEntity.status_supervisor3A_click_date = DateTime.Now;
noti_to_employee_id2 = owner_eva_employee_id;
noti_message2 = "แบบประเมินของ {0} ได้รับการประเมินเรียบร้อยแล้ว";
noti_url2 = "/eva/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d?id=" + existingEntity.id.ToString();
add_history(DateTime.Now, "ผู้บังคับบัญชาการเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ) อนุมัติแบบประเมินแล้ว", model.employee_id, existingEntity.id, 2);
}
else if (model.status_mode == "back5")
{
existingEntity.status_supervisor3A_click_date = DateTime.Now;
existingEntity.status_supervisor2A_click_date = null;
noti_to_employee_id = current_eva.supervisor2_id;
noti_message = "แบบประเมินของ {0} ถูกตีกลับ";
noti_url = "/eva/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d2?id=" + existingEntity.id.ToString();
add_history(DateTime.Now, "แบบประเมินถูกตีกลับ โดย ผู้บังคับบัญชาการเหนือขึ้นไปอีกชั้นหนึ่ง (พิเศษ)", model.employee_id, existingEntity.id, 2);
}
if (need_noti)
{