Formatting
This commit is contained in:
parent
ab507a9280
commit
fa16142627
2 changed files with 5 additions and 5 deletions
|
|
@ -230,7 +230,7 @@ export default {
|
|||
(promoLineItem?.laborAmount ?? 0) +
|
||||
(promoLineItem?.sellingPrice ?? 0),
|
||||
salesTax: promoLineItem?.salesTax,
|
||||
lineItems:[],
|
||||
lineItems: [],
|
||||
};
|
||||
|
||||
promoLineItem.cartItemType = cartItem.cartItemType;
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ export default {
|
|||
this.displayInvalidPromoAlert = true;
|
||||
this.focusOnPromoInput();
|
||||
this.resetModalButtonStyle();
|
||||
} else {
|
||||
} else {
|
||||
const pricedLineItemsToTax = [];
|
||||
pricedLineItemsToTax.push(...promoCodeData.promoCode);
|
||||
const taxedLineItems =
|
||||
|
|
@ -197,7 +197,7 @@ export default {
|
|||
serviceLocationState: store.getters.order.serviceLocation.state,
|
||||
serviceLocationZipCode:
|
||||
store.getters.order.serviceLocation.zipCode,
|
||||
pricedLineItems:pricedLineItemsToTax,
|
||||
pricedLineItems: pricedLineItemsToTax,
|
||||
},
|
||||
"payment-method",
|
||||
false
|
||||
|
|
@ -212,7 +212,7 @@ export default {
|
|||
taxedLineItems,
|
||||
this.availableVaps
|
||||
);
|
||||
|
||||
|
||||
const getVaps = getVapsThatNeedToBeAddedToSatisfyPromos(
|
||||
promoCodeData.promoCode,
|
||||
taxedVaps,
|
||||
|
|
@ -229,7 +229,7 @@ export default {
|
|||
type: "alert-success",
|
||||
isDismissible: true,
|
||||
});
|
||||
this.promoCode = "";
|
||||
this.promoCode = "";
|
||||
}
|
||||
} else {
|
||||
this.displayInvalidPromoAlert = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue