ITAC method call fix.
This commit is contained in:
parent
5eb4ef0418
commit
c17c57dbed
1 changed files with 5 additions and 5 deletions
|
|
@ -275,13 +275,13 @@ export default {
|
||||||
else if (
|
else if (
|
||||||
store.isVerified &&
|
store.isVerified &&
|
||||||
store.currentDeductible >= 0 &&
|
store.currentDeductible >= 0 &&
|
||||||
!store.isItac &&
|
!store.isITAC &&
|
||||||
!store.isNoComp
|
!store.isNoComp
|
||||||
) {
|
) {
|
||||||
payload.priceSubTotal = "";
|
payload.priceSubTotal = "";
|
||||||
payload.priceTotal = "";
|
payload.priceTotal = "";
|
||||||
// ITAC or NoComp (where cash price is shown)
|
// ITAC or NoComp (where cash price is shown)
|
||||||
} else if (store.isVerified && (store.isItac || store.isNoComp)) {
|
} else if (store.isVerified && (store.isITAC || store.isNoComp)) {
|
||||||
const subtotal = getSubtotal(order).toFixed(2);
|
const subtotal = getSubtotal(order).toFixed(2);
|
||||||
payload.priceSubTotal = parseFloat(subtotal);
|
payload.priceSubTotal = parseFloat(subtotal);
|
||||||
const total = getCartTotal(order).toFixed(2);
|
const total = getCartTotal(order).toFixed(2);
|
||||||
|
|
@ -310,11 +310,11 @@ export default {
|
||||||
payload.isInsuranceItac = "";
|
payload.isInsuranceItac = "";
|
||||||
payload.isInsuranceNoComp = "";
|
payload.isInsuranceNoComp = "";
|
||||||
} else {
|
} else {
|
||||||
payload.isInsuranceItac = store.isItac ?? "";
|
payload.isInsuranceItac = store.isITAC ?? "";
|
||||||
payload.isInsuranceNoComp = store.isNoComp ?? "";
|
payload.isInsuranceNoComp = store.isNoComp ?? "";
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
store.isItac ||
|
store.isITAC ||
|
||||||
store.isNoComp ||
|
store.isNoComp ||
|
||||||
!store.isVerified
|
!store.isVerified
|
||||||
) {
|
) {
|
||||||
|
|
@ -530,7 +530,7 @@ export default {
|
||||||
sessionData.coverageSubStatus = coverageType.mapToApi(order?.insuranceCoverage.coverageType);
|
sessionData.coverageSubStatus = coverageType.mapToApi(order?.insuranceCoverage.coverageType);
|
||||||
|
|
||||||
sessionData.isNoComp = store.isNoComp;
|
sessionData.isNoComp = store.isNoComp;
|
||||||
sessionData.isItac = store.isITAC;
|
sessionData.isItac = store.isITAC;
|
||||||
sessionData.subTotalPrice = getSubtotal(order).toString();
|
sessionData.subTotalPrice = getSubtotal(order).toString();
|
||||||
sessionData.totalPrice = getCartTotal(order).toString();
|
sessionData.totalPrice = getCartTotal(order).toString();
|
||||||
sessionData.cashPriceSubTotal = getSubtotal(order).toString();
|
sessionData.cashPriceSubTotal = getSubtotal(order).toString();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue