This commit is contained in:
tianshujie
2024-05-22 10:37:42 +08:00
parent 4cdc3433d9
commit 55e8daa8ca
+2 -2
View File
@@ -17,9 +17,9 @@ $fields->field('project')
->items(data('allProjects'))
->value(data('projectID'));
if(!empty($project->model) and in_array($project->model, array('agileplus', 'ipd', 'waterfallplus')))
if(!empty($project->model) and $project->model == 'agileplus')
{
if($project->model == 'agileplus' ) unset($lang->execution->typeList['stage'], $lang->execution->typeList['']);
unset($lang->execution->typeList['stage'], $lang->execution->typeList['']);
$fields->field('method')
->required()
->name('type')