* Fix bug#11066.

This commit is contained in:
qiyu-xie
2021-04-13 14:23:34 +08:00
parent 2743186999
commit 77de586587
+1 -1
View File
@@ -35,7 +35,7 @@
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->productplan->noPlan;?></span>
<?php if(common::canModify('product', $product) and common::hasPriv('productplan', 'create')):?>
<?php if(common::canModify('product', $product) and common::hasPriv('productplan', 'create') and $browseType != 'overdue'):?>
<?php echo html::a($this->createLink('productplan', 'create', "productID=$product->id&branch=$branch"), "<i class='icon icon-plus'></i> " . $lang->productplan->create, '', "class='btn btn-info'");?>
<?php endif;?>
</p>