rotatingShift Compute on Rollcall Bug Fixed
This commit is contained in:
@@ -123,7 +123,10 @@ namespace CompanyManagment.Application
|
||||
bool skipRollCallByEmployeeId = employeeId is 42550;
|
||||
if (skipRollCallByEmployeeId)
|
||||
return false;
|
||||
|
||||
|
||||
//9211 محسا تازه
|
||||
if (employeeId == 9211 && contractStart >= start1404)
|
||||
return false;
|
||||
|
||||
var service = _rollCallServiceRepository.GetAllServiceByWorkshopId(workshopId);
|
||||
|
||||
|
||||
@@ -845,7 +845,7 @@ CreateWorkingHoursTemp command, bool holidayWorking)
|
||||
if (shift.Start >= eveningStart // 22<---<14
|
||||
&& shift.End <= eveningEnd)
|
||||
{
|
||||
eveningWorkingTime = morningWorkingTime.Add(eveningEnd - eveningStart);
|
||||
eveningWorkingTime = eveningWorkingTime.Add(shift.End - shift.Start);
|
||||
}
|
||||
else if (shift.Start >= eveningStart && shift.Start < eveningEnd // 6<---22---14
|
||||
&& shift.End > nightStart && shift.End <= nightEndNextday)
|
||||
|
||||
Reference in New Issue
Block a user