Skip to content

Commit

Permalink
Improved: code to pass reason map when cancelling order item(hotwax#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 8, 2025
1 parent fcf3c8a commit b0f4944
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ConfirmCancelModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export default defineComponent({
orderItemSeqId: item.orderItemSeqId,
shipGroupSeqId: item.shipGroupSeqId,
cancelQuantity: item.quantity ? parseInt(item.quantity) : 1,
itemReasonMap: {
[item.orderItemSeqId]: item.cancelReason
}
}
try {
Expand Down

0 comments on commit b0f4944

Please sign in to comment.