CSR-2303 insurance should always show recal
CSR-2303 insurance should always show recal not just for itac and nocomp
This commit is contained in:
parent
3ad2e4ed28
commit
5c5367bfc0
1 changed files with 9 additions and 1 deletions
|
|
@ -819,7 +819,15 @@ export const getters = {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
shouldHideRecalibration: (state) => {
|
shouldHideRecalibration: (state) => {
|
||||||
if (state.order.policy.isNoComp || state.order.policy.isItac) {
|
let order;
|
||||||
|
if (window.sessionStorage.getItem("submittedOrder") !== null) {
|
||||||
|
order = JSON.parse(window.sessionStorage.getItem("submittedOrder"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
order = getters.order;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (order.payment.isInsurance) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue