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:
CarlNation 2024-11-08 14:50:39 -05:00
parent 3ad2e4ed28
commit 5c5367bfc0

View file

@ -819,7 +819,15 @@ export const getters = {
return false;
},
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;
}