ti2-tourplan 1.0.24 → 1.0.25
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.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -288,7 +288,7 @@ class Plugin {
|
|
|
288
288
|
const allotmentResponse = [];
|
|
289
289
|
allotment.forEach(currentAllotment => {
|
|
290
290
|
const appliesToCode = R.path(['AllocationAppliesTo', 0, 'AllocationType', 0], currentAllotment);
|
|
291
|
-
const optionCodes = R.
|
|
291
|
+
const optionCodes = R.pathOr([], ['AllocationAppliesTo', 0, 'OptionCode'], currentAllotment);
|
|
292
292
|
const supplierCode = R.path(['SupplierCode', 0], currentAllotment);
|
|
293
293
|
const appliesTo = {
|
|
294
294
|
S: 'Supplier',
|