* [perf story #69159] display consumed and left fields for restart parent task.
This commit is contained in:
@@ -325,7 +325,9 @@ class taskModel extends model
|
||||
if($oldTask->parent > 0) $this->computeBeginAndEnd($oldTask->parent);
|
||||
|
||||
/* Create related dynamic and record. */
|
||||
$action = $left == 0 ? 'Finished' : 'Started';
|
||||
$action = 'Started';
|
||||
if($oldTask->status == 'pause') $action = 'Restarted';
|
||||
if($left == 0) $action = 'Finished';
|
||||
$this->afterChangeStatus($oldTask, $changes, $action, $output);
|
||||
|
||||
/* Send Webhook notifications and synchronize status to execution, project and program. */
|
||||
|
||||
Reference in New Issue
Block a user