Merge pull request #2613 from Safelite/feature/CASH-952
CASH-952: Remove VAPS from price and unused method.
This commit is contained in:
commit
2c28011b4e
1 changed files with 0 additions and 11 deletions
|
|
@ -101,11 +101,6 @@ export default {
|
||||||
baseMixin.methods.filterOutFees(allLineItems)
|
baseMixin.methods.filterOutFees(allLineItems)
|
||||||
);
|
);
|
||||||
|
|
||||||
let vapsLineItemsForSelectedPackage = this.lineItems.vaps;
|
|
||||||
vapsLineItemsForSelectedPackage.forEach((lineItem) => {
|
|
||||||
price += baseMixin.methods.getTotalLineItemPrice(lineItem);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (this.lineItems.promos) {
|
if (this.lineItems.promos) {
|
||||||
let allLineItems = getArrayOfAllLineItemsAndChildParts(this.lineItems);
|
let allLineItems = getArrayOfAllLineItemsAndChildParts(this.lineItems);
|
||||||
const promos = getPromosThatMatchLineItemsOnOrder(
|
const promos = getPromosThatMatchLineItemsOnOrder(
|
||||||
|
|
@ -119,12 +114,6 @@ export default {
|
||||||
|
|
||||||
return price;
|
return price;
|
||||||
},
|
},
|
||||||
afterpayPrice() {
|
|
||||||
let price = this.getTierOnePackagePrice;
|
|
||||||
const adjusted = (price / 4).toFixed(2);
|
|
||||||
|
|
||||||
return `$${adjusted}`;
|
|
||||||
},
|
|
||||||
showAfterpayExtendedPayOption() {
|
showAfterpayExtendedPayOption() {
|
||||||
return (
|
return (
|
||||||
this.afterpayExtendedPayOptionThreshold &&
|
this.afterpayExtendedPayOptionThreshold &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue