Edit order pricing inline

This commit is contained in:
Ruslan Bakiev
2026-04-04 11:16:16 +07:00
parent 7dc0f59ffb
commit 8c5e95b730
8 changed files with 245 additions and 18 deletions

View File

@@ -14,6 +14,8 @@ query ManagerOrders($status: OrderStatus, $customerId: ID) {
id
productName
quantity
unitPrice
lineTotal
}
}
}

View File

@@ -4,6 +4,12 @@ mutation ManagerSetOrderOffer($input: SetOrderOfferInput!) {
code
status
deliveryTerms
deliveryFee
totalPrice
items {
id
unitPrice
lineTotal
}
}
}

View File

@@ -7,11 +7,14 @@ query MyOrders {
deliveryAddress
totalPrice
deliveryTerms
deliveryFee
createdAt
items {
id
productName
quantity
unitPrice
lineTotal
}
}
}

View File

@@ -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 {