Incorrect traget working time calculation

Task #11169

 

Target working time is now calculated correctly during workload change.