Fix order detail routing and loading
This commit is contained in:
21
graphql/operations/orders/order-detail.graphql
Normal file
21
graphql/operations/orders/order-detail.graphql
Normal file
@@ -0,0 +1,21 @@
|
||||
query OrderDetail($id: ID!) {
|
||||
order(id: $id) {
|
||||
id
|
||||
code
|
||||
kind
|
||||
status
|
||||
customerId
|
||||
deliveryAddress
|
||||
deliveryTerms
|
||||
deliveryFee
|
||||
totalPrice
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
unitPrice
|
||||
lineTotal
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user