change condition in customize checkout eligible employees

This commit is contained in:
MahanCh
2025-04-28 13:57:24 +03:30
parent ffdc71401e
commit 64dffd6d25

View File

@@ -270,8 +270,8 @@ namespace CompanyManagment.Application
var statusesWithActiveLeftWorks = statuses
.Where(status => workshopLeftWorksInMonth.Any(leftWork => leftWork.EmployeeId == status.EmployeeId &&
leftWork.StartWorkDateGr.Date <= status.StartDateGr.Date &&
leftWork.LeftWorkDateGr.Date >= status.EndDateGr.Date)).ToList();
leftWork.StartWorkDateGr.Date <= status.EndDateGr.Date &&
leftWork.LeftWorkDateGr.Date >= status.StartDateGr.Date)).ToList();