feat : coupon
This commit is contained in:
@@ -62,7 +62,7 @@ class RefundOrder extends Model
|
||||
->where('order_id', $orderId)
|
||||
->where('order_type', $type)
|
||||
->whereIn('refund_status',[
|
||||
RefundCode::WAIT_REFUND,
|
||||
RefundCode::WAIT_BY_PAY_TOOL,
|
||||
RefundCode::REFUND_SUCCESS
|
||||
])->sum('refund_money') ?? 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user