|
@@ -127,7 +127,7 @@ class CheckInvoice extends Command
|
|
|
$buyerCode=CompanyInfo::getRegisterCode($pay->companyNo);
|
|
|
$sellerCode=SupplierInfo::getRegisterCode($pay->supplierNo);
|
|
|
PayInvoice::where(["hpNo"=>$invoice['hpNo'],"status"=>1])->update([
|
|
|
- "status"=>11,
|
|
|
+ "status"=>$pay->pay_type==1?11:2,
|
|
|
"invStatus"=>$this->taxStatus[$data['zfbz']]??0,
|
|
|
"check_remark"=>'',
|
|
|
"inv_fee"=>$inv_fee,
|