Updated final-deductible and register-claim calls to pass additional params.

This commit is contained in:
Jeremy-Z 2026-04-30 13:18:10 -04:00
parent 050974bce8
commit 1a41824623

View file

@ -637,6 +637,7 @@ export const useMainStore = defineStore({
referralCorrelationId: this.order.referralCorrelationId,
accountNumber: this.order.parentAccountNumber?.toString() ?? '',
policyData: this.order.policy.policyData,
isRepair: this.order.damage.isRepair,
isItac: isITAC,
insured: {
firstName: this.order.customer.firstName,
@ -665,7 +666,9 @@ export const useMainStore = defineStore({
safelitePolicy: {
policies: []
},
actualDeductible: this.currentDeductible.toString() ?? ''
actualDeductible: this.currentDeductible.toString() ?? '',
currentRepairDeductible: this.order.currentDeductible.repair,
currentReplaceDeductible: this.order.currentDeductible.replace,
},
lossInfo: {
dateOfLoss: this.order.policy.dateOfLoss,
@ -728,6 +731,8 @@ export const useMainStore = defineStore({
status: this.order.policy.status,
originalDeductible: this.originalDeductible,
currentDeductible: this.currentDeductible,
currentRepairDeductible: this.order.currentDeductible.repair,
currentReplaceDeductible: this.order.currentDeductible.replace,
noCoverage: false,
isRepair: this.order.damage.isRepair,
policyNumber: this.order.policy.policyNumber,