fix rollcall mandatory repository
This commit is contained in:
@@ -1695,8 +1695,8 @@ CreateWorkingHoursTemp command, bool holidayWorking)
|
||||
#endregion
|
||||
|
||||
List<RollCallViewModel> rollCallResult = _context.RollCalls.Where(x =>
|
||||
x.EmployeeId == employeeId && x.WorkshopId == workshopId && x.StartDate.Value.Date >= contractStart.Date &&
|
||||
x.StartDate.Value.Date <= contractEnd.Date && x.EndDate != null)
|
||||
x.EmployeeId == employeeId && x.WorkshopId == workshopId && x.ShiftDate.Date >= contractStart.Date &&
|
||||
x.ShiftDate.Date <= contractEnd.Date && x.EndDate != null)
|
||||
.Select(x => new RollCallViewModel()
|
||||
{
|
||||
StartDate = x.StartDate,
|
||||
|
||||
Reference in New Issue
Block a user