CSR-2098
CSR-2098 handle case where verified insurance with deductible
This commit is contained in:
parent
c11c9490fc
commit
e03dfd65cc
1 changed files with 5 additions and 0 deletions
|
|
@ -152,6 +152,11 @@ export default {
|
|||
if (lineItems.promos) {
|
||||
amountDue += this.getTotalPriceOfAllLineItemsAndChildParts(lineItems.promos, true);
|
||||
}
|
||||
|
||||
if (store.getters.payment.insuranceCoverage.isVerified && !store.getters.policy.isNoComp && !store.getters.policy.isItac) {
|
||||
amountDue += store.getters.policy.currentDeductible;
|
||||
}
|
||||
|
||||
return ((amountDue * 100) / 100).toFixed(2);
|
||||
},
|
||||
scrollToPageTop() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue