fix(chore-flows): update shipping method price (#8592)
This commit is contained in:
@@ -102,6 +102,7 @@ export const updateClaimShippingMethodWorkflow = createWorkflow(
|
|||||||
|
|
||||||
const action = {
|
const action = {
|
||||||
id: originalAction.id,
|
id: originalAction.id,
|
||||||
|
amount: data.custom_price,
|
||||||
internal_note: data.internal_note,
|
internal_note: data.internal_note,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
@@ -106,6 +106,7 @@ export const updateExchangeShippingMethodWorkflow = createWorkflow(
|
|||||||
|
|
||||||
const action = {
|
const action = {
|
||||||
id: originalAction.id,
|
id: originalAction.id,
|
||||||
|
amount: data.custom_price,
|
||||||
internal_note: data.internal_note,
|
internal_note: data.internal_note,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
@@ -89,6 +89,7 @@ export const updateOrderEditShippingMethodWorkflow = createWorkflow(
|
|||||||
|
|
||||||
const action = {
|
const action = {
|
||||||
id: originalAction.id,
|
id: originalAction.id,
|
||||||
|
amount: data.custom_price,
|
||||||
internal_note: data.internal_note,
|
internal_note: data.internal_note,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -89,7 +89,11 @@ export const updateReturnShippingMethodWorkflow = createWorkflow(
|
|||||||
list: false,
|
list: false,
|
||||||
}).config({ name: "order-change-query" })
|
}).config({ name: "order-change-query" })
|
||||||
|
|
||||||
updateReturnShippingMethodValidationStep({ orderReturn, orderChange, input })
|
updateReturnShippingMethodValidationStep({
|
||||||
|
orderReturn,
|
||||||
|
orderChange,
|
||||||
|
input,
|
||||||
|
})
|
||||||
|
|
||||||
const updateData = transform(
|
const updateData = transform(
|
||||||
{ orderChange, input },
|
{ orderChange, input },
|
||||||
@@ -102,6 +106,7 @@ export const updateReturnShippingMethodWorkflow = createWorkflow(
|
|||||||
|
|
||||||
const action = {
|
const action = {
|
||||||
id: originalAction.id,
|
id: originalAction.id,
|
||||||
|
amount: data.custom_price,
|
||||||
internal_note: data.internal_note,
|
internal_note: data.internal_note,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user