Merge branch dev/task-152105 of zentao/zentaopms (#12334)
This commit is contained in:
@@ -197,6 +197,7 @@ class stageModel extends model
|
||||
->where('deleted')->eq(0)
|
||||
->andWhere('workflowGroup')->eq($groupID)
|
||||
->beginIF($this->config->edition != 'ipd')->andWhere('projectType')->ne('ipd')->fi()
|
||||
->andWhere('type')->ne('lifecycle')
|
||||
->orderBy($orderBy)
|
||||
->fetchAll('id');
|
||||
|
||||
|
||||
@@ -12611,7 +12611,6 @@ class upgradeModel extends model
|
||||
$flowCode = $flow->code;
|
||||
foreach($stageGroup[$projectModel] as $stage)
|
||||
{
|
||||
if($stage->type == 'lifecycle') continue;
|
||||
if($flowCode == 'tpdproduct' && !in_array($stage->type, $this->config->project->categoryStages['TPD'])) continue;
|
||||
if($flowCode == 'cbbproduct' && !in_array($stage->type, $this->config->project->categoryStages['CBB'])) continue;
|
||||
if(in_array($flowCode, array('cpdproduct', 'cpdproject')) && !in_array($stage->type, $this->config->project->categoryStages['CPD'])) continue;
|
||||
|
||||
Reference in New Issue
Block a user