Commit f09cc940 by 朱继来

调整填写发票快递按钮

parent 4ec7d23f
Showing with 9 additions and 5 deletions
......@@ -339,15 +339,17 @@
</tr>
</table>
@endif
@if (!empty($order_shipping_info))
<!-- 订单或发票物流 -->
@if (!empty($order_shipping_info) || !empty($order_invoice_shipping_info))
<table class="table table-bordered table-hover">
<tr class="caption">
<th colspan="8" style="text-align: center; background: #f9f9f9;">
物流信息
</th>
</tr>
@if (!empty($order_shipping_info))
<tr>
<th width="5%">订单物流</th>
<th width="5%">快递公司:</th>
......@@ -369,6 +371,7 @@
<a class="btn btn-xs btn-success view-shipping" data-type="1">查看物流轨迹</a>
</td>
</tr>
@endif
@if (!empty($order_invoice_shipping_info))
<tr>
......@@ -621,8 +624,9 @@
@if ($order_info['status'] == 4 && in_array('self_order_express', $userPerms))
<a class="btn btn-default self_express" href="javascript:;" data-id="{{$order_info['order_id']}}" class="btn btn-default">填写快递单</a>
@endif
@if ($order_info['status'] >= 4 && in_array('self_order_invoice_express', $userPerms))
<!-- 订单状态大于4,且处于开票状态,且存在权限 -->
@if ($order_info['status'] >= 4 && $order_invoice_info['inv_type'] > 1 && in_array('self_order_invoice_express', $userPerms))
<a class="btn btn-default self_invoice_express" data-id="{{$order_info['order_id']}}" href="javascript:;" class="btn btn-default">填写发票快递</a>
@endif
</div>
......
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