@@ -834,7 +834,7 @@ class OrderInv extends BaseController{
if(in_array($ticket['inv_type'],['004','028'])) $result= $this->addApplyRed($ticket,$returnCode);
}
if(isset($result['code'])){
- if($discard==1 ||$result['code']==0){
+ if($result['code']==0){
$status=2;
if(isset($result['data']) &&$result['data']['invRed']!='' ){