Commit ba6a0201 by 朱继来

Merge branch 'zjl_commit_20200526'

parents 7df8c9f3 81515a3b
Showing with 1 additions and 1 deletions
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<th colspan="8" style="text-align: center; background: #f9f9f9;"> 发票信息 <th colspan="8" style="text-align: center; background: #f9f9f9;"> 发票信息
<?php <?php
//<!-- 发票状态小于2(已发货)且更改权限存在 显示按钮 --> //<!-- 发票状态小于2(已发货)且更改权限存在 显示按钮 -->
if (!isset($tags)) { if (empty($tags)) {
if(in_array($order_info['status'], [1, 2, 3, 4]) && $order_invoice_info['invoice_status'] < 2 && in_array('update_invoice', $userPerms)) { if(in_array($order_info['status'], [1, 2, 3, 4]) && $order_invoice_info['invoice_status'] < 2 && in_array('update_invoice', $userPerms)) {
echo '<a href="/changeInvoice/'.$order_info['order_id'].'" class="btn btn-success btn-sm changeBtn">更改发票</a>'; echo '<a href="/changeInvoice/'.$order_info['order_id'].'" class="btn btn-success btn-sm changeBtn">更改发票</a>';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment