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 (
|
||||
store.isVerified &&
|
||||
store.currentDeductible >= 0 &&
|
||||
!store.isItac &&
|
||||
!store.isITAC &&
|
||||
!store.isNoComp
|
||||
) {
|
||||
payload.priceSubTotal = "";
|
||||
payload.priceTotal = "";
|
||||
// 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);
|
||||
payload.priceSubTotal = parseFloat(subtotal);
|
||||
const total = getCartTotal(order).toFixed(2);
|
||||
|
|
@ -310,11 +310,11 @@ export default {
|
|||
payload.isInsuranceItac = "";
|
||||
payload.isInsuranceNoComp = "";
|
||||
} else {
|
||||
payload.isInsuranceItac = store.isItac ?? "";
|
||||
payload.isInsuranceItac = store.isITAC ?? "";
|
||||
payload.isInsuranceNoComp = store.isNoComp ?? "";
|
||||
}
|
||||
if (
|
||||
store.isItac ||
|
||||
store.isITAC ||
|
||||
store.isNoComp ||
|
||||
!store.isVerified
|
||||
) {
|
||||
|
|
@ -530,7 +530,7 @@ export default {
|
|||
sessionData.coverageSubStatus = coverageType.mapToApi(order?.insuranceCoverage.coverageType);
|
||||
|
||||
sessionData.isNoComp = store.isNoComp;
|
||||
sessionData.isItac = store.isITAC;
|
||||
sessionData.isItac = store.isITAC;
|
||||
sessionData.subTotalPrice = getSubtotal(order).toString();
|
||||
sessionData.totalPrice = getCartTotal(order).toString();
|
||||
sessionData.cashPriceSubTotal = getSubtotal(order).toString();
|
||||
|
|
|
|||
Loading…
Reference in a new issue