* Finish task #36088.

This commit is contained in:
hufangzhou
2021-02-20 11:11:43 +08:00
parent 3ee2aa34a7
commit 81f261dd64
2 changed files with 0 additions and 6 deletions
-2
View File
@@ -4025,7 +4025,6 @@ class upgradeModel extends model
$project->name = $data->PRJName;
$project->type = 'project';
$project->model = 'scrum';
$project->code = $data->code;
$project->parent = $programID;
$project->status = 'wait';
$project->begin = $data->begin;
@@ -4038,7 +4037,6 @@ class upgradeModel extends model
$project->acl = $data->acl;
$this->lang->project->name = $this->lang->program->PRJName;
$this->lang->project->code = $this->lang->program->PRJCode;
$this->dao->insert(TABLE_PROJECT)->data($project)
->batchcheck('name', 'notempty')
@@ -40,10 +40,6 @@
<th><?php echo $lang->program->PRJName;?></th>
<td class='required'><?php echo html::input("PRJName", isset($sprintName) ? $sprintName : '', "class='form-control'");?></td>
</tr>
<tr class='PGMParams'>
<th><?php echo $lang->program->PRJCode;?></th>
<td><?php echo html::input("code", '', "class='form-control'");?></td>
</tr>
<tr class='PGMParams'>
<th><?php echo $lang->program->PRJPM;?></th>
<td><?php echo html::select('PM', array('' => '') + $users, '', "class='form-control chosen'");?></td>