Revert "WIP add store actions for recal ack."
This reverts commit 4db562212b.
This commit is contained in:
parent
4db562212b
commit
dce4c07260
3 changed files with 13 additions and 29 deletions
|
|
@ -81,7 +81,6 @@ const storeActions = {
|
||||||
SAVE_CAPABILITY_QUESTION_ANSWERS: "saveCapabilityQuestionAnswers",
|
SAVE_CAPABILITY_QUESTION_ANSWERS: "saveCapabilityQuestionAnswers",
|
||||||
SAVE_PAYMENT_TYPE: "savePaymentType",
|
SAVE_PAYMENT_TYPE: "savePaymentType",
|
||||||
SAVE_PAYMENT_METHOD_CHOICE: "savePaymentMethodChoice",
|
SAVE_PAYMENT_METHOD_CHOICE: "savePaymentMethodChoice",
|
||||||
SAVE_RECAL_ACK_CHOICE: "saveRecalAckChoice",
|
|
||||||
SAVE_PARENT_ACCOUNT_NUMBER: "saveParentAccountNumber",
|
SAVE_PARENT_ACCOUNT_NUMBER: "saveParentAccountNumber",
|
||||||
SAVE_BILL_TO_ACCOUNT_NUMBER: "saveBillToAccountNumber",
|
SAVE_BILL_TO_ACCOUNT_NUMBER: "saveBillToAccountNumber",
|
||||||
SAVE_SUPPORTING_ITEMS: "saveSupportingItems",
|
SAVE_SUPPORTING_ITEMS: "saveSupportingItems",
|
||||||
|
|
|
||||||
|
|
@ -84,9 +84,7 @@
|
||||||
@back-clicked="backButtonAction"
|
@back-clicked="backButtonAction"
|
||||||
@ForwardClicked="forwardButtonAction" />
|
@ForwardClicked="forwardButtonAction" />
|
||||||
|
|
||||||
<contentGroupModal ref="RecalModal"
|
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
||||||
cmsWidgetName="RecalModal"
|
|
||||||
class="recal-modal" />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -491,13 +489,6 @@ export default {
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
// save recalibration acknowledgement checkbox
|
|
||||||
await this.dispatchStoreAction(
|
|
||||||
storeActions.SAVE_RECAL_ACK_CHOICE,
|
|
||||||
this.paymentMethod,
|
|
||||||
false
|
|
||||||
);
|
|
||||||
|
|
||||||
// save lineitems as they now have salestax added
|
// save lineitems as they now have salestax added
|
||||||
await this.dispatchStoreAction(
|
await this.dispatchStoreAction(
|
||||||
storeActions.SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING,
|
storeActions.SAVE_GLASS_PARTS_SUPPRESSING_STATE_RESETTING,
|
||||||
|
|
@ -742,20 +733,18 @@ export default {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.payment-method {
|
.payment-method {
|
||||||
.recal-modal {
|
:deep(.modal-body) {
|
||||||
:deep(.modal-body) {
|
display: flex;
|
||||||
display: flex;
|
flex-direction: column;
|
||||||
flex-direction: column;
|
h5 {
|
||||||
h5 {
|
text-align: center;
|
||||||
text-align: center;
|
order: 1;
|
||||||
order: 1;
|
}
|
||||||
}
|
p {
|
||||||
p {
|
order: 3
|
||||||
order: 3
|
}
|
||||||
}
|
img {
|
||||||
img {
|
order: 2;
|
||||||
order: 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2222,10 +2222,6 @@ export const actions = {
|
||||||
context.commit(storeMutations.UPDATE_BILL_TO_ACCT_NUMBER, billToAccountNumber);
|
context.commit(storeMutations.UPDATE_BILL_TO_ACCT_NUMBER, billToAccountNumber);
|
||||||
},
|
},
|
||||||
|
|
||||||
saveRecalAckChoice(context, recalAckChoice) {
|
|
||||||
context.commit(storeMutations.SAVE_RECAL_ACK_CHOICE, recalAckChoice);
|
|
||||||
},
|
|
||||||
|
|
||||||
saveSupportingItems(context, supportingItems) {
|
saveSupportingItems(context, supportingItems) {
|
||||||
syncLineItemIds(supportingItems, context.state.order.lineItems.supportingItems);
|
syncLineItemIds(supportingItems, context.state.order.lineItems.supportingItems);
|
||||||
if (!supportingItemsEqual(supportingItems, context.state.order.lineItems.supportingItems)) {
|
if (!supportingItemsEqual(supportingItems, context.state.order.lineItems.supportingItems)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue