CASH-696 - updated cashPriceSubTotal to be grabbed from store after it's saved.
This commit is contained in:
parent
1e5ff6ce33
commit
6a26eeea01
1 changed files with 1 additions and 9 deletions
|
|
@ -313,15 +313,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cash Quote or Cash Price Sub Total
|
// Cash Quote or Cash Price Sub Total
|
||||||
if (isPricingAvailable) {
|
payload.cashPriceSubTotal = store.getters.order?.cashPriceSubTotal ?? "";
|
||||||
const subtotal = baseMixin.methods
|
|
||||||
.getTotalPriceOfAllLineItemsAndChildParts(combinedLineItems, false)
|
|
||||||
.toFixed(2);
|
|
||||||
|
|
||||||
payload.cashPriceSubTotal = parseFloat(subtotal);
|
|
||||||
} else {
|
|
||||||
payload.cashPriceSubTotal = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
//unverified (in scenarios we don’t display the price)
|
//unverified (in scenarios we don’t display the price)
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue