Merge branch 'release/2025.04.24' into feature/CASH-489
This commit is contained in:
commit
f53da0f62e
4 changed files with 29 additions and 24 deletions
|
|
@ -301,7 +301,7 @@ export default {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
this.displayInvalidZipAlert = false;
|
this.displayInvalidZipAlert = false;
|
||||||
if (this.serviceZipCode != null) {
|
if (this.serviceZipCode != null && this.isHeavyTruck) {
|
||||||
const closestShops = await this.findClosestApplicableShops(
|
const closestShops = await this.findClosestApplicableShops(
|
||||||
this.serviceZipCode,
|
this.serviceZipCode,
|
||||||
this.carId
|
this.carId
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ export default {
|
||||||
this.displayInvalidZipAlert = true;
|
this.displayInvalidZipAlert = true;
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
|
if (this.isHeavyTruck) {
|
||||||
const closestShops = await this.findClosestApplicableShops(
|
const closestShops = await this.findClosestApplicableShops(
|
||||||
this.serviceZipCode,
|
this.serviceZipCode,
|
||||||
this.carId
|
this.carId
|
||||||
|
|
@ -290,6 +290,7 @@ export default {
|
||||||
if (this.displayNoServiceAlert) {
|
if (this.displayNoServiceAlert) {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Check if the CarId has changed.
|
// Check if the CarId has changed.
|
||||||
this.isCarIdDifferent =
|
this.isCarIdDifferent =
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,7 @@ export default {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
this.displayNonServiceableZipAlert = false;
|
this.displayNonServiceableZipAlert = false;
|
||||||
|
if (this.isHeavyTruck) {
|
||||||
const closestShops = await this.findClosestApplicableShops(
|
const closestShops = await this.findClosestApplicableShops(
|
||||||
this.serviceZipCode,
|
this.serviceZipCode,
|
||||||
this.carId
|
this.carId
|
||||||
|
|
@ -284,6 +285,7 @@ export default {
|
||||||
if (this.displayNoServiceAlert) {
|
if (this.displayNoServiceAlert) {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const payment = this.$store.getters.payment;
|
const payment = this.$store.getters.payment;
|
||||||
const policy = this.$store.getters.policy;
|
const policy = this.$store.getters.policy;
|
||||||
|
|
|
||||||
|
|
@ -303,6 +303,7 @@ export default {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
this.displayInvalidZipAlert = false;
|
this.displayInvalidZipAlert = false;
|
||||||
|
if (this.isHeavyTruck) {
|
||||||
// If a VIN has already been found. Validate the Service Zip (in case of changes)
|
// If a VIN has already been found. Validate the Service Zip (in case of changes)
|
||||||
var closestShops = await this.findClosestApplicableShops(
|
var closestShops = await this.findClosestApplicableShops(
|
||||||
this.serviceZipCode,
|
this.serviceZipCode,
|
||||||
|
|
@ -312,6 +313,7 @@ export default {
|
||||||
if (this.displayNoServiceAlert) {
|
if (this.displayNoServiceAlert) {
|
||||||
return this.$refs.navbar.removeLoader();
|
return this.$refs.navbar.removeLoader();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// If either lookup fails, remove the loader and stop processing the page.
|
// If either lookup fails, remove the loader and stop processing the page.
|
||||||
if (!resultMap.vehicleLookupResponse || !resultMap.zipCodeData.isServiceable) {
|
if (!resultMap.vehicleLookupResponse || !resultMap.zipCodeData.isServiceable) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue