Merge branch 'feature/SSR-1211' into feature/SSR-1227
This commit is contained in:
commit
7ff19dd773
2 changed files with 66 additions and 13 deletions
|
|
@ -437,6 +437,23 @@ export default {
|
||||||
partTypeStrings.MOBILE_FEE
|
partTypeStrings.MOBILE_FEE
|
||||||
)
|
)
|
||||||
: null;
|
: null;
|
||||||
|
},
|
||||||
|
isUnverified() {
|
||||||
|
const { isClaimRegistrationRequired } = useMainStore().issConfig;
|
||||||
|
const registerClaimSuccessful = !!this.submittedOrder.payment.insuranceCoverage.isVerified;
|
||||||
|
if (!this.submittedOrder.policy.policyLookupSuccessful) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (this.isNoComp && !useMainStore().issConfig.enableNoCompQuote) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!this.isNoComp && this.deductible == null) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (isClaimRegistrationRequired && !registerClaimSuccessful) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -447,7 +464,7 @@ export default {
|
||||||
this.isExpanded = !this.isExpanded;
|
this.isExpanded = !this.isExpanded;
|
||||||
},
|
},
|
||||||
getDisplayed(amount) {
|
getDisplayed(amount) {
|
||||||
const { isUnverified } = useMainStore();
|
const isUnverified = this.submittedOrder ? this.isUnverified : useMainStore().isUnverified;
|
||||||
return isUnverified
|
return isUnverified
|
||||||
? VERIFYING_COVERAGE
|
? VERIFYING_COVERAGE
|
||||||
: formatAmountInDollars(amount);
|
: formatAmountInDollars(amount);
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,10 @@ const initialStore = {
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isInsurance: true,
|
isInsurance: true,
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
contactInfo: {
|
contactInfo: {
|
||||||
firstName: 'Test',
|
firstName: 'Test',
|
||||||
|
|
@ -108,7 +111,10 @@ const sessionStorage = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -315,7 +321,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Mobile'
|
appointmentType: 'Mobile'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -354,7 +363,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -401,7 +413,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Mobile'
|
appointmentType: 'Mobile'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -440,7 +455,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Dropoff'
|
appointmentType: 'Dropoff'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -479,7 +497,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Inshop'
|
appointmentType: 'Inshop'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -515,7 +536,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Mobile'
|
appointmentType: 'Mobile'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -554,7 +578,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Inshop'
|
appointmentType: 'Inshop'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -590,7 +617,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Mobile'
|
appointmentType: 'Mobile'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -629,7 +659,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Dropoff'
|
appointmentType: 'Dropoff'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
@ -669,7 +702,10 @@ describe('OrderConfirmation.vue', () => {
|
||||||
appointmentType: 'Inshop'
|
appointmentType: 'Inshop'
|
||||||
},
|
},
|
||||||
payment: {
|
payment: {
|
||||||
isPayInAdvance: false
|
isPayInAdvance: false,
|
||||||
|
insuranceCoverage: {
|
||||||
|
isVerified: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineItems: {
|
lineItems: {
|
||||||
vaps: []
|
vaps: []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue