Filtering has been changed from the updated date to the attendance date.
This commit is contained in:
parent
23a81e835e
commit
3ff030d28f
@ -157,7 +157,7 @@ namespace Marco.Pms.Services.Controllers
|
|||||||
|
|
||||||
var Employees = await _context.Employees.Where(e => e.TenantId == tenantId && e.IsActive == true).Select(e => e.Id).ToListAsync();
|
var Employees = await _context.Employees.Where(e => e.TenantId == tenantId && e.IsActive == true).Select(e => e.Id).ToListAsync();
|
||||||
|
|
||||||
var checkedInEmployee = await _context.Attendes.Where(e => e.Date.Date == date).Select(e => e.EmployeeID).ToListAsync();
|
var checkedInEmployee = await _context.Attendes.Where(e => e.AttendanceDate.Date == date).Select(e => e.EmployeeID).ToListAsync();
|
||||||
|
|
||||||
TeamDashboardVM teamDashboardVM = new TeamDashboardVM
|
TeamDashboardVM teamDashboardVM = new TeamDashboardVM
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user