Updated ITAC quote pricing call to pass provider sate. Now required by microservice.

This commit is contained in:
Jeremy-Z 2025-12-04 13:21:57 -05:00
parent 62667545e4
commit e76bab1d9c

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);
}