This commit is contained in:
parent
8c530d9769
commit
aa31ac0f06
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue