Edit order pricing inline
This commit is contained in:
@@ -14,6 +14,8 @@ query ManagerOrders($status: OrderStatus, $customerId: ID) {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
unitPrice
|
||||
lineTotal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,12 @@ mutation ManagerSetOrderOffer($input: SetOrderOfferInput!) {
|
||||
code
|
||||
status
|
||||
deliveryTerms
|
||||
deliveryFee
|
||||
totalPrice
|
||||
items {
|
||||
id
|
||||
unitPrice
|
||||
lineTotal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,11 +7,14 @@ query MyOrders {
|
||||
deliveryAddress
|
||||
totalPrice
|
||||
deliveryTerms
|
||||
deliveryFee
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
productName
|
||||
quantity
|
||||
unitPrice
|
||||
lineTotal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,6 +232,8 @@ type OrderItem {
|
||||
productId: ID
|
||||
productName: String!
|
||||
quantity: Float!
|
||||
unitPrice: Float
|
||||
lineTotal: Float
|
||||
}
|
||||
|
||||
type OrderStatusEvent {
|
||||
@@ -428,9 +430,14 @@ input SubmitCalculationOrderInput {
|
||||
|
||||
input SetOrderOfferInput {
|
||||
orderId: ID!
|
||||
itemPrices: [OrderItemPriceInput!]!
|
||||
deliveryTerms: String!
|
||||
deliveryFee: Float!
|
||||
totalPrice: Float!
|
||||
}
|
||||
|
||||
input OrderItemPriceInput {
|
||||
itemId: ID!
|
||||
unitPrice: Float!
|
||||
}
|
||||
|
||||
input BlockOrderInput {
|
||||
|
||||
Reference in New Issue
Block a user