This commit is contained in:
sunjun
2022-03-30 17:13:30 +08:00
parent 1f0d9ffae3
commit 2dc2a6448f
+3 -2
View File
@@ -1819,8 +1819,9 @@ class productModel extends model
$totalEstimate += $story->estimate;
/* When the status is not closed or closedReason is done or postponed then add cases rate..*/
if(
$story->status != 'closed' or
($story->status == 'closed' and ($story->closedReason == 'done' or $story->closedReason == 'postponed'))
empty($story->children) and
($story->status != 'closed' or
($story->status == 'closed' and ($story->closedReason == 'done' or $story->closedReason == 'postponed')))
)
{
$storyIdList[] = $story->id;