From 3ff030d28ff03303e8aae23bb04fe0278cb3c216 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Wed, 14 May 2025 13:03:55 +0530 Subject: [PATCH] Filtering has been changed from the updated date to the attendance date. --- Marco.Pms.Services/Controllers/DashboardController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Controllers/DashboardController.cs b/Marco.Pms.Services/Controllers/DashboardController.cs index d42a70c..41cb863 100644 --- a/Marco.Pms.Services/Controllers/DashboardController.cs +++ b/Marco.Pms.Services/Controllers/DashboardController.cs @@ -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 {