This commit is contained in:
CarlNation 2024-02-07 15:33:34 -05:00
parent 48bb6ed7e7
commit 68b1cbc3c7
2 changed files with 12 additions and 8 deletions

View file

@ -16,7 +16,11 @@ export async function getPricedMobileFeePart(serviceZipCode, pageNameToLog) {
false
);
if (mobileFeePart.data === null || mobileFeePart.data === undefined || mobileFeePart.data === "") {
if (
mobileFeePart.data === null ||
mobileFeePart.data === undefined ||
mobileFeePart.data === ""
) {
return null;
}

View file

@ -352,14 +352,14 @@ export default {
// insurance drops the recycle fee on replace orders so it won't be in supportingItems
if (store.getters.payment.isInsurance && !store.getters.order.damage.isRepair) {
return (
store.getters.order.serviceLocation.zipCode !== null &&
store.getters.payment.isInsurance !== null);
}
else {
store.getters.order.serviceLocation.zipCode !== null &&
store.getters.payment.isInsurance !== null
);
} else {
return (
store.getters.lineItems.supportingItems !== null &&
store.getters.order.serviceLocation.zipCode !== null &&
store.getters.payment.isInsurance !== null
store.getters.lineItems.supportingItems !== null &&
store.getters.order.serviceLocation.zipCode !== null &&
store.getters.payment.isInsurance !== null
);
}
},