From 26f53ff81d2bbff8dc466ca153e6914873808fbe Mon Sep 17 00:00:00 2001 From: wangyuting Date: Mon, 23 Jun 2025 10:12:02 +0800 Subject: [PATCH] * [bug#63539,done,0.5h,0h] Remove execution template deliverable field. --- module/datatable/control.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/datatable/control.php b/module/datatable/control.php index a0d30c76c1..b28de93029 100644 --- a/module/datatable/control.php +++ b/module/datatable/control.php @@ -211,6 +211,12 @@ class datatable extends control if(!$execution->hasProduct) unset($cols['branch']); } + if($module == 'project' && $method == 'execution') + { + $project = $this->datatable->fetchByID($this->session->project, 'project'); + if(!empty($project->isTpl)) unset($cols['deliverable']); + } + if($extra == 'unsetStory' && isset($cols['story'])) unset($cols['story']); if($this->config->edition == 'ipd' && $module == 'product' && $method == 'browse' && $extra == 'story') unset($cols['roadmap']);