* Finish task #71580,#71581,#71582,#71583,#71584.

This commit is contained in:
daitingting
2022-10-09 08:22:27 +00:00
parent 0efa9c5f00
commit 39064a3e22
8 changed files with 29 additions and 19 deletions
+3 -4
View File
@@ -104,10 +104,9 @@ class datatable extends control
if($moduleName == 'project' and $method == 'bug')
{
$project = $this->loadModel('project')->getByID($this->session->project);
if(!$project->hasProduct and $project->model != 'scrum')
{
unset($cols['plan']);
}
if(!$project->multiple) unset($cols['execution']);
if(!$project->hasProduct and $project->model != 'scrum') unset($cols['plan']);
}
if($moduleName == 'execution' and $method == 'bug')