From 7886fda8335ab964f8e47c5738deac25934d7fa6 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 7 Dec 2023 13:56:07 -0500 Subject: [PATCH] Now pricing all vaps on the order not just available vaps --- src/layouts/payment-method/payment-method.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index a480752e3..39541db02 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -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];