|
@@ -30,7 +30,7 @@ class ComonQrd
|
|
|
}
|
|
|
if($event['type']=='rinv'){
|
|
|
$this->returnInv($event);
|
|
|
- $this->InvToPay($event,false);
|
|
|
+ // $this->InvToPay($event,false);
|
|
|
}
|
|
|
if($event['type']=='check')$this->checkPay($event);
|
|
|
}
|
|
@@ -44,7 +44,7 @@ class ComonQrd
|
|
|
$assoc_status=2;
|
|
|
}else{
|
|
|
$assoc_status=3;
|
|
|
- if(in_array($invinfo->status,[5,6,7,8,9])||$invinfo->is_comon!=1 )return;
|
|
|
+ if(!in_array($invinfo->status,[5,6,7,8,9])||$invinfo->is_comon!=1 )return;
|
|
|
}
|
|
|
|
|
|
$assoc = Assoc::where(["viceCode"=>$data['invNo'],"status"=>$assoc_status,"is_del"=>0,"type"=>1])->select();
|