* [bug#63562,done,1h,0h] Remove project template begin and end field.

This commit is contained in:
wangyuting
2025-06-24 13:22:23 +08:00
parent 32c883bbc5
commit cb65f7c414
2 changed files with 23 additions and 0 deletions
+14
View File
@@ -131,6 +131,20 @@ $fnGenerateFields = function() use ($lang, $requiredFields, $showFields, $fields
$field['value'] = empty($programPlan) ? 'open' : $programPlan->acl;
}
if(!empty($project->isTpl))
{
if($name == 'begin')
{
$field['value'] = $project->begin;
$field['hidden'] = true;
}
if($name == 'end')
{
$field['value'] = $project->end;
$field['hidden'] = true;
}
}
/* Field for agileplus. */
if($name == 'type' && in_array($project->model, array('waterfallplus', 'ipd')))
{