{{define "admin_shop_orders"}}
{{if .Data.Ok}}| 订单号 | 商品 | 金额 | 买家 | 状态 | 核销码 | 下单时间 | 操作 |
|---|---|---|---|---|---|---|---|
| {{.OrderNo}} |
{{.ProductTitle}}
¥{{.ProductPrice}} × {{.Quantity}}{{if .CouponCode}} · 优惠 {{.DiscountLabel}}{{end}}
|
¥{{.Amount}} |
{{.Buyer}}
{{if .Contact}} {{.Contact}} {{end}}
|
{{.StatusLabel}} |
{{if .VerifyCode}}{{.VerifyCode}}
{{else}}—{{end}}
{{if .VerifyTime}} {{.VerifyTimeLabel}} · {{.VerifiedBy}} {{end}}
|
{{date .CreatedAt}} |
{{if eq .Status "pending"}}
{{else if eq .Status "paid"}}
{{else}}
—
{{end}}
|