* Change the object of assigned to.

This commit is contained in:
wumo
2018-03-23 00:48:54 +08:00
parent 5633a1ad1a
commit 1779bdeedc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -789,7 +789,7 @@ class task extends control
$task = $this->view->task;
$members = $this->loadModel('project')->getTeamMemberPairs($task->project, 'nodeleted');
$task->nextBy = $task->assignedTo;
$task->nextBy = $task->openedBy;
$this->view->users = $members;
if(!empty($task->team))
+1 -1
View File
@@ -38,7 +38,7 @@
</tr>
<tr>
<th><?php echo empty($task->team) ? $lang->task->assign : $lang->task->transferTo;?></th>
<td><?php echo html::select('assignedTo', $members, $task->openedBy, "class='form-control chosen'");?></td><td></td>
<td><?php echo html::select('assignedTo', $members, $task->nextBy, "class='form-control chosen'");?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->task->finishedDate;?></th>