some change report admin

This commit is contained in:
SamSys
2025-11-04 17:37:22 +03:30
parent 2125e15fb9
commit a9b4eb6195

View File

@@ -1998,7 +1998,7 @@ public class ReportRepository : IReportRepository
var allContractLeftworksList = await _context.LeftWorkList
.Where(x => x.WorkshopId == workshopId)
.Where(x =>
x.StartWorkDate <= nextMonthEnd && x.LeftWorkDate > nextMonthStart).ToListAsync();
x.StartWorkDate <= currentMonthEnd && x.LeftWorkDate > currentMonthStart).ToListAsync();
var byWorkshopDisabledCheck = await _context.Workshops.FirstOrDefaultAsync(x => x.id == workshopId);
var byEmployeeDisabledCheck = await _context.EmployeeComputeOptionsSet.Where(x => x.WorkshopId == workshopId)