* Create waterfall projects with multi-product single product removal.
This commit is contained in:
@@ -725,13 +725,13 @@ class program extends control
|
||||
|
||||
if($copyProjectID)
|
||||
{
|
||||
$copyProgram = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->eq($copyProjectID)->fetch();
|
||||
$name = $copyProgram->name;
|
||||
$code = $copyProgram->code;
|
||||
$team = $copyProgram->team;
|
||||
$acl = $copyProgram->acl;
|
||||
$auth = $copyProgram->auth;
|
||||
$whitelist = $copyProgram->whitelist;
|
||||
$copyProject = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->eq($copyProjectID)->fetch();
|
||||
$name = $copyProject->name;
|
||||
$code = $copyProject->code;
|
||||
$team = $copyProject->team;
|
||||
$acl = $copyProject->acl;
|
||||
$auth = $copyProject->auth;
|
||||
$whitelist = $copyProject->whitelist;
|
||||
|
||||
$products = $this->project->getProducts($copyProjectID);
|
||||
foreach($products as $product)
|
||||
|
||||
@@ -50,12 +50,6 @@
|
||||
<th><?php echo $lang->program->PRJCode;?></th>
|
||||
<td><?php echo html::input('code', $code, "class='form-control' required");?></td><td></td><td></td>
|
||||
</tr>
|
||||
<?php if($model == 'waterfall'):?>
|
||||
<tr>
|
||||
<th><?php echo $lang->program->PRJCategory;?></th>
|
||||
<td><?php echo html::select('product', $lang->program->PRJCategoryList, '', "class='form-control'");?></td><td></td><td></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th><?php echo $lang->project->manageProducts;?></th>
|
||||
<td class='text-left' id='productsBox' colspan="3">
|
||||
|
||||
Reference in New Issue
Block a user