* [bug#54686,done,0.2h] Remove the batch change plan button in or interface.

This commit is contained in:
hufangzhou
2024-08-29 16:55:32 +08:00
committed by 唐胡成
parent cac8011623
commit 7bf756ec4e
+1 -1
View File
@@ -248,7 +248,7 @@ $fnGenerateFootToolbar = function() use ($lang, $app, $product, $productID, $pro
$canBatchClose = hasPriv($storyType, 'batchClose') && strtolower($browseType) != 'closedbyme' && strtolower($browseType) != 'closedstory';
$canBatchReview = $canBeChanged && hasPriv($storyType, 'batchReview');
$canBatchAssignTo = $canBeChanged && hasPriv($storyType, 'batchAssignTo');
$canBatchChangePlan = $canBeChanged && hasPriv($storyType, 'batchChangePlan') && $productID && $product && (($product->type != 'normal' && $branchID != 'all') || $product->type == 'normal');
$canBatchChangePlan = $canBeChanged && hasPriv($storyType, 'batchChangePlan') && $config->vision == 'rnd' && $productID && $product && (($product->type != 'normal' && $branchID != 'all') || $product->type == 'normal');
}
$canBatchChangeGrade = $canBeChanged && hasPriv($storyType, 'batchChangeGrade') && count($gradePairs) > 1 && $config->{$storyType}->gradeRule == 'cross' && !$isProjectStory;