Commit 39c4396a authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 14551fc9
......@@ -465,18 +465,17 @@ class InvoiceService
if($updatedInvoiceResult){
//对平台的发票信息进行更新
$updateResult = null;
switch($updatedInvoiceResult['invoice_platform']){
case 'rhawn' :
$updateResult = $this->rhawnInvoiceRepository->updateInvoiceById($updatedInvoiceResult['platform_invoice_id'],
[
$updateParams = [
'soi_api_status' => 1,
'soi_no' => $updatedInvoiceResult['invoice_real_number'],
'soi_date' => $updatedInvoiceResult['invoice_real_date'],
//'soi_total' => bcmul($callBackParams['jshj'],1,2),
'soi_tax' => bcmul($invoiceResponse['hjse'],1,2),
'soi_amount' => bcmul($invoiceResponse['hjje'],1,2)
]
);
];
switch($updatedInvoiceResult['invoice_platform']){
case 'rhawn' :
$updateResult = $this->rhawnInvoiceRepository->updateInvoiceById($updatedInvoiceResult['platform_invoice_id'], $updateParams);
}
if($updateResult){
//获取发票地址
......
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