From f713cb2bd205e252ac279f35452552b1bfa04f3a Mon Sep 17 00:00:00 2001
From: CarlNation <32103961+CarlNation@users.noreply.github.com>
Date: Mon, 12 Feb 2024 15:41:43 -0500
Subject: [PATCH] CSR-1952 revert
CSR-1952 see if revert fixes page hanging
---
src/fmg-components/cart/cart.vue | 195 +++++++-----------
src/layouts/payment-method/payment-method.vue | 10 +-
2 files changed, 82 insertions(+), 123 deletions(-)
diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue
index 0e6d993ee..65701db71 100644
--- a/src/fmg-components/cart/cart.vue
+++ b/src/fmg-components/cart/cart.vue
@@ -13,101 +13,78 @@
{{ getFormattedAmount("", amountDue) }}
-
-
-
-
-
- {{ getFormattedAmount("", packagePrice) }}
-
-
-
-
-
- <{{ cartItem.name
- }}>
-
-
- {{ cartItem.name }}
-
-
-
-
-
-
- {{ cartItem.name }}
-
-
-
- {{ recycleFeeCartItem.name }}
-
- {{ getFormattedAmount(cartItem.category, cartItem.subTotal) }}
-
-
-
-
- {{ subtotalText }}{{ getFormattedAmount("", subTotal) }}
-
-
- {{ salesTaxText }}{{ getFormattedAmount("", salesTax) }}
-
-
- {{ amountPaidText }}{{ getFormattedAmount("", amountPaid) }}
-
-
- {{ amountDueText }}{{ getFormattedAmount("", amountDue) }}
-
+
+
+
+
+ {{ getFormattedAmount("", packagePrice) }}
+
+
+
+
+
+ {{ cartItem.name }}
+
+
+ {{ cartItem.name }}
+
+
+
+
+
+
+ {{ cartItem.name }}
+
+
+
+ {{ recycleFeeCartItem.name }}
+
+ {{ getFormattedAmount(cartItem.category, cartItem.subTotal) }}
+
+
+
+
+ {{ subtotalText }}{{ getFormattedAmount("", subTotal) }}
+
+
+ {{ salesTaxText }}{{ getFormattedAmount("", salesTax) }}
+
+
+ {{ amountPaidText }}{{ getFormattedAmount("", amountPaid) }}
+
+
+ {{ amountDueText }}{{ getFormattedAmount("", amountDue) }}
-
-
- Promo code <{{ promoCode }}> applied
-
@@ -119,7 +96,6 @@
import textLink from "@/ux-components/text-link/text-link";
import textBlock from "@/digital-components/text-block/text-block";
import contentGroupModal from "@/fmg-components/content-group-modal/content-group-modal";
-import promoModalQuestion from "@/layouts/payment-method/promo-modal-question/promo-modal-question";
// Mixins
import baseMixin from "@/mixins/base-mixin.js";
@@ -222,12 +198,6 @@ export default {
this.$emit("update:modelValue", this.lineItems);
},
- getPromoCodeList() {
- if (this.$refs["promoModalQuestion"]) {
- return this.$refs["promoModalQuestion"].getPromoCodeList();
- }
- return [];
- },
},
computed: {
screenReaderTotalAmountDueText() {
@@ -826,23 +796,16 @@ export default {
},
deep: true,
},
- lineItems: {
- handler(newValue) {
- this.$emit("update:modelValue", this.lineItems);
- },
- deep: true,
- },
},
components: {
textBlock,
textLink,
contentGroupModal,
- promoModalQuestion,
},
};
-