Merge pull request #1881 from Safelite/feature/CSR-2091

Feature/csr 2091
This commit is contained in:
CarlNation 2024-06-18 07:07:55 -04:00 committed by GitHub
commit eae9ab9375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -985,7 +985,10 @@ export default {
if (!this.showAsPaid) {
return 0;
}
return this.subTotal + this.salesTax;
// unary plus operator to convert string amount to numeric so we can add them together
var amtPaid = +this.subTotal + +this.salesTax;
return amtPaid;
},
},
components: {