* Fix stage gantt start and end date.
This commit is contained in:
@@ -297,8 +297,8 @@ class programplanModel extends model
|
|||||||
$reviewDeadline[$taskExecutionID]['taskEnd'] = $task->deadline;
|
$reviewDeadline[$taskExecutionID]['taskEnd'] = $task->deadline;
|
||||||
}
|
}
|
||||||
|
|
||||||
$start = $realBegan ? $realBegan : $estStart;
|
$start = $estStart;
|
||||||
$end = $realEnd ? $realEnd : $estEnd;
|
$end = $estEnd;
|
||||||
if(empty($start) and $execution) $start = $execution->begin;
|
if(empty($start) and $execution) $start = $execution->begin;
|
||||||
if(empty($end) and $execution) $end = $execution->end;
|
if(empty($end) and $execution) $end = $execution->end;
|
||||||
if($start > $end) $end = $start;
|
if($start > $end) $end = $start;
|
||||||
|
|||||||
Reference in New Issue
Block a user