Actually referencing policy successful
This commit is contained in:
parent
f60d908086
commit
c864ffedea
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ export const useMainStore = defineStore({
|
||||||
isNoComp: (s) => !!s.order.policy.noCoverage,
|
isNoComp: (s) => !!s.order.policy.noCoverage,
|
||||||
isITAC: (state) => !!state.order.policy.isITAC,
|
isITAC: (state) => !!state.order.policy.isITAC,
|
||||||
isUnverified: (s) => {
|
isUnverified: (s) => {
|
||||||
const { policyLookupSuccessful, payment, currentDeductible } = s.order;
|
const { payment, currentDeductible, policy } = s.order;
|
||||||
|
const { policyLookupSuccessful } = policy;
|
||||||
const registerClaimSuccessful = !!payment.insuranceCoverage.isVerified;
|
const registerClaimSuccessful = !!payment.insuranceCoverage.isVerified;
|
||||||
if (!policyLookupSuccessful) {
|
if (!policyLookupSuccessful) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue