From a9b4eb61951c46a03f4e9ae1007580942e1815e8 Mon Sep 17 00:00:00 2001 From: SamSys Date: Tue, 4 Nov 2025 17:37:22 +0330 Subject: [PATCH] some change report admin --- CompanyManagment.EFCore/Repository/ReportRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompanyManagment.EFCore/Repository/ReportRepository.cs b/CompanyManagment.EFCore/Repository/ReportRepository.cs index c187017c..c0dc4435 100644 --- a/CompanyManagment.EFCore/Repository/ReportRepository.cs +++ b/CompanyManagment.EFCore/Repository/ReportRepository.cs @@ -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)