CASH-80 request insurance company page and let nextgen decide
CASH-80 request insurance company page and let nextgen decide
This commit is contained in:
parent
d2ae8a5237
commit
02183aab9f
2 changed files with 5 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ export async function getDirectNavigation(toRoute) {
|
|||
if (fmgPageValue === fmgPageValues.QUOTE) {
|
||||
const skipVin = await skipVinLookup();
|
||||
|
||||
if (skipVin) {
|
||||
if (skipVin || !store.getters.vehicle?.vin) {
|
||||
return fmgPageValues.ESTIMATE;
|
||||
} else {
|
||||
return fmgPageValues.VIN_LOOKUP;
|
||||
|
|
|
|||
|
|
@ -157,7 +157,10 @@ const routes = [
|
|||
// Reroute around pages that should not be available.
|
||||
|
||||
// Exception 1: Integrated Users should not see vehicle or quote pages.
|
||||
if (store.getters.payment?.insuranceCoverage?.isVerified) {
|
||||
if (
|
||||
store.getters.payment?.insuranceCoverage?.isVerified ||
|
||||
store.getters.order?.referralNumber?.length === 6
|
||||
) {
|
||||
if (to.query.fmgPage === fmgPageValues.VEHICLE) {
|
||||
to.query.fmgPage = fmgPageValues.VEHICLE_DAMAGE;
|
||||
} else if (
|
||||
|
|
|
|||
Loading…
Reference in a new issue