Commit fb5eef32 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent f62bdeda
...@@ -75,6 +75,9 @@ class InvoiceJobCommand extends Command ...@@ -75,6 +75,9 @@ class InvoiceJobCommand extends Command
case 'testEmail' : case 'testEmail' :
$service->testEmail('IRB220230306XYNKM'); $service->testEmail('IRB220230306XYNKM');
break; break;
case 'resetApplyInvoice' :
$service->resetApplyInvoice($params);
break;
case 'apiCallBack' : case 'apiCallBack' :
$service->apiCallBack([ $service->apiCallBack([
'invoice_platform' => 'rhawn', 'invoice_platform' => 'rhawn',
......
...@@ -670,4 +670,13 @@ class InvoiceService ...@@ -670,4 +670,13 @@ class InvoiceService
return $downloadUrl; return $downloadUrl;
} }
public function resetApplyInvoice($params)
{
$values = $this->apiService->getPlatformDataEntries('invoice_apply_'.$params,'data_values');
$response = $this->apiService->applyElecInvoice($values);
if($response){
return true;
}
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment