More tidying
This commit is contained in:
parent
c3228fb7a8
commit
8def9a7d07
1 changed files with 4 additions and 2 deletions
|
|
@ -296,8 +296,10 @@ export default {
|
|||
return this.getCartItemForVapsPart(partTypeStrings.RAIN_DEFENSE);
|
||||
},
|
||||
packagePrice() {
|
||||
const vapsInPackage = this.vapsInOrder.filter((vap) => this.partTypesInServicePackage.includes(vap.partType));
|
||||
return getPriceOfLineItems(vapsInPackage);
|
||||
return this.servicePackageCartItems.reduce(
|
||||
(accumulator, cartItem) => accumulator + cartItem.subTotal,
|
||||
0
|
||||
);
|
||||
},
|
||||
amountDueLabel() {
|
||||
return this.getCmsContent(this.widget.amountDue, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue