* Fix bug: normal product can not batch change module.

This commit is contained in:
xieqiyu
2022-01-18 13:11:22 +08:00
parent 34a41b82d1
commit 8092c5be0a
+3 -1
View File
@@ -207,7 +207,8 @@ js::set('suiteID', $suiteID);
</div>
</div>
<?php endif;?>
<?php if($canBatchChangeModule and !empty($productID) and $branch !== 'all'):?>
<?php if($canBatchChangeModule and !empty($productID)):?>
<?php if($product->type == 'normal' or ($product->type != 'normal' and $branch !== 'all')):?>
<div class="btn-group dropup">
<button data-toggle="dropdown" type="button" class="btn"><?php echo $lang->story->moduleAB;?> <span class="caret"></span></button>
<?php $withSearch = count($modules) > 6;?>
@@ -235,6 +236,7 @@ js::set('suiteID', $suiteID);
</div>
</div>
<?php endif;?>
<?php endif;?>
</div>
<div class="table-statistic"><?php echo $summary;?></div>
<?php $pager->show('right', 'pagerjs');?>