Filtering has been changed from the updated date to the attendance date.

This commit is contained in:
ashutosh.nehete 2025-05-14 13:03:55 +05:30
parent 23a81e835e
commit 3ff030d28f

View File

@ -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 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
{