feat(core-flows): request return on order exchanges and claims (#8107)
FIXES: CC-92, CC-87
This commit is contained in:
1 parent
136da3f3ce
commit
4321241553
25 files changed
+695
-69
No files matched your search
@@ -97,7 +97,7 @@ function cleanNestedRelations(obj) {
|
||||
}
|
||||
|
||||
function formatOrderReturn(orderReturn, mainOrder) {
|
||||
orderReturn.items.forEach((orderItem) => {
|
||||
orderReturn.items?.forEach((orderItem) => {
|
||||
const item = mainOrder.items?.find((item) => item.id === orderItem.item_id)
|
||||
|
||||
orderItem.detail = item?.detail
|
||||
|
||||
Reference in new issue
Block a user