gorden преди 5 месеца
родител
ревизия
24ed70c217
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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'=>''