From b6cd68611887f4cb4b9c49c44ef6849fe1eebbc2 Mon Sep 17 00:00:00 2001 From: "aditya.siregar" Date: Thu, 22 Aug 2024 01:36:30 +0700 Subject: [PATCH] Update Status --- internal/handlers/http/customerorder/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/http/customerorder/order.go b/internal/handlers/http/customerorder/order.go index 05d7e98..5df3231 100644 --- a/internal/handlers/http/customerorder/order.go +++ b/internal/handlers/http/customerorder/order.go @@ -249,7 +249,7 @@ func (h *Handler) toOrderDetail(order *entity.Order) *response.OrderDetail { FullName: order.User.Name, Email: order.User.Email, PhoneNumber: order.User.PhoneNumber, - TotalAmount: order.Amount, + TotalAmount: order.Total, CreatedAt: order.CreatedAt, Status: order.Status, PaymentLink: paymentLink,