diff --git a/frontend/micro-ui/web/micro-ui-internals/package.json b/frontend/micro-ui/web/micro-ui-internals/package.json index 027021b90af..c6a9ef1446b 100644 --- a/frontend/micro-ui/web/micro-ui-internals/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/package.json @@ -12,7 +12,8 @@ "packages/modules/commonPt", "packages/modules/dss", "packages/modules/pt", - "packages/modules/tl" + "packages/modules/tl", + "packages/modules/obps" ], "author": "Abhinav Kushwaha ", "license": "MIT", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/OwnerDetails.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/OwnerDetails.js index 7abdba96b04..7c0879e22cf 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/OwnerDetails.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/obps/src/pageComponents/OwnerDetails.js @@ -417,6 +417,12 @@ const OwnerDetails = ({ t, config, onSelect, userType, formData }) => { let parsedArchitectName = nameOfAchitect ? JSON.parse(nameOfAchitect) : "ARCHITECT"; payload.additionalDetails.typeOfArchitect = parsedArchitectName; payload.additionalDetails.stakeholderName=JSON.parse(sessionStorage.getItem("BPA_STAKEHOLDER_NAME")) + payload.additionalDetails.ownersWithAddress= conversionOwners.map(owner=> { + let landmark=formData?.address?.landmark.length!==0 ? formData?.address?.doorNo : "NA"; + let street=formData?.address?.street.length!==0 ? formData?.address?.street : "NA"; + let pincode=formData?.address?.pincode!==undefined && formData?.address?.pincode.length!==0? formData?.address?.pincode :"NA"; + return `${owner.name} (${street}, ${landmark}, ${formData?.address?.city?.city?.name}, ${formData?.address?.locality.name}, ${pincode})` + }).join("; "); payload.additionalDetails.stakeholderRegistrationNumber=JSON.parse(sessionStorage.getItem("BPA_STAKEHOLDER_REGISTRATION_NUMBER")); payload.additionalDetails.stakeholderAddress=JSON.parse(sessionStorage.getItem("BPA_STAKEHOLDER_ADDRESS")) let isSelfCertificationRequired=sessionStorage.getItem("isSelfCertificationRequired"); diff --git a/frontend/micro-ui/web/package.json b/frontend/micro-ui/web/package.json index 3eba2230929..182028cad5a 100644 --- a/frontend/micro-ui/web/package.json +++ b/frontend/micro-ui/web/package.json @@ -11,7 +11,8 @@ "micro-ui-internals/packages/modules/commonPt", "micro-ui-internals/packages/modules/dss", "micro-ui-internals/packages/modules/pt", - "micro-ui-internals/packages/modules/tl" + "micro-ui-internals/packages/modules/tl", + "micro-ui-internals/packages/modules/obps" ], "engines": {