From 337bf095667fd479a19239d548850cf8cda302bd Mon Sep 17 00:00:00 2001 From: Deepa Date: Mon, 1 Jul 2024 17:21:57 +0000 Subject: [PATCH 1/2] OBPAS changes: Appicant name, P2 fees changes --- .../libraries/src/services/elements/OBPS.js | 2 +- .../modules/obps/getBPAAcknowledgement.js | 8 ++-- .../citizen/NewBuildingPermit/CheckPage.js | 37 ++++++++++++++----- .../Modal/BPAActionModal.js | 15 +++----- .../components/ScruntinyDetails.js | 17 ++++++--- .../templates/ApplicationDetails/index.js | 13 +++---- 6 files changed, 56 insertions(+), 36 deletions(-) diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/OBPS.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/OBPS.js index f8aef829dbb..1e3d14613b4 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/OBPS.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/elements/OBPS.js @@ -523,7 +523,7 @@ export const OBPSService = { { title: "BPA_BASIC_DETAILS_SERVICE_TYPE_LABEL", value: edcr?.applicationSubType }, { title: "BPA_BASIC_DETAILS_OCCUPANCY_LABEL", value: edcr?.planDetail?.planInformation?.occupancy }, { title: "BPA_BASIC_DETAILS_RISK_TYPE_LABEL", value: `WF_BPA_${riskType}`, isInsert: true, }, - { title: "BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL", value: edcr?.planDetail?.planInformation?.applicantName }, + // { title: "BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL", value: edcr?.planDetail?.planInformation?.applicantName }, ] }; diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/getBPAAcknowledgement.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/getBPAAcknowledgement.js index 43b1abc47b3..9cb1d31b1ef 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/getBPAAcknowledgement.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/getBPAAcknowledgement.js @@ -84,10 +84,10 @@ const getMohallaLocale = (value = "", tenantId = "") => { title: t("BPA_BASIC_DETAILS_RISK_TYPE_LABEL"), value: t(`WF_BPA_${application?.riskType}`) || "NA" }, - { - title: t("BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL"), - value: application?.data?.edcrDetails?.planDetail?.planInformation?.applicantName || "NA" - }, + // { + // title: t("BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL"), + // value: application?.data?.edcrDetails?.planDetail?.planInformation?.applicantName || "NA" + // }, ] diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/NewBuildingPermit/CheckPage.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/NewBuildingPermit/CheckPage.js index 1256b647eae..031fd697e45 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/NewBuildingPermit/CheckPage.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/NewBuildingPermit/CheckPage.js @@ -365,14 +365,22 @@ setWaterCharges(Malbafees/2) } function onSubmitCheck(){ - if(development && otherCharges && lessAdjusment){ + if(!development){ + sessionStorage.setItem("development",0) + } + if(!lessAdjusment){ + sessionStorage.setItem("lessAdjusment",0) + } + if(!otherCharges){ + sessionStorage.setItem("otherCharges",0) + } if(parseInt(lessAdjusment)>(parseInt(development)+parseInt(otherCharges)+parseInt(malbafees)+parseInt(labourCess)+parseInt(waterCharges)+parseInt(gaushalaFees))){ alert(t("Enterd Less Adjustment amount is invalid")); } else{ onSubmit(); - } - }} + } + } function setOtherChargesVal(value) { if(/^[0-9]*$/.test(value)){ @@ -433,7 +441,7 @@ function selectfile(e) { - + {/* */} @@ -659,6 +667,9 @@ function selectfile(e) { //disable={editScreen} {...{ required: true, pattern: /^[0-9]*$/ }} /> + {parseInt(otherCharges)>0? + ( +
{t("BPA_COMMON_OTHER_AMT_DISCRIPTION")}