Merge branch 'develop' into feature/uboppa/INSR-8668
This commit is contained in:
commit
4eef67bf85
2 changed files with 14 additions and 8 deletions
|
|
@ -162,6 +162,14 @@ body {
|
|||
bailoutInfo.push({ name: 'App Name', value: 'ISS' });
|
||||
bailoutInfo.push({ name: 'Site Name', value: 'ISS 2.0' });
|
||||
|
||||
// Build Info
|
||||
bailoutInfo.push({ name: 'Build Version', value: mainStore.issConfig?.buildInfo?.versionString });
|
||||
bailoutInfo.push({ name: 'Build Time', value: mainStore.issConfig?.buildInfo?.buildTime });
|
||||
|
||||
// ISS Configuration Info
|
||||
bailoutInfo.push({ name: 'Client Tag', value: mainStore.issConfig?.clientTag });
|
||||
bailoutInfo.push({ name: 'Client Name', value: mainStore.issConfig?.clientName });
|
||||
|
||||
// Not included (yet) from heritage:
|
||||
// - Site ID
|
||||
// - Code
|
||||
|
|
@ -356,19 +364,16 @@ body {
|
|||
diagnosticContainer.remove();
|
||||
}
|
||||
|
||||
// TODO: Re-enable logging after some further testing.
|
||||
/*
|
||||
const apiHostname = environmentInfo?.apiHostname;
|
||||
if(apiHostname) {
|
||||
try {
|
||||
const endpointUrl = `https://${apiHostname}/analytics/api/v1/logging/log-error`;
|
||||
|
||||
const infoString = bailoutInfo?.map(
|
||||
(entry) => `${entry.name}: ${entry.value}`
|
||||
)?.reduce(
|
||||
(prev, next) => `${prev}\n${next}`
|
||||
);
|
||||
const entryString = `User encountered bailout page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`;
|
||||
const entryString = `User landed on the static-error page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`;
|
||||
|
||||
const headers = generateRequestHeader(headerInfo);
|
||||
|
||||
|
|
@ -419,8 +424,7 @@ body {
|
|||
console.error(`=== ERROR SENDING PAGEVIEW`);
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -603,7 +603,7 @@ export const useMainStore = defineStore({
|
|||
// populate vehicles
|
||||
order.policy.vehicles = responsePolicy.vehicles ?? [];
|
||||
} else {
|
||||
if ( response?.data?.isError) {
|
||||
if (response?.data?.isError) {
|
||||
order.policy.policyLookupErrorCode = response?.data?.errorCode;
|
||||
}
|
||||
this.updateCoverageType(coverageType.NONE);
|
||||
|
|
@ -638,6 +638,8 @@ export const useMainStore = defineStore({
|
|||
payload:
|
||||
{
|
||||
referralCorrelationId: this.order.referralCorrelationId,
|
||||
referralDate: this.order.referralDate,
|
||||
referralNumber: this.order.referralNumber,
|
||||
accountNumber: this.order.parentAccountNumber?.toString() ?? '',
|
||||
policyData: this.order.policy.policyData,
|
||||
// TODO: Remove this isRepair flag from the payload after coverage service updates are deployed.
|
||||
|
|
@ -1956,7 +1958,7 @@ export const useMainStore = defineStore({
|
|||
} else if (fee.partNumber === partNumberStrings.LABOR2) {
|
||||
// Do not add Labor2 to feeItems since it's already been added to supportingItems
|
||||
this.addPartNumberFeeItem(null, partNumberStrings.LABOR2);
|
||||
}else if (fee.partNumber === partNumberStrings.TESLA_THS_SRVCE) {
|
||||
} else if (fee.partNumber === partNumberStrings.TESLA_THS_SRVCE) {
|
||||
// Do not add Tesla THS Service Fee to feeItems, it is a child part already
|
||||
} else {
|
||||
this.addPartNumberFeeItem(fee, fee.partNumber);
|
||||
|
|
|
|||
Loading…
Reference in a new issue