Added ability to unlock Corrective Actions when locked for editing.

This commit is contained in:
Daniel Wathen
2023-03-02 11:54:50 -07:00
parent adad38b849
commit a2b2e04f1f
12 changed files with 382 additions and 265 deletions

View File

@ -371,17 +371,12 @@
var delegate = "";
var isChecked = $("#AssignDelegate").is(":checked");
console.log(isChecked);
if (isChecked === true)
delegate = $("#DelegateTo").data("kendoDropDownList").value();
else
delegate = "0";
console.log(delegate);
if (userid == delegate)
{
alert('The OOO person cannot be same as the delegate to person');