|
|
@ -172,7 +172,7 @@ class OrderRefund extends OrderRefundModel |
|
|
|
public function delivery(array $data): bool |
|
|
|
public function delivery(array $data): bool |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ( |
|
|
|
if ( |
|
|
|
($this['type'] != RefundTypeEnum::RETURN || $this['type'] != RefundTypeEnum::EXCHANGE) |
|
|
|
!in_array($this['type'],[RefundTypeEnum::RETURN,RefundTypeEnum::EXCHANGE]) |
|
|
|
|| $this['audit_status'] != AuditStatusEnum::REVIEWED |
|
|
|
|| $this['audit_status'] != AuditStatusEnum::REVIEWED |
|
|
|
|| $this['is_user_send'] != 0 |
|
|
|
|| $this['is_user_send'] != 0 |
|
|
|
) { |
|
|
|
) { |
|
|
|