From dce4c0726034683339c542530ea71f8668a247f5 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Tue, 25 Jun 2024 10:26:17 -0400 Subject: [PATCH] Revert "WIP add store actions for recal ack." This reverts commit 4db562212b1339b6d824e58e26dc686df23d4e70. --- src/constants/store-actions.js | 1 - src/layouts/payment-method/payment-method.vue | 37 +++++++------------ src/store/index.js | 4 -- 3 files changed, 13 insertions(+), 29 deletions(-) diff --git a/src/constants/store-actions.js b/src/constants/store-actions.js index 6b3adc110..bd772cafe 100644 --- a/src/constants/store-actions.js +++ b/src/constants/store-actions.js @@ -81,7 +81,6 @@ const storeActions = { SAVE_CAPABILITY_QUESTION_ANSWERS: "saveCapabilityQuestionAnswers", SAVE_PAYMENT_TYPE: "savePaymentType", SAVE_PAYMENT_METHOD_CHOICE: "savePaymentMethodChoice", - SAVE_RECAL_ACK_CHOICE: "saveRecalAckChoice", SAVE_PARENT_ACCOUNT_NUMBER: "saveParentAccountNumber", SAVE_BILL_TO_ACCOUNT_NUMBER: "saveBillToAccountNumber", SAVE_SUPPORTING_ITEMS: "saveSupportingItems", diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 0b0ce2af4..c9e8ffcdf 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -84,9 +84,7 @@ @back-clicked="backButtonAction" @ForwardClicked="forwardButtonAction" /> - + @@ -491,13 +489,6 @@ export default { false ); - // save recalibration acknowledgement checkbox - await this.dispatchStoreAction( - storeActions.SAVE_RECAL_ACK_CHOICE, - this.paymentMethod, - false - ); - // save lineitems as they now have salestax added await this.dispatchStoreAction( storeActions.SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING, @@ -742,20 +733,18 @@ export default { margin: 0; } .payment-method { - .recal-modal { - :deep(.modal-body) { - display: flex; - flex-direction: column; - h5 { - text-align: center; - order: 1; - } - p { - order: 3 - } - img { - order: 2; - } + :deep(.modal-body) { + display: flex; + flex-direction: column; + h5 { + text-align: center; + order: 1; + } + p { + order: 3 + } + img { + order: 2; } } } diff --git a/src/store/index.js b/src/store/index.js index fc4557458..3ccfa4c01 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2222,10 +2222,6 @@ export const actions = { context.commit(storeMutations.UPDATE_BILL_TO_ACCT_NUMBER, billToAccountNumber); }, - saveRecalAckChoice(context, recalAckChoice) { - context.commit(storeMutations.SAVE_RECAL_ACK_CHOICE, recalAckChoice); - }, - saveSupportingItems(context, supportingItems) { syncLineItemIds(supportingItems, context.state.order.lineItems.supportingItems); if (!supportingItemsEqual(supportingItems, context.state.order.lineItems.supportingItems)) {