Now pricing all vaps on the order not just available vaps
This commit is contained in:
parent
0892af29f5
commit
7886fda833
1 changed files with 2 additions and 0 deletions
|
|
@ -156,12 +156,14 @@ export default {
|
||||||
const lineItemsFromStore = deepClone(store.getters.order.lineItems);
|
const lineItemsFromStore = deepClone(store.getters.order.lineItems);
|
||||||
const glassParts = lineItemsFromStore.glassParts ?? [];
|
const glassParts = lineItemsFromStore.glassParts ?? [];
|
||||||
const supportingItems = lineItemsFromStore.supportingItems ?? [];
|
const supportingItems = lineItemsFromStore.supportingItems ?? [];
|
||||||
|
const vaps = lineItemsFromStore.vaps ?? [];
|
||||||
|
|
||||||
const lineItemsToTax = [
|
const lineItemsToTax = [
|
||||||
resultMap.rainDefense,
|
resultMap.rainDefense,
|
||||||
...supportingItems,
|
...supportingItems,
|
||||||
...resultMap.wipers,
|
...resultMap.wipers,
|
||||||
...glassParts,
|
...glassParts,
|
||||||
|
...vaps,
|
||||||
];
|
];
|
||||||
const availableVaps = [resultMap.rainDefense, ...resultMap.wipers];
|
const availableVaps = [resultMap.rainDefense, ...resultMap.wipers];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue