* finish task #7068.

This commit is contained in:
wangyidong
2020-04-27 11:29:08 +08:00
parent e0b54c87ef
commit 7ae499cf70
+2
View File
@@ -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)