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 glassParts = lineItemsFromStore.glassParts ?? [];
|
||||
const supportingItems = lineItemsFromStore.supportingItems ?? [];
|
||||
const vaps = lineItemsFromStore.vaps ?? [];
|
||||
|
||||
const lineItemsToTax = [
|
||||
resultMap.rainDefense,
|
||||
...supportingItems,
|
||||
...resultMap.wipers,
|
||||
...glassParts,
|
||||
...vaps,
|
||||
];
|
||||
const availableVaps = [resultMap.rainDefense, ...resultMap.wipers];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue