chore(core-flows): order transactions (#8568)
What: - Add order transaction when Cart is completed and payment is refunded
This commit is contained in:
committed by
GitHub
parent
24985cf89d
commit
96bdf3e2c6
@@ -50,9 +50,6 @@ function updateReturnItems(returnEntry, items) {
|
||||
const data = items.find((i) => i.details.reference_id === item.item_id)
|
||||
if (!data) return
|
||||
|
||||
console.log("ITEM: ", item)
|
||||
console.log("DATA: ", data)
|
||||
|
||||
const receivedQuantity = MathBN.add(
|
||||
item.received_quantity || 0,
|
||||
data.details.quantity
|
||||
|
||||
Reference in New Issue
Block a user