* finish task #7068.
This commit is contained in:
@@ -1161,6 +1161,7 @@ class taskModel extends model
|
||||
$estimate->work = zget($task, 'work', '');
|
||||
$estimate->account = $this->app->user->account;
|
||||
$estimate->consumed = $estimate->consumed - $oldTask->consumed;
|
||||
if($this->post->comment) $estimate->work = $this->post->comment;
|
||||
$this->addTaskEstimate($estimate);
|
||||
|
||||
if(!empty($oldTask->team))
|
||||
@@ -1385,6 +1386,7 @@ class taskModel extends model
|
||||
$estimate->work = zget($task, 'work', '');
|
||||
$estimate->account = $this->app->user->account;
|
||||
$estimate->consumed = $consumed;
|
||||
if($this->post->comment) $estimate->work = $this->post->comment;
|
||||
if(!empty($oldTask->team))
|
||||
{
|
||||
foreach($oldTask->team as $teamAccount => $team)
|
||||
|
||||
Reference in New Issue
Block a user