changed attendance to check-in date
This commit is contained in:
parent
3ff030d28f
commit
7bd784bdd5
@ -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.AttendanceDate.Date == date).Select(e => e.EmployeeID).ToListAsync();
|
var checkedInEmployee = await _context.Attendes.Where(e => e.InTime != null ? e.InTime.Value.Date == date : false).Select(e => e.EmployeeID).ToListAsync();
|
||||||
|
|
||||||
TeamDashboardVM teamDashboardVM = new TeamDashboardVM
|
TeamDashboardVM teamDashboardVM = new TeamDashboardVM
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user