* Finish task #11267.
This commit is contained in:
@@ -2276,9 +2276,9 @@ class executionModel extends model
|
|||||||
|
|
||||||
extract($data);
|
extract($data);
|
||||||
$executionType = $execution->type;
|
$executionType = $execution->type;
|
||||||
$accounts = array_unique($accounts);
|
$accounts = array_unique($accounts);
|
||||||
$limited = array_values($limited);
|
$limited = array_values($limited);
|
||||||
$oldJoin = $this->dao->select('`account`, `join`')->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->fetchPairs();
|
$oldJoin = $this->dao->select('`account`, `join`')->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->fetchPairs();
|
||||||
$this->dao->delete()->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->exec();
|
$this->dao->delete()->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->exec();
|
||||||
|
|
||||||
$executionMember = array();
|
$executionMember = array();
|
||||||
|
|||||||
@@ -795,7 +795,7 @@ class project extends control
|
|||||||
|
|
||||||
if(!empty($_POST))
|
if(!empty($_POST))
|
||||||
{
|
{
|
||||||
$this->project->manageMembers($projectID);
|
$this->execution->manageMembers($projectID);
|
||||||
$link = $this->createLink('project', 'manageMembers', "projectID=$projectID");
|
$link = $this->createLink('project', 'manageMembers', "projectID=$projectID");
|
||||||
$this->send(array('message' => $this->lang->saveSuccess, 'result' => 'success', 'locate' => $link));
|
$this->send(array('message' => $this->lang->saveSuccess, 'result' => 'success', 'locate' => $link));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
<td><input type='text' name='roles[]' id='role<?php echo ($i);?>' class='form-control' /></td>
|
<td><input type='text' name='roles[]' id='role<?php echo ($i);?>' class='form-control' /></td>
|
||||||
<td><input type='text' name='days[]' id='days<?php echo ($i);?>' class='form-control' value='<?php echo $project->days?>'/></td>
|
<td><input type='text' name='days[]' id='days<?php echo ($i);?>' class='form-control' value='<?php echo $project->days?>'/></td>
|
||||||
<td>
|
<td>
|
||||||
<input type='text' name='hours[]' id='hours<?php echo ($i);?>' class='form-control' value='<?php echo $config->project->defaultWorkhours?>' />
|
<input type='text' name='hours[]' id='hours<?php echo ($i);?>' class='form-control' value='<?php echo $config->execution->defaultWorkhours?>' />
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo html::radio("limited[$i]", $lang->team->limitedList, 'no');?></td>
|
<td><?php echo html::radio("limited[$i]", $lang->team->limitedList, 'no');?></td>
|
||||||
<td class='c-actions text-center'>
|
<td class='c-actions text-center'>
|
||||||
|
|||||||
Reference in New Issue
Block a user