Tech review changes
This commit is contained in:
parent
adbbd4f15d
commit
57bffe1334
2 changed files with 7 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ const partTypeStrings = {
|
|||
REAR_WIPER: "REAR WIPER",
|
||||
RAIN_DEFENSE: "RAIN DEFENSE",
|
||||
RECALIBRATION: "RECALIBRATION",
|
||||
REPLACE_FEE: "REPLACE FEE",
|
||||
RECYCLE_FEE: "RECYCLE FEE",
|
||||
MOBILE_FEE: "MOBILE FEE",
|
||||
REPAIR_FEE: "REPAIR FEE",
|
||||
|
|
|
|||
|
|
@ -222,6 +222,9 @@ export default {
|
|||
salesTax: promoLineItem.salesTax,
|
||||
};
|
||||
|
||||
promoLineItem.cartItemType = cartItem.cartItemType;
|
||||
cartItem.lineItems.push(lineItem);
|
||||
|
||||
cartItems.push(cartItem);
|
||||
});
|
||||
|
||||
|
|
@ -467,14 +470,14 @@ export default {
|
|||
let cartItem = null;
|
||||
|
||||
const recycleFeeLineItem = this.supportingItems.find(
|
||||
(supportingItem) => supportingItem.partType == partTypeStrings.RECYCLE_FEE
|
||||
(supportingItem) => supportingItem.partType == partTypeStrings.REPLACE_FEE
|
||||
);
|
||||
|
||||
console.log(recycleFeeLineItem);
|
||||
if (recycleFeeLineItem) {
|
||||
cartItem = {
|
||||
name: this.recycleFeeCartItemName,
|
||||
category: cartItemCategories.SUPPORTING_ITEMS,
|
||||
cartItemType: cartItemTypes.RECYCLE_FEE,
|
||||
cartItemType: cartItemTypes.REPLACE_FEE,
|
||||
isDisplayed: true,
|
||||
isRemovable: false,
|
||||
subTotal: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue