fix issue : ระบบลา (User) >> กรณีขอยกเลิกการลา แต่ผู้บังคับบัญชาไม่อนุมัติ (สถานะการลาไม่อัปเดต) #846
Some checks failed
release-dev / release-dev (push) Failing after 11s
Some checks failed
release-dev / release-dev (push) Failing after 11s
This commit is contained in:
parent
7efd4c87cc
commit
83dce29faf
1 changed files with 10 additions and 0 deletions
|
|
@ -419,6 +419,16 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
|
|||
rawData.LeaveCancelStatus = "REJECT";
|
||||
rawData.LeaveCancelComment = Reason;
|
||||
|
||||
// fix issue : ระบบลา (User) >> กรณีขอยกเลิกการลา แต่ผู้บังคับบัญชาไม่อนุมัติ (สถานะการลาไม่อัปเดต) #846
|
||||
if (rawData.ApproveStep == "st4")
|
||||
{
|
||||
rawData.LeaveStatus = "APPROVE";
|
||||
}
|
||||
else
|
||||
{
|
||||
rawData.LeaveStatus = "NEW";
|
||||
}
|
||||
|
||||
await UpdateAsync(rawData);
|
||||
|
||||
// TODO: remove วันลา
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue