Merge pull request #2519 from Safelite/feature/CASH-696

CASH-696 - updated cashPriceSubTotal to be grabbed from store after i…
This commit is contained in:
mvalaiyapathi 2025-05-14 14:05:23 -04:00 committed by GitHub
commit 47cb7b518c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,15 +313,7 @@ export default {
}
// Cash Quote or Cash Price Sub Total
if (isPricingAvailable) {
const subtotal = baseMixin.methods
.getTotalPriceOfAllLineItemsAndChildParts(combinedLineItems, false)
.toFixed(2);
payload.cashPriceSubTotal = parseFloat(subtotal);
} else {
payload.cashPriceSubTotal = "";
}
payload.cashPriceSubTotal = store.getters.order?.cashPriceSubTotal ?? "";
//unverified (in scenarios we dont display the price)
if (