2
This commit is contained in:
parent
e5e02d96a6
commit
dc586a7bf1
@ -1638,7 +1638,7 @@ func (r *ExportService) OrderProduct(d []*model.OrderProduct) (string, error) {
|
||||
var products []string
|
||||
for _, v := range orderProductItems {
|
||||
amount := fmt.Sprintf("%d", v.Amount)
|
||||
productPrice := fmt.Sprintf("%d", v.ProductPrice)
|
||||
productPrice := fmt.Sprintf("%.2f", v.ProductPrice)
|
||||
product := v.ProductName + "(N:" + amount + " " + "P:" + productPrice + ")"
|
||||
|
||||
products = append(products, product)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user