CSR-1600 prettier

CSR-1600 prettier
This commit is contained in:
CarlNation 2024-09-26 12:03:35 -04:00
parent daf9ecba0d
commit feab3c5c54
2 changed files with 8 additions and 12 deletions

View file

@ -611,12 +611,7 @@ export default {
}); });
eventLabel = eventLabel.slice(0, -1); eventLabel = eventLabel.slice(0, -1);
this.pushEventToGA( this.pushEventToGA("quote", this.GaActions.SERVICE_PACKAGE_PRICE, eventLabel, true);
"quote",
this.GaActions.SERVICE_PACKAGE_PRICE,
eventLabel,
true
);
}); });
}, },
}, },

View file

@ -1541,13 +1541,14 @@ export const actions = {
const coverageStatus = order.payment?.insuranceCoverage?.coverageStatus; const coverageStatus = order.payment?.insuranceCoverage?.coverageStatus;
const coverageSubStatus = order.payment?.insuranceCoverage?.coverageSubStatus; const coverageSubStatus = order.payment?.insuranceCoverage?.coverageSubStatus;
const isItac = order.policy?.isItac ?? false; const isItac = order.policy?.isItac ?? false;
const zipCode = order.serviceLocation?.provider?.address?.zipCode ?? order.serviceLocation?.zipCode; const zipCode =
order.serviceLocation?.provider?.address?.zipCode ?? order.serviceLocation?.zipCode;
var providerNumber = var providerNumber =
order.serviceLocation?.provider?.providerNumber ?? order.serviceLocation?.zipCodeCtu; order.serviceLocation?.provider?.providerNumber ?? order.serviceLocation?.zipCodeCtu;
if (providerNumber.startsWith("00") && providerNumber.length > 5) { if (providerNumber.startsWith("00") && providerNumber.length > 5) {
providerNumber = providerNumber.substring(1); providerNumber = providerNumber.substring(1);
} }
var endPoint = `${endpoints.GetMobileFeePart.url}/?damageType=${damageType}&parentAccountNumber=${parentAccountNumber}&billToAccountNumber=${billToAccountNumber}&providerNumber=${providerNumber}&isItac=${isItac}&zipCode=${zipCode}`; var endPoint = `${endpoints.GetMobileFeePart.url}/?damageType=${damageType}&parentAccountNumber=${parentAccountNumber}&billToAccountNumber=${billToAccountNumber}&providerNumber=${providerNumber}&isItac=${isItac}&zipCode=${zipCode}`;
if (coverageStatus) { if (coverageStatus) {