fix: swaps with discounts (#142)

This commit is contained in:
Sebastian Rindom
2020-11-29 12:18:36 +01:00
committed by GitHub
parent 9dbb40e287
commit aae8d5e112
4 changed files with 21 additions and 5 deletions
@@ -546,7 +546,7 @@ class BrightpearlService extends BaseService {
},
rows: await this.getBrightpearlRows({
region_id: fromOrder.region_id,
discounts: [],
discounts: fromOrder.discounts,
tax_rate: fromOrder.tax_rate,
items: fromSwap.additional_items,
shipping_methods: fromSwap.shipping_methods,