Commit d03d4f20 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 4322a3f1
...@@ -523,16 +523,17 @@ class InvoiceService ...@@ -523,16 +523,17 @@ class InvoiceService
$message = '<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"></head><bodyclass="">'; $message = '<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"></head><bodyclass="">';
$message .= "<div style='width:500px;'>";
$message .= '尊敬的'.$customerInfo['cust_name'].','. $platformName . '给您开具了电子发票,请查收。'; $message .= '尊敬的'.$customerInfo['cust_name'].','. $platformName . '给您开具了电子发票,请查收。';
$message .= "<br />发票信息:<br />"; $message .= "<br /><h3 style='border-bottom: 1px solid #dbdbdb;'>发票信息:</h3><br />";
$message .= "开票日期: ".date('Y-m-d H:i:s',$invoiceParams['invoice_real_date'])."<br/>"; $message .= "<span style='height:25px;'>开票日期 : ".date('Y-m-d H:i:s',$invoiceParams['invoice_real_date'])."</span><br/>";
$message .= "销方名称: ".$platformName."<br />"; $message .= "<span style='height:25px;'>销方名称 : ".$platformName."</span><br />";
$message .= "购方名称: ".$customerInfo['cust_name']."<br/>"; $message .= "<span style='height:25px;'>购方名称 : ".$customerInfo['cust_name']."</span><br/>";
$message .= "合计金额: ".bcmul($invoiceParams['invoice_money'],1,2)."<br />"; $message .= "<span style='height:25px;'>合计金额 : ".bcmul($invoiceParams['invoice_money'],1,2)."</span><br /><br />";
$message .= "发票号码: ".$invoiceParams['invoice_real_number']."<br />"; $message .= "<span style='height:25px;'>发票号码 : ".$invoiceParams['invoice_real_number']."</span><br />";
$message .= "<a href='".$downloadUrl."'>电子发票下载地址</a>"; $message .= "<a href='".$downloadUrl."'>电子发票下载地址</a>";
$message .= "</body></html>"; $message .= "</div></body></html>";
//$html = file_get_contents(resource_path('views/emails/invoice.blade.php')); //$html = file_get_contents(resource_path('views/emails/invoice.blade.php'));
......
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