This commit is contained in:
Suphonchai Phoonsawat 2026-07-03 10:53:27 +07:00
parent 2f2d7fe74c
commit b05e7cc3ab
2 changed files with 20 additions and 5 deletions

View file

@ -1437,7 +1437,6 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
{
processCheckIn.CheckInStatus = "LATE";
}
processCheckIn.CheckInStatus = "NORMAL";
break;
case "AFTERNOON":
if (processCheckIn.CheckOut is not null)
@ -1454,7 +1453,10 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
break;
case "ALL":
processCheckIn.CheckInStatus = "NORMAL";
processCheckIn.CheckOutStatus = "NORMAL";
if (processCheckIn.CheckOut is not null)
{
processCheckIn.CheckOutStatus = "NORMAL";
}
break;
default:
break;