diff --git a/src/store/index.js b/src/store/index.js index ce575f12..d43d98c4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -584,6 +584,7 @@ export const useMainStore = defineStore({ manualGlassNames: manualGlassNamesArray, policyState: this.order.customer.address.state, status: this.order.policy.status, + originalDeductible: this.order.originalDeductible, currentDeductible: this.order.currentDeductible, noCoverage: this.order.policy.noCoverage, isRepair: this.order.damage.isRepair, diff --git a/src/store/store.spec.js b/src/store/store.spec.js index 66758cd5..3c9599e5 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -1758,6 +1758,7 @@ describe('Store', () => { const policyState = getRandomString(2, 2); const status = getRandomString(6, 8); const currentDeductible = getRandomInt(0, 5000); + const originalDeductible = getRandomInt(0, 5000); const noCoverage = getRandomBoolean(); const isRepair = getRandomBoolean(); const policyNumber = getRandomString(10, 20); @@ -1772,6 +1773,7 @@ describe('Store', () => { store.order.referralCorrelationId = referralCorrelationId; store.issConfig.parentAccountNumber = accountNumber; store.order.currentDeductible = currentDeductible; + store.order.originalDeductible = originalDeductible; store.order.policy.noCoverage = noCoverage; store.order.policy.status = status; store.order.customer.address.state = policyState; @@ -1803,6 +1805,7 @@ describe('Store', () => { policyState, status, currentDeductible, + originalDeductible, noCoverage, isRepair, policyNumber, @@ -1837,6 +1840,7 @@ describe('Store', () => { const policyState = getRandomString(2, 2); const status = getRandomString(6, 8); const currentDeductible = getRandomInt(0, 5000); + const originalDeductible = getRandomInt(0, 5000); const noCoverage = getRandomBoolean(); const isRepair = getRandomBoolean(); const endorsementAnswers = [ @@ -1871,6 +1875,7 @@ describe('Store', () => { store.order.referralCorrelationId = referralCorrelationId; store.issConfig.parentAccountNumber = accountNumber; store.order.currentDeductible = currentDeductible; + store.order.originalDeductible = originalDeductible; store.order.policy.noCoverage = noCoverage; store.order.policy.status = status; store.order.customer.address.state = policyState; @@ -1904,6 +1909,7 @@ describe('Store', () => { policyState, status, currentDeductible, + originalDeductible, noCoverage, isRepair, policyNumber,