CASH-696 - updated cashPriceSubTotal to be grabbed from store after it's saved.

This commit is contained in:
Minojhini Valaiyapathi 2025-05-14 13:42:30 -04:00
parent 1e5ff6ce33
commit 6a26eeea01

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 (