Commit 49979369 by 朱继来

添加退款按钮权限

parent d52bb5a0
Showing with 1 additions and 1 deletions
......@@ -661,7 +661,7 @@
<!-- <a href="{{URL('send', ['order_id'=>$order_info['order_id']])}}" class="btn btn-default">订单发货</a> -->
@endif
@if (in_array($order_info['status'], array(3, 4, 7)))
@if (in_array($order_info['status'], array(3, 4, 7)) && in_array('order_refund', $userPerms))
<a href="{{URL('refund', ['order_id'=>$order_info['order_id']])}}" class="btn btn-info order_refund">退货退款</a>
@endif
......
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