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",
|
REAR_WIPER: "REAR WIPER",
|
||||||
RAIN_DEFENSE: "RAIN DEFENSE",
|
RAIN_DEFENSE: "RAIN DEFENSE",
|
||||||
RECALIBRATION: "RECALIBRATION",
|
RECALIBRATION: "RECALIBRATION",
|
||||||
|
REPLACE_FEE: "REPLACE FEE",
|
||||||
RECYCLE_FEE: "RECYCLE FEE",
|
RECYCLE_FEE: "RECYCLE FEE",
|
||||||
MOBILE_FEE: "MOBILE FEE",
|
MOBILE_FEE: "MOBILE FEE",
|
||||||
REPAIR_FEE: "REPAIR FEE",
|
REPAIR_FEE: "REPAIR FEE",
|
||||||
|
|
|
||||||
|
|
@ -222,6 +222,9 @@ export default {
|
||||||
salesTax: promoLineItem.salesTax,
|
salesTax: promoLineItem.salesTax,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
promoLineItem.cartItemType = cartItem.cartItemType;
|
||||||
|
cartItem.lineItems.push(lineItem);
|
||||||
|
|
||||||
cartItems.push(cartItem);
|
cartItems.push(cartItem);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -467,14 +470,14 @@ export default {
|
||||||
let cartItem = null;
|
let cartItem = null;
|
||||||
|
|
||||||
const recycleFeeLineItem = this.supportingItems.find(
|
const recycleFeeLineItem = this.supportingItems.find(
|
||||||
(supportingItem) => supportingItem.partType == partTypeStrings.RECYCLE_FEE
|
(supportingItem) => supportingItem.partType == partTypeStrings.REPLACE_FEE
|
||||||
);
|
);
|
||||||
|
console.log(recycleFeeLineItem);
|
||||||
if (recycleFeeLineItem) {
|
if (recycleFeeLineItem) {
|
||||||
cartItem = {
|
cartItem = {
|
||||||
name: this.recycleFeeCartItemName,
|
name: this.recycleFeeCartItemName,
|
||||||
category: cartItemCategories.SUPPORTING_ITEMS,
|
category: cartItemCategories.SUPPORTING_ITEMS,
|
||||||
cartItemType: cartItemTypes.RECYCLE_FEE,
|
cartItemType: cartItemTypes.REPLACE_FEE,
|
||||||
isDisplayed: true,
|
isDisplayed: true,
|
||||||
isRemovable: false,
|
isRemovable: false,
|
||||||
subTotal: 0,
|
subTotal: 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue