CSR-1552
treat referral 6 digits and isverified differently. unverified is allowed to return to quote page and switch to cash while verified is not. both have 6 digit referral numbers.
This commit is contained in:
parent
6def6b8cf7
commit
7c316acb7c
2 changed files with 2 additions and 4 deletions
|
|
@ -150,7 +150,7 @@ export default {
|
|||
(store.getters.order.damage.isRepair ||
|
||||
(store.getters.order.lineItems?.glassParts != null &&
|
||||
store.getters.order.lineItems.glassParts.length > 0)) &&
|
||||
store.getters.order.referralNumber?.length !== 6
|
||||
!store.getters.payment.insuranceCoverage.isVerified
|
||||
);
|
||||
},
|
||||
getDefaultIsInsuranceSelectedValue(availableLineItems) {
|
||||
|
|
|
|||
|
|
@ -446,9 +446,7 @@ export default {
|
|||
|
||||
const payment = store.getters.payment;
|
||||
|
||||
if (store.getters.order.referralNumber?.length === 6) {
|
||||
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal });
|
||||
} else if (payment.isInsurance && payment.insuranceCoverage.isVerified) {
|
||||
if (payment.isInsurance && payment.insuranceCoverage.isVerified) {
|
||||
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal });
|
||||
} else {
|
||||
self.$router.navigateWithSaving(
|
||||
|
|
|
|||
Loading…
Reference in a new issue