Merge pull request #971 from Safelite/feature/INSR-7607

INSR-7607: Updated ITAC quote pricing call to pass provider sate. Now required by microservice.
This commit is contained in:
Jeremy-Z 2025-12-04 13:36:46 -05:00 committed by GitHub
commit 4ea353c38d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1177,7 +1177,8 @@ export const useMainStore = defineStore({
},
Provider: {
ProviderNumber: this.providerNumber,
ProviderCtuNumber: serviceLocation.zipCodeCtu
ProviderCtuNumber: serviceLocation.zipCodeCtu,
ProviderState: serviceLocation.state
},
Vehicle: {
CarId: vehicle.carId,
@ -2624,6 +2625,7 @@ export const useMainStore = defineStore({
if (zipInfo?.isValid === true) {
this.order.serviceLocation.zipCodeCtu = zipInfo.zipCodeCtu;
this.order.serviceLocation.defaultProviderNumber = zipInfo.providerNumber;
this.order.serviceLocation.state = zipInfo.state;
return Promise.resolve(zipInfo);
}