fix retirement
Some checks failed
release-dev / release-dev (push) Failing after 14s

This commit is contained in:
AdisakKanthawilang 2025-02-19 14:35:59 +07:00
parent 8c530d9769
commit aa31ac0f06

View file

@ -884,6 +884,7 @@ namespace BMA.EHR.Leave.Service.Controllers
therapyDayCount
};
employees.Add(emp);
count++;
}
@ -1011,7 +1012,7 @@ namespace BMA.EHR.Leave.Service.Controllers
var duty = userRound ?? defaultRound;
var processTimeStamps = timeStamps
/* var processTimeStamps = timeStamps
.Select(d => new
{
d.Id,
@ -1030,7 +1031,12 @@ namespace BMA.EHR.Leave.Service.Controllers
});
var absentCount = processTimeStamps.Count(x => x.CheckOutStatus == "ABSENT");
var lateCount = processTimeStamps.Count(x => x.CheckInStatus == "LATE");
var lateCount = processTimeStamps.Count(x => x.CheckInStatus == "LATE");*/
var absentCount = timeStamps.Count(d =>
d.CheckOutStatus == "ABSENT"); // นับจำนวนที่มี CheckOutStatus == "ABSENT"
var lateCount = timeStamps.Count(d =>
d.CheckInStatus == "LATE"); // นับจำนวนที่มี CheckInStatus == "LATE"
var emp = new
{