shareneus 1.7.330 → 1.7.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -170,6 +170,7 @@ function CalculatePriceBasedOnPriceList(item, priceList, includeMargin, quantity
|
|
|
170
170
|
if (includeMargin && (0, util_1.IsNotNull)(batch.Cost)) {
|
|
171
171
|
batch.Margin = (0, math_operations_1.GetMarginValue)(batch.Price, batch.Cost);
|
|
172
172
|
}
|
|
173
|
+
console.log('element batch', batch);
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
}
|
|
@@ -217,6 +218,7 @@ function CalculatePriceBasedOnPriceList(item, priceList, includeMargin, quantity
|
|
|
217
218
|
}
|
|
218
219
|
}
|
|
219
220
|
}
|
|
221
|
+
console.log('item after price list application', item);
|
|
220
222
|
return item;
|
|
221
223
|
}
|
|
222
224
|
function ApplyRounding(price, priceList) {
|
package/package.json
CHANGED
|
@@ -202,6 +202,7 @@ function CalculatePriceBasedOnPriceList(
|
|
|
202
202
|
if (includeMargin && IsNotNull(batch.Cost)) {
|
|
203
203
|
batch.Margin = GetMarginValue(batch.Price, batch.Cost);
|
|
204
204
|
}
|
|
205
|
+
console.log('element batch', batch);
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
}
|
|
@@ -250,7 +251,7 @@ function CalculatePriceBasedOnPriceList(
|
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
253
|
}
|
|
253
|
-
|
|
254
|
+
console.log('item after price list application', item);
|
|
254
255
|
return item;
|
|
255
256
|
}
|
|
256
257
|
|