Merge pull request #3242 from Safelite/feature/CASH-2872

Feature/CASH 2872
This commit is contained in:
Chris 2026-06-26 12:15:00 -04:00 committed by GitHub
commit 9e8a97c89c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -637,7 +637,7 @@ export default {
}
discount += productPrice * -1;
subTotal += isQuotePageDiscount ? productPrice : 0;
subTotal += productPrice;
} else {
products.push({
productType: productType,
@ -737,6 +737,9 @@ export default {
if (quotePageDiscount) {
combinedLineItems = combinedLineItems.concat(quotePageDiscount);
}
if (lineItems.promos) {
combinedLineItems = combinedLineItems.concat(lineItems.promos);
}
//Remove child Parts if any
combinedLineItems.forEach((lineItem) => {