From 374b97bcb6fe5df4aebc408656bc184a5d038413 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 12 Sep 2024 09:23:11 -0400 Subject: [PATCH] CSR-2179: fixes from PR --- src/fmg-components/cart/cart.vue | 5 ----- src/layouts/quote/quote.vue | 14 +++++++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index c791e3941..d0f4d6ed4 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -999,11 +999,6 @@ export default { }, subTotal() { if (!this.lineItems || this.lineItems.length < 1) return; - if (this.isInsurance || !this.shouldHideRecalibration) { - console.log(" first this.lineItems: ", this.lineItems) - } else { - console.log(" 2nd this.lineItemsWithoutRecal: ", this.lineItemsWithoutRecal) - } return this.isInsurance || !this.shouldHideRecalibration ? baseMixin.methods.getSubTotal(this.lineItems) // calculate with recal (if on order) : baseMixin.methods.getSubTotal(this.lineItemsWithoutRecal); // calculated without recal diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 88ea3ddc7..3d539e630 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -44,9 +44,7 @@
@@ -54,7 +52,7 @@ @@ -232,7 +230,7 @@ export default { pageName: to.query.fmgPage, experiment: experimentForLogging, }, - "vehicle", + "quote", false ); } @@ -367,6 +365,12 @@ export default { ); return recalSettingValue; }, + showAfterpayBanner() { + return !this.isInsuranceSelected && (!this.isRecalibrationOnOrder || !this.shouldHideRecalibration) + }, + showRecalDisclaimer() { + return this.isRecalibrationOnOrder && this.shouldHideRecalibration + }, }, methods: { openModalAction(modalName) {