diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index cbab8e4866..88c6ecc9d7 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -254,6 +254,7 @@ { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; + if(!$execution->hasProduct and !$execution->multiple and $storyType == 'requirement' and $value->id == 'taskCount') continue; if($value->show) { $this->datatable->printHead($value, $orderBy, $vars, $canBatchAction); @@ -273,6 +274,7 @@ { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; + if(!$execution->hasProduct and !$execution->multiple and $storyType == 'requirement' and $value->id == 'taskCount') continue; $this->story->printCell($value, $story, $users, $branchOption, $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', $storyType, $execution, $showBranch); } ?> @@ -288,6 +290,7 @@ { if(!$execution->hasProduct and !$execution->multiple and $value->id == 'plan') continue; if(!$execution->hasProduct and !$execution->multiple and $value->id == 'stage') continue; + if(!$execution->hasProduct and !$execution->multiple and $storyType == 'requirement' and $value->id == 'taskCount') continue; $this->story->printCell($value, $child, $users, $branchOption, $storyStages, $modulePairs, $storyTasks, $storyBugs, $storyCases, $useDatatable ? 'datatable' : 'table', $storyType, $execution); }?>