feat:新增订单发票,下单地址调整
This commit is contained in:
parent
bcf9dd8ab9
commit
5d05e68bbb
|
@ -359,7 +359,7 @@ func (d *defaultOrder) Invoice(ctx context.Context, in *InvoiceReq) (res *Invoic
|
|||
var model004 string
|
||||
var model005 string
|
||||
var model006 = constants.INVOICE_TEMPLATE_06
|
||||
// 生成收据发票--首款
|
||||
|
||||
ctimeDate := orderInfo.Ctime.Format("2006/01/02")
|
||||
var name string
|
||||
var city string
|
||||
|
@ -394,6 +394,7 @@ func (d *defaultOrder) Invoice(ctx context.Context, in *InvoiceReq) (res *Invoic
|
|||
var tax = fmt.Sprintf("%s%s", taxCurrency, taxStr)
|
||||
var total = fmt.Sprintf("%s%s", constants.OrderCurrencyMessage[constants.Currency(ress.OrderDetail.OrderAmount.Total.Current.CurrentCurrency)], ress.OrderDetail.OrderAmount.Total.Current.CurrentAmount.(string))
|
||||
|
||||
// 生成收据发票--首款
|
||||
if receiptSnsDeposit != "" {
|
||||
v1 := receiptSnsDeposit
|
||||
v2 := name
|
||||
|
|
Loading…
Reference in New Issue
Block a user