From 295ef1a3873613fe678f15e36a2405c75ac3a8ea Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Tue, 9 Jan 2024 15:35:22 -0500 Subject: [PATCH] CSR-1910 fix background color of subtotal row. --- src/fmg-components/cart/cart.vue | 2 +- src/layouts/confirmation/confirmation.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index cd50a8fda..2d268e81a 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -834,7 +834,7 @@ export default { display: flex; justify-content: space-between; padding: 0.5rem 1.5rem; - &:nth-last-child(-n + 3) { + &:nth-last-child(-n + 4) { background-color: $green-100; } &:last-child { diff --git a/src/layouts/confirmation/confirmation.vue b/src/layouts/confirmation/confirmation.vue index 45c73f096..d9fe2e479 100644 --- a/src/layouts/confirmation/confirmation.vue +++ b/src/layouts/confirmation/confirmation.vue @@ -145,6 +145,8 @@ export default { computed: { ShowCart() { if (this.isPia && store.getters.submittedOrder.settledTenderAmount == 0) { + // settleTenderAmount always shows 0 via localhost or dev. + // Temporarily set return true to see cart in localhost or dev environment return false; }