Merge pull request #2054 from Safelite/feature/CSR-2288

CSR-2288 set bill-to on insurance company page
This commit is contained in:
CarlNation 2024-10-29 15:01:27 -04:00 committed by GitHub
commit a59c6b14be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,6 +130,20 @@ export default {
this.parentAccountNumber.toString(),
false
);
const billToAccountNumber = await baseMixin.methods.dispatchStoreActionWithLogging(
storeActions.GET_BILL_TO_ACCOUNT_NUMBER,
{},
"insurance-company",
false
);
baseMixin.methods.dispatchStoreAction(
storeActions.SAVE_BILL_TO_ACCOUNT_NUMBER,
billToAccountNumber,
false
);
navigateToHeritageFunnel({
shouldSaveSession: true,
pageNameToLog: "insurance-company",