CSR-1981 prettier
This commit is contained in:
parent
92e8ab0965
commit
2ee87ebcfb
2 changed files with 19 additions and 5 deletions
|
|
@ -792,7 +792,7 @@ export default {
|
|||
cartItem.salesTax += mobileFeeLineItem.salesTax ?? 0;
|
||||
}
|
||||
return cartItem;
|
||||
},
|
||||
},
|
||||
servicePackageDiscountCartItemName() {
|
||||
return this.getCmsContent("ServicePackageDiscountTextWidget", "Text");
|
||||
},
|
||||
|
|
|
|||
|
|
@ -309,9 +309,11 @@ export default {
|
|||
}
|
||||
},
|
||||
mobileFeeApplies() {
|
||||
if (this.mobileFeePart?.laborAmount > 0 ||
|
||||
if (
|
||||
this.mobileFeePart?.laborAmount > 0 ||
|
||||
this.mobileFeePart?.sellingPrice > 0 ||
|
||||
this.mobileFeePart?.kitPrice > 0) {
|
||||
this.mobileFeePart?.kitPrice > 0
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
@ -385,7 +387,14 @@ export default {
|
|||
) {
|
||||
return true;
|
||||
} else {
|
||||
console.log("ins: servce-location invalid prereq:" + store.getters.payment.parentAccountNumber + ":" + store.getters.order.policy.policyNumber + ":" + store.getters.order.serviceLocation.zipCode);
|
||||
console.log(
|
||||
"ins: servce-location invalid prereq:" +
|
||||
store.getters.payment.parentAccountNumber +
|
||||
":" +
|
||||
store.getters.order.policy.policyNumber +
|
||||
":" +
|
||||
store.getters.order.serviceLocation.zipCode
|
||||
);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -395,7 +404,12 @@ export default {
|
|||
) {
|
||||
return true;
|
||||
} else {
|
||||
console.log("cash: servce-location invalid prereq:" + JSON.stringify(store.getters.lineItems.supportingItems) + ":" + store.getters.order.serviceLocation.zipCode);
|
||||
console.log(
|
||||
"cash: servce-location invalid prereq:" +
|
||||
JSON.stringify(store.getters.lineItems.supportingItems) +
|
||||
":" +
|
||||
store.getters.order.serviceLocation.zipCode
|
||||
);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue