Commit d5af17e4 by 朱继来

显示按钮

parent 1a49d7cb
Showing with 2 additions and 2 deletions
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
@endif @endif
<!-- 已发货之后的状态 --> <!-- 已发货之后的状态 -->
@if ($order_info['status'] > 4) @if ($order_info['status'] >= 4)
<a href="{{URL('invShipping', ['order_id'=>$order_info['order_id']])}}" class="btn btn-default">寄送发票</a> <a href="{{URL('invShipping', ['order_id'=>$order_info['order_id']])}}" class="btn btn-default">寄送发票</a>
@endif @endif
...@@ -543,7 +543,7 @@ ...@@ -543,7 +543,7 @@
<a class="btn btn-default self_express" href="javascript:;" data-id="{{$order_info['order_id']}}" class="btn btn-default">填写快递单</a> <a class="btn btn-default self_express" href="javascript:;" data-id="{{$order_info['order_id']}}" class="btn btn-default">填写快递单</a>
@endif @endif
@if (in_array($order_info['status'], [4, 8]) && in_array('self_order_invoice_express', $userPerms)) @if ($order_info['status'] >= 4 && 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> <a class="btn btn-default self_invoice_express" data-id="{{$order_info['order_id']}}" href="javascript:;" class="btn btn-default">填写发票快递</a>
@endif @endif
</div> </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