Merge pull request #2190 from Safelite/feature/CASH-79-BE
Feature/cash 79 be
This commit is contained in:
commit
38792cabe4
1 changed files with 8 additions and 0 deletions
|
|
@ -99,6 +99,14 @@ export async function submitWorkOrder({
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function saveQuote({ pageNameToLog }) {
|
export async function saveQuote({ pageNameToLog }) {
|
||||||
|
// save session back to sv2 so the email gets saved just in case they refresh or step away and come back later
|
||||||
|
await saveSession({
|
||||||
|
pageNameToLog: pageNameToLog,
|
||||||
|
shouldAwaitSaveSessionQueue: true,
|
||||||
|
submitAfterSave: false,
|
||||||
|
createUnscheduledStatusWorkOrderForPIA: false,
|
||||||
|
});
|
||||||
|
|
||||||
return await baseMixin.methods.dispatchStoreActionWithLogging(
|
return await baseMixin.methods.dispatchStoreActionWithLogging(
|
||||||
storeActions.SAVE_QUOTE,
|
storeActions.SAVE_QUOTE,
|
||||||
{},
|
{},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue