From 5c5367bfc00f7ca640f4a065579fb3ff2a3fcee6 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Fri, 8 Nov 2024 14:50:39 -0500 Subject: [PATCH] CSR-2303 insurance should always show recal CSR-2303 insurance should always show recal not just for itac and nocomp --- src/store/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index 22b9c4776..3b67cffb8 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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; }