Merge branch 'fixbug_25216' into 'master'
Fixbug 25216 See merge request easycorp/zentaopms!4528
This commit is contained in:
@@ -1217,7 +1217,6 @@ class task extends control
|
||||
if($task->consumed - $estimate->consumed == 0)
|
||||
{
|
||||
$actionID = $this->loadModel('action')->create('task', $estimate->task, 'Adjusttasktowait');
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
}
|
||||
if($task->consumed - $estimate->consumed == 0)
|
||||
{
|
||||
|
||||
@@ -2842,7 +2842,7 @@ class taskModel extends model
|
||||
elseif($consumed == 0)
|
||||
{
|
||||
$data->status = 'wait';
|
||||
$data->left = $task->left + $estimate->consumed;
|
||||
$data->left = $task->estimate;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user