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:
commit
47cb7b518c
1 changed files with 1 additions and 9 deletions
|
|
@ -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 don’t display the price)
|
||||
if (
|
||||
|
|
|
|||
Loading…
Reference in a new issue