|
@@ -201,9 +201,9 @@ func (ir *invoiceRecord) GetMailHtmlContext() string {
|
|
g.Dump(ir, strings.Contains(ir.InvoiceVariety, "专用"))
|
|
g.Dump(ir, strings.Contains(ir.InvoiceVariety, "专用"))
|
|
switch ir.InvoiceType {
|
|
switch ir.InvoiceType {
|
|
case "单位":
|
|
case "单位":
|
|
- return fmt.Sprintf(emailHtml_header+emailHtml_gs, ir.OrderCode, tType, fmt.Sprintf("<a href=\"%s\" download class=\"download\">下载发票</a>", ir.Url), tType, ir.CompanyName, ir.TaxpayerIdentnum, ir.Phone, ir.Mail)
|
|
|
|
|
|
+ return fmt.Sprintf(emailHtml_header+emailHtml_gs, ir.OrderCode, tType, fmt.Sprintf("<a href=\"%s\" download class=\"download\">查看发票</a>", ir.Url), tType, ir.CompanyName, ir.TaxpayerIdentnum, ir.Phone, ir.Mail)
|
|
case "个人":
|
|
case "个人":
|
|
- return fmt.Sprintf(emailHtml_header+emailHtml_gr, ir.OrderCode, tType, fmt.Sprintf("<a href=\"%s\" download class=\"download\">下载发票</a>", ir.Url), tType, ir.Phone, ir.Mail)
|
|
|
|
|
|
+ return fmt.Sprintf(emailHtml_header+emailHtml_gr, ir.OrderCode, tType, fmt.Sprintf("<a href=\"%s\" download class=\"download\">查看发票</a>", ir.Url), tType, ir.Phone, ir.Mail)
|
|
}
|
|
}
|
|
return ""
|
|
return ""
|
|
}
|
|
}
|