diff --git a/resources/views/detail/content.blade.php b/resources/views/detail/content.blade.php index 4013296..f1affc9 100644 --- a/resources/views/detail/content.blade.php +++ b/resources/views/detail/content.blade.php @@ -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