CSR-2288 set bill-to on insurance company page

CSR-2288 set bill-to on insurance company page once the user -has selected the company
This commit is contained in:
CarlNation 2024-10-29 10:18:50 -04:00
parent 814b8c9248
commit c7dbfa7423

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",