Merge branch feature/task-report of zentao/zentaopms (#9551)

This commit is contained in:
刘刚
2025-06-16 16:30:25 +08:00
committed by Gitfox
2 changed files with 2 additions and 2 deletions
@@ -28,7 +28,7 @@ class count_of_tested_story extends baseCalc
public function calculate($row)
{
if($row->stage == 'tested') $this->result ++;
if(strpos(',tested,verified,rejected,delivering,delivered,released,closed', ",$row->stage,") !== false) $this->result ++;
}
public function getResult($options = array())
@@ -31,7 +31,7 @@ class scale_of_tested_story extends baseCalc
if($row->isParent == '1') return false;
if(empty($row->estimate)) return null;
if($row->stage == 'tested') $this->result += $row->estimate;
if(strpos(',tested,verified,rejected,delivering,delivered,released,closed', ",$row->stage,") !== false) $this->result += $row->estimate;
}
public function getResult($options = array())