CSR-2303 itac and nocomp should allow recal
CSR-2303 itac and nocomp should allow recal
This commit is contained in:
parent
f2a07535b6
commit
982c0dc322
3 changed files with 6 additions and 8 deletions
|
|
@ -177,10 +177,7 @@ export default {
|
|||
return containsRecalParts(this?.lineItems);
|
||||
},
|
||||
shouldHideRecalibration() {
|
||||
return (
|
||||
this.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)?.toLowerCase() ===
|
||||
"true" && this.isRecalibrationOnOrder
|
||||
);
|
||||
return this.$store.getters.shouldHideRecalibration;
|
||||
},
|
||||
ShowCart() {
|
||||
if (this.isPia && this.submittedOrder?.settledTenderAmount == 0) {
|
||||
|
|
|
|||
|
|
@ -596,10 +596,7 @@ export default {
|
|||
return containsRecalParts(order.lineItems);
|
||||
},
|
||||
shouldHideRecalibration() {
|
||||
return (
|
||||
this.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)?.toLowerCase() ===
|
||||
"true" && this.isRecalibrationOnOrder
|
||||
);
|
||||
return this.$store.getters.shouldHideRecalibration;
|
||||
},
|
||||
showApplePay() {
|
||||
return baseMixin.methods.showApplePay();
|
||||
|
|
|
|||
|
|
@ -819,6 +819,10 @@ export const getters = {
|
|||
return false;
|
||||
},
|
||||
shouldHideRecalibration: (state) => {
|
||||
if (state.order.policy.isNoComp || state.order.policy.isItac) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (
|
||||
experimentMixin.methods
|
||||
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue