Format code.
This commit is contained in:
parent
4112f09e46
commit
5bb2bf0bdd
2 changed files with 7 additions and 4 deletions
|
|
@ -87,7 +87,10 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.lineItems.promos) {
|
if (this.lineItems.promos) {
|
||||||
const promos = getPromosThatMatchLineItemsOnOrder(this.lineItems.promos, allLineItems);
|
const promos = getPromosThatMatchLineItemsOnOrder(
|
||||||
|
this.lineItems.promos,
|
||||||
|
allLineItems
|
||||||
|
);
|
||||||
promos.forEach((promo) => {
|
promos.forEach((promo) => {
|
||||||
price += baseMixin.methods.getTotalLineItemPrice(promo);
|
price += baseMixin.methods.getTotalLineItemPrice(promo);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue