Added additional client name value (full client name).
This commit is contained in:
parent
80ced3018a
commit
df75a7c707
2 changed files with 6 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ describe('entry-page.vue', () => {
|
||||||
const queryString = 'policynumber="123456"';
|
const queryString = 'policynumber="123456"';
|
||||||
const { wrapper } = setupMocks(queryString);
|
const { wrapper } = setupMocks(queryString);
|
||||||
|
|
||||||
window.console.log(wrapper.vm.$route.query);
|
window.console.log(wrapper.vm.$route);
|
||||||
expect(wrapper).toBeTruthy();
|
expect(wrapper).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,7 @@ export default {
|
||||||
},
|
},
|
||||||
populateISSConfigValues(data) {
|
populateISSConfigValues(data) {
|
||||||
this.mainStore.issConfig.clientName = data.accountName;
|
this.mainStore.issConfig.clientName = data.accountName;
|
||||||
|
this.mainStore.issConfig.clientFullName = data.accountName; // Defaults to use the client name.
|
||||||
this.mainStore.issConfig.clientDisplayName = data.accountName; // Defaults to use the client name.
|
this.mainStore.issConfig.clientDisplayName = data.accountName; // Defaults to use the client name.
|
||||||
this.mainStore.issConfig.parentAccountNumber = data.parentAccountNumber;
|
this.mainStore.issConfig.parentAccountNumber = data.parentAccountNumber;
|
||||||
this.mainStore.issConfig.styleSheet = data.styleSheet;
|
this.mainStore.issConfig.styleSheet = data.styleSheet;
|
||||||
|
|
@ -157,6 +158,10 @@ export default {
|
||||||
this.mainStore.issConfig.enableTPAFlow = true;
|
this.mainStore.issConfig.enableTPAFlow = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (clientFlags.ClientFullName != null) {
|
||||||
|
this.mainStore.issConfig.clientFullName = clientFlags.ClientFullName;
|
||||||
|
}
|
||||||
|
|
||||||
if (clientFlags.ClientDisplayName != null) {
|
if (clientFlags.ClientDisplayName != null) {
|
||||||
this.mainStore.issConfig.clientDisplayName = clientFlags.ClientDisplayName;
|
this.mainStore.issConfig.clientDisplayName = clientFlags.ClientDisplayName;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue