Merge branch release/21.7.5 of zentao/zentaopms (#10921)

This commit is contained in:
刘刚
2025-08-13 13:12:20 +08:00
committed by Gitfox
+2 -1
View File
@@ -15,6 +15,7 @@ $uid = uniqid();
$canEditContent = str_contains(',draft,changing,', ",{$story->status},");
$forceReview = $this->story->checkForceReview($story->type);
$assignedToList = $story->status == 'closed' ? array('closed' => 'Closed') : $users;
$storyEstimate = $story->estimate ? helper::formatHours($story->estimate) : 0;
$planCount = !empty($story->planTitle) ? count($story->planTitle) : 0;
$multiplePlan = ($product->type != 'normal' && empty($story->branch) && $planCount > 1) || ($story->type != 'story');
@@ -319,7 +320,7 @@ detailBody
item
(
set::name($lang->story->estimate),
$story->isParent == '0' ? input(set::name('estimate'), set::value($story->estimate ? $story->estimate : 0)) : $story->estimate
$story->isParent == '0' ? input(set::name('estimate'), set::value($storyEstimate)) : $storyEstimate
),
item
(