This commit is contained in:
aditya.siregar
2024-08-21 15:51:40 +07:00
parent 0ebeb73f76
commit 90ef6b910b
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -466,5 +466,6 @@ func MapOrderToPrintDetailResponse(order *entity.OrderPrintDetail, casherName st
OrderItems: orderItems,
CasheerName: casherName,
PartnerName: order.PartnerName,
Logo: order.Logo,
}
}
+1
View File
@@ -98,6 +98,7 @@ type CreateOrderResponse struct {
type PrintDetailResponse struct {
ID int64 `json:"id"`
Logo string `json:"logo"`
OrderID string `json:"order_id"`
PartnerName string `json:"partner_name"`
Total float64 `json:"total"`