Browse Source

全额退款退券

gorden 5 months ago
parent
commit
24ed70c217
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/controller/order/RefundController.php

+ 1 - 0
app/admin/controller/order/RefundController.php

@@ -313,6 +313,7 @@ class RefundController extends Curd
 
                         // 是否有其他订单一起使用优惠券
                         if(!Order::where('order_groupby',$order->order_groupby)->where('order_id','<>',$order->order_id)->where('order_is_complete','<>','R')->exists()){
+                            dump("还有没退的");
                             CouponDetail::where('coupon_detail_id',$item['coupon_id'])->update([
                                 'coupon_detail_status'=>'ACTIVED',
                                 'coupon_detail_used_datetime'=>''