Skip to content

Commit 1734d6a

Browse files
committed
Updated Boundary Wall length field
1 parent 06e4f10 commit 1734d6a

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/config/ocbuildingPermitConfig.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ export const newConfig = [
3939
validation: {},
4040
name: "registrationDetails"
4141
},
42-
{
43-
label: "BPA_BOUNDARY_WALL_LENGTH_LABEL",
44-
type: "text",
45-
validation: {},
46-
name: "boundaryWallLength"
47-
},
4842
]
4943
},
5044
{

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/PlotDetails.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ const PlotDetails = ({ formData, onSelect, config }) => {
1111
const tenantId = Digit.ULBService.getCurrentTenantId();
1212
const checkingFlow = formData?.uiFlow?.flow;
1313
const state = Digit.ULBService.getStateId();
14-
let [isNextDisabled,setIsNextDisabled] =useState(true);
14+
let [isNextDisabled,setIsNextDisabled] =useState(false);
15+
useEffect(() => {
16+
if(checkingFlow==="BPA"){
17+
setIsNextDisabled(true);
18+
}
19+
}, [checkingFlow]);
20+
1521
const { data, isLoading } = Digit.Hooks.obps.useScrutinyDetails(state, formData?.data?.scrutinyNumber)
1622

1723
const handleSubmit = (data) => {

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/ScrutinyDetails.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ const ScrutinyDetails = ({ onSelect, userType, formData, config }) => {
162162
// Additonal details
163163
payload.additionalDetails = {};
164164
if (formData?.data?.holdingNumber) payload.additionalDetails.holdingNo = formData?.data?.holdingNumber;
165-
if (formData?.data?.boundaryWallLength) payload.additionalDetails.boundaryWallLength = formData?.data?.boundaryWallLength;
166165
if (formData?.data?.registrationDetails) payload.additionalDetails.registrationDetails = formData?.data?.registrationDetails;
167166
if (formData?.data?.applicationType) payload.additionalDetails.applicationType = formData?.data?.applicationType;
168167
if (formData?.data?.serviceType) payload.additionalDetails.serviceType = formData?.data?.serviceType;

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/OCBuildingPermit/CheckPage.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ const CheckPage = ({ onSubmit, value }) => {
204204
<Row className="border-none" label={`${t(`BPA_KHATHA_NUMBER_LABEL`)}`} text={datafromAPI?.planDetail?.planInformation?.khataNo || t("CS_NA")} />
205205
<Row className="border-none" label={`${t(`BPA_HOLDING_NUMBER_LABEL`)}`} text={data?.holdingNumber || t("CS_NA")} />
206206
<Row className="border-none" label={`${t(`BPA_BOUNDARY_LAND_REG_DETAIL_LABEL`)}`} text={data?.registrationDetails || t("CS_NA")} />
207-
<Row className="border-none" label={`${t(`BPA_BOUNDARY_WALL_LENGTH_LABEL`)}`} text={ data?.boundaryWallLength || t("CS_NA")} />
208207
</StatusTable>
209208
</Card>
210209
<Card style={{paddingRight:"16px"}}>

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/OCSendBackToCitizen/CheckPage.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ const CheckPage = ({ onSubmit, value }) => {
239239
<Row className="border-none" label={t(`BPA_KHATHA_NUMBER_LABEL`)} text={datafromAPI?.planDetail?.planInformation?.khataNo || t("CS_NA")} />
240240
<Row className="border-none" label={t(`BPA_HOLDING_NUMBER_LABEL`)} text={data?.holdingNumber || t("CS_NA")} />
241241
<Row className="border-none" label={t(`BPA_BOUNDARY_LAND_REG_DETAIL_LABEL`)} text={data?.registrationDetails || t("CS_NA")} />
242-
<Row className="border-none" label={t(`BPA_BOUNDARY_WALL_LENGTH_LABEL`)} text={ data?.boundaryWallLength ||t("CS_NA")} />
243242
</StatusTable>
244243
</Card>
245244
<Card style={{paddingRight:"16px"}}>

frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pages/citizen/OCSendToArchitect/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const getBPAEditDetails = async (data, APIScrutinyDetails,mdmsData,nocdata,t,OCD
4949
applicationDate: data?.auditDetails?.createdTime,
5050
applicationType: APIScrutinyDetails?.appliactionType,
5151
holdingNumber: data?.additionalDetails?.holdingNo,
52-
boundaryWallLength: data?.additionalDetails?.boundaryWallLength,
5352
bpaData:OCData,
5453
occupancyType: APIScrutinyDetails?.planDetail?.planInformation?.occupancy,
5554
registrationDetails: data?.additionalDetails?.registrationDetails,

0 commit comments

Comments
 (0)