@mseva/digit-ui-module-obps 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +475 -130
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -14058,7 +14058,7 @@ const ScrutinyDetails = ({
|
|
|
14058
14058
|
currentStepData,
|
|
14059
14059
|
onGoBack
|
|
14060
14060
|
}) => {
|
|
14061
|
-
var _formData$landInfo, _formData$uiFlow, _currentStepData$Basi, _formData$data, _data$planDetail, _data$planDetail$bloc, _data$planDetail$bloc2, _data$planDetail$bloc3, _data$planDetail2, _data$planDetail2$blo, _data$planDetail2$blo2, _data$planDetail2$blo3, _data$planDetail3, _data$planDetail3$blo, _data$planDetail3$blo2, _data$planDetail3$blo3, _data$planDetail4, _data$planDetail4$blo, _data$planDetail4$blo2, _data$planDetail4$blo3, _data$planDetail5, _data$planDetail5$blo, _data$planDetail5$blo2, _data$planDetail5$blo3, _data$planDetail6, _data$planDetail6$far, _data$planDetail7, _data$planDetail7$far, _data$planDetail8, _data$planDetail8$far, _data$planDetail9, _data$planDetail9$far, _data$planDetail0, _data$planDetail0$
|
|
14061
|
+
var _formData$landInfo, _formData$uiFlow, _currentStepData$Basi, _formData$data, _data$planDetail, _data$planDetail$bloc, _data$planDetail$bloc2, _data$planDetail$bloc3, _data$planDetail2, _data$planDetail2$blo, _data$planDetail2$blo2, _data$planDetail2$blo3, _data$planDetail3, _data$planDetail3$blo, _data$planDetail3$blo2, _data$planDetail3$blo3, _data$planDetail4, _data$planDetail4$blo, _data$planDetail4$blo2, _data$planDetail4$blo3, _data$planDetail5, _data$planDetail5$blo, _data$planDetail5$blo2, _data$planDetail5$blo3, _data$planDetail6, _data$planDetail6$far, _data$planDetail7, _data$planDetail7$far, _data$planDetail8, _data$planDetail8$far, _data$planDetail9, _data$planDetail9$far, _data$planDetail0, _data$planDetail0$rep, _data$planDetail0$rep2, _data$planDetail0$rep3, _data$planDetail0$rep4, _data$planDetail0$rep5, _data$planDetail1, _data$planDetail1$rep, _data$planDetail1$rep2, _data$planDetail1$rep3, _data$planDetail1$rep4, _data$planDetail1$rep5, _data$planDetail10, _data$planDetail10$bl, _data$planDetail11, _data$planDetail11$pl, _data$planDetail12, _data$planDetail12$pl;
|
|
14062
14062
|
const {
|
|
14063
14063
|
t
|
|
14064
14064
|
} = useTranslation();
|
|
@@ -14080,7 +14080,7 @@ const ScrutinyDetails = ({
|
|
|
14080
14080
|
const data = currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Basi = currentStepData.BasicDetails) === null || _currentStepData$Basi === void 0 ? void 0 : _currentStepData$Basi.edcrDetails;
|
|
14081
14081
|
const isMobile = window.Digit.Utils.browser.isMobile();
|
|
14082
14082
|
const [apiLoading, setApiLoading] = useState(false);
|
|
14083
|
-
console.log(subOccupancy, "OCCUPANCY");
|
|
14083
|
+
console.log(subOccupancy, data, "OCCUPANCY");
|
|
14084
14084
|
useEffect(() => {
|
|
14085
14085
|
var _currentStepData$Basi2;
|
|
14086
14086
|
if (!isMdmsLoading && currentStepData !== null && currentStepData !== void 0 && (_currentStepData$Basi2 = currentStepData.BasicDetails) !== null && _currentStepData$Basi2 !== void 0 && _currentStepData$Basi2.occupancyType) {
|
|
@@ -14145,31 +14145,9 @@ const ScrutinyDetails = ({
|
|
|
14145
14145
|
});
|
|
14146
14146
|
return floors;
|
|
14147
14147
|
}
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
}) => {
|
|
14152
|
-
const {
|
|
14153
|
-
t
|
|
14154
|
-
} = useTranslation();
|
|
14155
|
-
async function downloadFile(e) {
|
|
14156
|
-
e.preventDefault();
|
|
14157
|
-
e.stopPropagation();
|
|
14158
|
-
if (jumpTo) {
|
|
14159
|
-
const link = document.createElement("a");
|
|
14160
|
-
link.href = jumpTo;
|
|
14161
|
-
link.download = label || "document";
|
|
14162
|
-
link.style.display = "none";
|
|
14163
|
-
document.body.appendChild(link);
|
|
14164
|
-
link.click();
|
|
14165
|
-
document.body.removeChild(link);
|
|
14166
|
-
}
|
|
14167
|
-
}
|
|
14168
|
-
return /*#__PURE__*/React.createElement(LinkButton, {
|
|
14169
|
-
label: t(label),
|
|
14170
|
-
onClick: downloadFile
|
|
14171
|
-
});
|
|
14172
|
-
};
|
|
14148
|
+
function routeTo(jumpTo) {
|
|
14149
|
+
window.open(jumpTo, "_blank");
|
|
14150
|
+
}
|
|
14173
14151
|
const tableHeader = [{
|
|
14174
14152
|
name: "BPA_TABLE_COL_FLOOR",
|
|
14175
14153
|
id: "Floor"
|
|
@@ -14312,7 +14290,7 @@ const ScrutinyDetails = ({
|
|
|
14312
14290
|
}, tenantId);
|
|
14313
14291
|
if ((result === null || result === void 0 ? void 0 : (_result$ResponseInfo = result.ResponseInfo) === null || _result$ResponseInfo === void 0 ? void 0 : _result$ResponseInfo.status) === "successful") {
|
|
14314
14292
|
setApiLoading(false);
|
|
14315
|
-
onSelect({
|
|
14293
|
+
onSelect("ScrutinyDetails", {
|
|
14316
14294
|
subOccupancy: subOccupancyObject
|
|
14317
14295
|
});
|
|
14318
14296
|
} else {
|
|
@@ -14403,21 +14381,19 @@ const ScrutinyDetails = ({
|
|
|
14403
14381
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
14404
14382
|
className: "border-none",
|
|
14405
14383
|
label: t("BPA_UPLOADED_PLAN_DIAGRAM"),
|
|
14406
|
-
text: /*#__PURE__*/React.createElement(
|
|
14384
|
+
text: /*#__PURE__*/React.createElement(SubmitBar, {
|
|
14407
14385
|
label: t("Uploaded Plan.pdf"),
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
console.log("");
|
|
14386
|
+
onSubmit: () => {
|
|
14387
|
+
routeTo(data === null || data === void 0 ? void 0 : data.updatedDxfFile);
|
|
14411
14388
|
}
|
|
14412
14389
|
})
|
|
14413
14390
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
14414
14391
|
className: "border-none",
|
|
14415
14392
|
label: t("BPA_SCRUNTINY_REPORT_OUTPUT"),
|
|
14416
|
-
text: /*#__PURE__*/React.createElement(
|
|
14393
|
+
text: /*#__PURE__*/React.createElement(SubmitBar, {
|
|
14417
14394
|
label: t("BPA_SCRUTINY_REPORT_PDF"),
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
console.log("");
|
|
14395
|
+
onSubmit: () => {
|
|
14396
|
+
routeTo(data === null || data === void 0 ? void 0 : data.planReport);
|
|
14421
14397
|
}
|
|
14422
14398
|
})
|
|
14423
14399
|
})), /*#__PURE__*/React.createElement("hr", {
|
|
@@ -14467,15 +14443,15 @@ const ScrutinyDetails = ({
|
|
|
14467
14443
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
14468
14444
|
className: "border-none",
|
|
14469
14445
|
label: t("BPA_FAR_ACHIEVED"),
|
|
14470
|
-
text: "
|
|
14446
|
+
text: data !== null && data !== void 0 && (_data$planDetail8 = data.planDetail) !== null && _data$planDetail8 !== void 0 && (_data$planDetail8$far = _data$planDetail8.farDetails) !== null && _data$planDetail8$far !== void 0 && _data$planDetail8$far.providedFar ? data === null || data === void 0 ? void 0 : (_data$planDetail9 = data.planDetail) === null || _data$planDetail9 === void 0 ? void 0 : (_data$planDetail9$far = _data$planDetail9.farDetails) === null || _data$planDetail9$far === void 0 ? void 0 : _data$planDetail9$far.providedFar : "N/A"
|
|
14471
14447
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
14472
14448
|
className: "border-none",
|
|
14473
14449
|
label: t("BPA_ECS_REQUIRED"),
|
|
14474
|
-
text:
|
|
14450
|
+
text: (data === null || data === void 0 ? void 0 : (_data$planDetail0 = data.planDetail) === null || _data$planDetail0 === void 0 ? void 0 : (_data$planDetail0$rep = _data$planDetail0.reportOutput) === null || _data$planDetail0$rep === void 0 ? void 0 : (_data$planDetail0$rep2 = _data$planDetail0$rep.scrutinyDetails) === null || _data$planDetail0$rep2 === void 0 ? void 0 : (_data$planDetail0$rep3 = _data$planDetail0$rep2.find(item => (item === null || item === void 0 ? void 0 : item.key) === "Common_Parking")) === null || _data$planDetail0$rep3 === void 0 ? void 0 : (_data$planDetail0$rep4 = _data$planDetail0$rep3.detail) === null || _data$planDetail0$rep4 === void 0 ? void 0 : (_data$planDetail0$rep5 = _data$planDetail0$rep4.find(item => (item === null || item === void 0 ? void 0 : item.Description) === "Parking")) === null || _data$planDetail0$rep5 === void 0 ? void 0 : _data$planDetail0$rep5.Required) || "NA"
|
|
14475
14451
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
14476
14452
|
className: "border-none",
|
|
14477
|
-
label: t("
|
|
14478
|
-
text: data
|
|
14453
|
+
label: t("BPA_ECS_PROVIDED"),
|
|
14454
|
+
text: (data === null || data === void 0 ? void 0 : (_data$planDetail1 = data.planDetail) === null || _data$planDetail1 === void 0 ? void 0 : (_data$planDetail1$rep = _data$planDetail1.reportOutput) === null || _data$planDetail1$rep === void 0 ? void 0 : (_data$planDetail1$rep2 = _data$planDetail1$rep.scrutinyDetails) === null || _data$planDetail1$rep2 === void 0 ? void 0 : (_data$planDetail1$rep3 = _data$planDetail1$rep2.find(item => (item === null || item === void 0 ? void 0 : item.key) === "Common_Parking")) === null || _data$planDetail1$rep3 === void 0 ? void 0 : (_data$planDetail1$rep4 = _data$planDetail1$rep3.detail) === null || _data$planDetail1$rep4 === void 0 ? void 0 : (_data$planDetail1$rep5 = _data$planDetail1$rep4.find(item => (item === null || item === void 0 ? void 0 : item.Description) === "Parking")) === null || _data$planDetail1$rep5 === void 0 ? void 0 : _data$planDetail1$rep5.Provided) || "NA"
|
|
14479
14455
|
})), /*#__PURE__*/React.createElement("hr", {
|
|
14480
14456
|
style: {
|
|
14481
14457
|
color: "#cccccc",
|
|
@@ -14486,7 +14462,7 @@ const ScrutinyDetails = ({
|
|
|
14486
14462
|
}
|
|
14487
14463
|
}), /*#__PURE__*/React.createElement(CardSubHeader, {
|
|
14488
14464
|
style: headingStyle
|
|
14489
|
-
}, t("BPA_OCC_SUBOCC_HEADER")), data === null || data === void 0 ? void 0 : (_data$
|
|
14465
|
+
}, t("BPA_OCC_SUBOCC_HEADER")), data === null || data === void 0 ? void 0 : (_data$planDetail10 = data.planDetail) === null || _data$planDetail10 === void 0 ? void 0 : (_data$planDetail10$bl = _data$planDetail10.blocks) === null || _data$planDetail10$bl === void 0 ? void 0 : _data$planDetail10$bl.map((block, index) => /*#__PURE__*/React.createElement("div", {
|
|
14490
14466
|
key: index,
|
|
14491
14467
|
style: {
|
|
14492
14468
|
marginTop: "20px"
|
|
@@ -14536,7 +14512,7 @@ const ScrutinyDetails = ({
|
|
|
14536
14512
|
}
|
|
14537
14513
|
}, /*#__PURE__*/React.createElement(Row, {
|
|
14538
14514
|
label: t("BPA_APPLICATION_DEMOLITION_AREA_LABEL"),
|
|
14539
|
-
text: data !== null && data !== void 0 && (_data$
|
|
14515
|
+
text: data !== null && data !== void 0 && (_data$planDetail11 = data.planDetail) !== null && _data$planDetail11 !== void 0 && (_data$planDetail11$pl = _data$planDetail11.planInformation) !== null && _data$planDetail11$pl !== void 0 && _data$planDetail11$pl.demolitionArea ? `${data === null || data === void 0 ? void 0 : (_data$planDetail12 = data.planDetail) === null || _data$planDetail12 === void 0 ? void 0 : (_data$planDetail12$pl = _data$planDetail12.planInformation) === null || _data$planDetail12$pl === void 0 ? void 0 : _data$planDetail12$pl.demolitionArea} ${t("BPA_SQ_MTRS_LABEL")}` : t("CS_NA")
|
|
14540
14516
|
}))), showToast && /*#__PURE__*/React.createElement(Toast$1, {
|
|
14541
14517
|
error: true,
|
|
14542
14518
|
label: t(showToast === null || showToast === void 0 ? void 0 : showToast.message),
|
|
@@ -21219,7 +21195,7 @@ const CitizenConsent = ({
|
|
|
21219
21195
|
setShowTermsPopupOwner,
|
|
21220
21196
|
otpVerifiedTimestamp
|
|
21221
21197
|
}) => {
|
|
21222
|
-
var _user$info, _user$info2, _data$applicationData, _data$applicationData2, _data$applicationData3, _data$applicationData4, _data$applicationData5, _data$applicationData6, _data$applicationData7, _data$applicationData8, _data$applicationData9, _data$applicationData0, _params$additionalDet3,
|
|
21198
|
+
var _user$info, _user$info2, _data$applicationData, _data$applicationData2, _data$applicationData3, _data$applicationData4, _data$applicationData5, _data$applicationData6, _data$applicationData7, _data$applicationData8, _data$applicationData9, _data$applicationData0, _data$applicationData1, _data$applicationData10, _data$applicationData11, _data$applicationData12, _data$applicationData13, _data$applicationData14, _data$applicationData15, _data$applicationData16, _data$applicationData17, _data$applicationData18, _data$applicationData19, _params$additionalDet3, _data$applicationData20, _data$applicationData21, _data$applicationData22, _data$applicationData23, _data$applicationData24, _data$applicationData25, _data$applicationData26, _data$applicationData27, _data$applicationData28, _data$applicationData29, _data$applicationData30;
|
|
21223
21199
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
21224
21200
|
const {
|
|
21225
21201
|
state
|
|
@@ -21263,11 +21239,14 @@ const CitizenConsent = ({
|
|
|
21263
21239
|
const khasranumber = data === null || data === void 0 ? void 0 : (_data$applicationData = data.applicationData) === null || _data$applicationData === void 0 ? void 0 : (_data$applicationData2 = _data$applicationData.additionalDetails) === null || _data$applicationData2 === void 0 ? void 0 : _data$applicationData2.khasraNumber;
|
|
21264
21240
|
const ward = data === null || data === void 0 ? void 0 : (_data$applicationData3 = data.applicationData) === null || _data$applicationData3 === void 0 ? void 0 : (_data$applicationData4 = _data$applicationData3.additionalDetails) === null || _data$applicationData4 === void 0 ? void 0 : _data$applicationData4.wardnumber;
|
|
21265
21241
|
const area = data === null || data === void 0 ? void 0 : (_data$applicationData5 = data.applicationData) === null || _data$applicationData5 === void 0 ? void 0 : (_data$applicationData6 = _data$applicationData5.additionalDetails) === null || _data$applicationData6 === void 0 ? void 0 : _data$applicationData6.area;
|
|
21266
|
-
const
|
|
21267
|
-
const
|
|
21268
|
-
const
|
|
21269
|
-
const
|
|
21242
|
+
const applicationnumber = data === null || data === void 0 ? void 0 : (_data$applicationData7 = data.applicationData) === null || _data$applicationData7 === void 0 ? void 0 : _data$applicationData7.applicationNo;
|
|
21243
|
+
const architectid = data === null || data === void 0 ? void 0 : (_data$applicationData8 = data.applicationData) === null || _data$applicationData8 === void 0 ? void 0 : (_data$applicationData9 = _data$applicationData8.additionalDetails) === null || _data$applicationData9 === void 0 ? void 0 : _data$applicationData9.architectid;
|
|
21244
|
+
const architecttype = data === null || data === void 0 ? void 0 : (_data$applicationData0 = data.applicationData) === null || _data$applicationData0 === void 0 ? void 0 : (_data$applicationData1 = _data$applicationData0.additionalDetails) === null || _data$applicationData1 === void 0 ? void 0 : _data$applicationData1.typeOfArchitect;
|
|
21245
|
+
const ulbselection = (data === null || data === void 0 ? void 0 : (_data$applicationData10 = data.applicationData) === null || _data$applicationData10 === void 0 ? void 0 : (_data$applicationData11 = _data$applicationData10.additionalDetails) === null || _data$applicationData11 === void 0 ? void 0 : _data$applicationData11.Ulblisttype) === "Municipal Corporation" ? "The Municipal Commissioner" : "Executive Officer";
|
|
21246
|
+
const TimeStamp = otpVerifiedTimestamp || (data === null || data === void 0 ? void 0 : (_data$applicationData12 = data.applicationData) === null || _data$applicationData12 === void 0 ? void 0 : (_data$applicationData13 = _data$applicationData12.additionalDetails) === null || _data$applicationData13 === void 0 ? void 0 : _data$applicationData13.TimeStamp) || "";
|
|
21247
|
+
const stakeholderName = (data === null || data === void 0 ? void 0 : (_data$applicationData14 = data.applicationData) === null || _data$applicationData14 === void 0 ? void 0 : (_data$applicationData15 = _data$applicationData14.additionalDetails) === null || _data$applicationData15 === void 0 ? void 0 : _data$applicationData15.stakeholderName) || "NA";
|
|
21270
21248
|
const isCitizenDeclared = sessionStorage.getItem("CitizenConsentdocFilestoreid");
|
|
21249
|
+
const address = (data === null || data === void 0 ? void 0 : (_data$applicationData16 = data.applicationData) === null || _data$applicationData16 === void 0 ? void 0 : (_data$applicationData17 = _data$applicationData16.landInfo) === null || _data$applicationData17 === void 0 ? void 0 : (_data$applicationData18 = _data$applicationData17.owners) === null || _data$applicationData18 === void 0 ? void 0 : (_data$applicationData19 = _data$applicationData18[0]) === null || _data$applicationData19 === void 0 ? void 0 : _data$applicationData19.permanentAddress) || "NA";
|
|
21271
21250
|
const DateOnly = TimeStamp ? (() => {
|
|
21272
21251
|
const date = new Date(TimeStamp);
|
|
21273
21252
|
const day = String(date.getDate()).padStart(2, "0");
|
|
@@ -21275,9 +21254,9 @@ const CitizenConsent = ({
|
|
|
21275
21254
|
const year = date.getFullYear();
|
|
21276
21255
|
return `${day}-${month}-${year}`;
|
|
21277
21256
|
})() : "";
|
|
21278
|
-
console.log("TimeStamp", otpVerifiedTimestamp, params === null || params === void 0 ? void 0 : (_params$
|
|
21257
|
+
console.log("TimeStamp", otpVerifiedTimestamp, params === null || params === void 0 ? void 0 : (_params$additionalDet3 = params.additionalDetails) === null || _params$additionalDet3 === void 0 ? void 0 : _params$additionalDet3.TimeStamp, TimeStamp);
|
|
21279
21258
|
const updatedAdditionalDetails = {
|
|
21280
|
-
...(data === null || data === void 0 ? void 0 : (_data$
|
|
21259
|
+
...(data === null || data === void 0 ? void 0 : (_data$applicationData20 = data.applicationData) === null || _data$applicationData20 === void 0 ? void 0 : _data$applicationData20.additionalDetails),
|
|
21281
21260
|
TimeStamp: otpVerifiedTimestamp
|
|
21282
21261
|
};
|
|
21283
21262
|
const updatedData = {
|
|
@@ -21299,21 +21278,21 @@ const CitizenConsent = ({
|
|
|
21299
21278
|
</div>
|
|
21300
21279
|
|
|
21301
21280
|
<div style="margin-top:-52px;">
|
|
21302
|
-
<p style="margin-bottom:-32px;"><strong>To
|
|
21281
|
+
<p style="margin-bottom:-32px;"><strong>To,</strong></p>
|
|
21303
21282
|
<p style="margin-bottom:-32px;"><strong>${ulbselection || "<ULB Type>"}</strong></p>
|
|
21304
|
-
<p style="margin-bottom:-32px;"><b>${(data === null || data === void 0 ? void 0 : (_data$
|
|
21283
|
+
<p style="margin-bottom:-32px;"><b>${(data === null || data === void 0 ? void 0 : (_data$applicationData21 = data.applicationData) === null || _data$applicationData21 === void 0 ? void 0 : (_data$applicationData22 = _data$applicationData21.additionalDetails) === null || _data$applicationData22 === void 0 ? void 0 : _data$applicationData22.UlbName) || "<ULB Name>"}</b></p>
|
|
21305
21284
|
</div>
|
|
21306
21285
|
|
|
21307
|
-
<p style="margin-top:-50px;"><strong>Dear Sir
|
|
21286
|
+
<p style="margin-top:-50px;"><strong>Dear Sir/Madam,</strong></p>
|
|
21308
21287
|
|
|
21309
21288
|
<p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
|
|
21310
|
-
I/We, Shri/Smt/Kum <b>${(data === null || data === void 0 ? void 0 : (_data$
|
|
21311
|
-
undersigned owner(s) of land bearing Kh. No. <b>${khasranumber}</b> of
|
|
21312
|
-
Ward Number <b>${ward}</b>, City <b>${(data === null || data === void 0 ? void 0 : (_data$
|
|
21289
|
+
I/We, Shri/Smt/Kum <b>${(data === null || data === void 0 ? void 0 : (_data$applicationData23 = data.applicationData) === null || _data$applicationData23 === void 0 ? void 0 : (_data$applicationData24 = _data$applicationData23.landInfo) === null || _data$applicationData24 === void 0 ? void 0 : _data$applicationData24.owners.map(item => item === null || item === void 0 ? void 0 : item.name).join(", ")) || "<Owner Name>"}</b>,
|
|
21290
|
+
undersigned owner(s) of land bearing Kh. No. <b>${khasranumber}</b> of ${data === null || data === void 0 ? void 0 : (_data$applicationData25 = data.applicationData) === null || _data$applicationData25 === void 0 ? void 0 : (_data$applicationData26 = _data$applicationData25.additionalDetails) === null || _data$applicationData26 === void 0 ? void 0 : _data$applicationData26.Ulblisttype} - <b>${data === null || data === void 0 ? void 0 : (_data$applicationData27 = data.applicationData) === null || _data$applicationData27 === void 0 ? void 0 : (_data$applicationData28 = _data$applicationData27.additionalDetails) === null || _data$applicationData28 === void 0 ? void 0 : _data$applicationData28.UlbName}</b>, Area <b>${area}</b> (Sq.mts.),
|
|
21291
|
+
Ward Number <b>${ward}</b>, City <b>${(data === null || data === void 0 ? void 0 : (_data$applicationData29 = data.applicationData) === null || _data$applicationData29 === void 0 ? void 0 : (_data$applicationData30 = _data$applicationData29.additionalDetails) === null || _data$applicationData30 === void 0 ? void 0 : _data$applicationData30.District) || "<City>"}</b>.
|
|
21313
21292
|
</p>
|
|
21314
21293
|
|
|
21315
21294
|
<p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
|
|
21316
|
-
I/We hereby declare that the
|
|
21295
|
+
I/We hereby declare that the Professional's Name <b>${stakeholderName}</b> <b>${architecttype}</b> having Registration No <b>${architectid}</b>
|
|
21317
21296
|
is appointed by me/us and is authorized to make representation/application with regard to aforesaid construction to any of the authorities.
|
|
21318
21297
|
</p>
|
|
21319
21298
|
|
|
@@ -21329,7 +21308,7 @@ const CitizenConsent = ({
|
|
|
21329
21308
|
</ol>
|
|
21330
21309
|
|
|
21331
21310
|
<p style="margin-top:-30px; text-align:justify;">
|
|
21332
|
-
That above stated facts are true and the requisite documents have been uploaded with this
|
|
21311
|
+
That above stated facts are true and the requisite documents have been uploaded with this building plan and nothing has been concealed thereof.
|
|
21333
21312
|
</p>
|
|
21334
21313
|
|
|
21335
21314
|
<p style="margin:10px 0; font-style:italic;">This Document is Verified By OTP at <b>${TimeStamp || "<date time>"}</b></p>
|
|
@@ -21349,12 +21328,20 @@ const CitizenConsent = ({
|
|
|
21349
21328
|
<td style="padding:6px; border-bottom:1px dotted #000;">${ownername}</td>
|
|
21350
21329
|
</tr>
|
|
21351
21330
|
<tr>
|
|
21352
|
-
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">
|
|
21353
|
-
<td style="padding:6px; border-bottom:1px dotted #000;">${
|
|
21331
|
+
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">Application Number:</td>
|
|
21332
|
+
<td style="padding:6px; border-bottom:1px dotted #000;">${applicationnumber}</td>
|
|
21354
21333
|
</tr>
|
|
21355
21334
|
<tr>
|
|
21356
|
-
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">
|
|
21357
|
-
<td style="padding:6px; border-bottom:1px dotted #000;">${
|
|
21335
|
+
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">Address:</td>
|
|
21336
|
+
<td style="padding:6px; border-bottom:1px dotted #000;">${address}</td>
|
|
21337
|
+
</tr>
|
|
21338
|
+
<tr>
|
|
21339
|
+
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">e-Mail:</td>
|
|
21340
|
+
<td style="padding:6px; border-bottom:1px dotted #000;">${ownerEmail}</td>
|
|
21341
|
+
</tr>
|
|
21342
|
+
<tr>
|
|
21343
|
+
<td style="padding:6px; border-bottom:1px dotted #000; font-weight:700;">Mobile:</td>
|
|
21344
|
+
<td style="padding:6px; border-bottom:1px dotted #000;">${ownermobileNumber}</td>
|
|
21358
21345
|
</tr>
|
|
21359
21346
|
<tr>
|
|
21360
21347
|
<td style="padding:6px; font-weight:700;">Signature:</td>
|
|
@@ -22237,7 +22224,7 @@ const BpaApplicationDetail = () => {
|
|
|
22237
22224
|
enabled: !!data
|
|
22238
22225
|
}
|
|
22239
22226
|
});
|
|
22240
|
-
console.log("datata=====", workflowDetails);
|
|
22227
|
+
console.log("datata=====", workflowDetails, data);
|
|
22241
22228
|
const [agree, setAgree] = useState(false);
|
|
22242
22229
|
const setdeclarationhandler = () => {
|
|
22243
22230
|
setAgree(!agree);
|
|
@@ -23501,7 +23488,7 @@ const BpaApplicationDetail = () => {
|
|
|
23501
23488
|
adjustedAmounts: adjustedAmounts,
|
|
23502
23489
|
setAdjustedAmounts: setAdjustedAmounts
|
|
23503
23490
|
})), ((_workflowDetails30 = workflowDetails) === null || _workflowDetails30 === void 0 ? void 0 : (_workflowDetails30$da = _workflowDetails30.data) === null || _workflowDetails30$da === void 0 ? void 0 : (_workflowDetails30$da2 = _workflowDetails30$da.actionState) === null || _workflowDetails30$da2 === void 0 ? void 0 : _workflowDetails30$da2.state) === "CITIZEN_APPROVAL_PENDING" && isUserCitizen && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CardLabel, null, t("ARCHITECT_SHOULD_VERIFY_HIMSELF_BY_CLICKING_BELOW_BUTTON")), /*#__PURE__*/React.createElement(LinkButton, {
|
|
23504
|
-
label: t("
|
|
23491
|
+
label: t("BPA_VERIFY_BUTTON"),
|
|
23505
23492
|
onClick: handleVerifyClick
|
|
23506
23493
|
}), /*#__PURE__*/React.createElement("br", null), showMobileInput && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(CardLabel, null, t("BPA_MOBILE_NUMBER")), /*#__PURE__*/React.createElement(TextInput, Object.assign({
|
|
23507
23494
|
t: t,
|
|
@@ -28909,13 +28896,13 @@ const ActionModal$5 = ({
|
|
|
28909
28896
|
businessService,
|
|
28910
28897
|
moduleCode
|
|
28911
28898
|
}) => {
|
|
28912
|
-
var
|
|
28899
|
+
var _workflowDetails, _workflowDetails$data, _workflowDetails$data2, _workflowDetails$data3, _workflowDetails$data4, _workflowDetails$data5, _workflowDetails$data6;
|
|
28913
28900
|
const {
|
|
28914
28901
|
data: approverData,
|
|
28915
28902
|
isLoading: PTALoading
|
|
28916
28903
|
} = Digit.Hooks.useEmployeeSearch(tenantId, {
|
|
28917
|
-
roles:
|
|
28918
|
-
code:
|
|
28904
|
+
roles: (_workflowDetails = workflowDetails) === null || _workflowDetails === void 0 ? void 0 : (_workflowDetails$data = _workflowDetails.data) === null || _workflowDetails$data === void 0 ? void 0 : (_workflowDetails$data2 = _workflowDetails$data.initialActionState) === null || _workflowDetails$data2 === void 0 ? void 0 : (_workflowDetails$data3 = _workflowDetails$data2.nextActions) === null || _workflowDetails$data3 === void 0 ? void 0 : (_workflowDetails$data4 = _workflowDetails$data3.filter(ele => (ele === null || ele === void 0 ? void 0 : ele.action) == (action === null || action === void 0 ? void 0 : action.action))) === null || _workflowDetails$data4 === void 0 ? void 0 : (_workflowDetails$data5 = _workflowDetails$data4[0]) === null || _workflowDetails$data5 === void 0 ? void 0 : (_workflowDetails$data6 = _workflowDetails$data5.assigneeRoles) === null || _workflowDetails$data6 === void 0 ? void 0 : _workflowDetails$data6.map(role => ({
|
|
28905
|
+
code: role
|
|
28919
28906
|
})),
|
|
28920
28907
|
isActive: true
|
|
28921
28908
|
}, {
|
|
@@ -32285,6 +32272,337 @@ const AssessmentHistory = ({
|
|
|
32285
32272
|
}, "Cancel"), "\xA0\xA0\xA0\xA0\xA0\xA0\xA0 ")), index !== assessmentData.length - 1 && /*#__PURE__*/React.createElement("hr", null)))));
|
|
32286
32273
|
};
|
|
32287
32274
|
|
|
32275
|
+
const ApplicationHistory = ({
|
|
32276
|
+
applicationData
|
|
32277
|
+
}) => {
|
|
32278
|
+
var _applicationData$audi;
|
|
32279
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
32280
|
+
const history = useHistory();
|
|
32281
|
+
const toggleAccordion = () => {
|
|
32282
|
+
setIsOpen(!isOpen);
|
|
32283
|
+
};
|
|
32284
|
+
function formatDate(timestamp) {
|
|
32285
|
+
const date = new Date(timestamp);
|
|
32286
|
+
const options = {
|
|
32287
|
+
day: '2-digit',
|
|
32288
|
+
month: 'short',
|
|
32289
|
+
year: 'numeric'
|
|
32290
|
+
};
|
|
32291
|
+
return date.toLocaleDateString('en-GB', options).replace(/ /g, '-');
|
|
32292
|
+
}
|
|
32293
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
32294
|
+
className: "accordion",
|
|
32295
|
+
style: {
|
|
32296
|
+
width: "100%",
|
|
32297
|
+
margin: "auto",
|
|
32298
|
+
fontFamily: "Roboto, sans-serif",
|
|
32299
|
+
border: "1px solid #ccc",
|
|
32300
|
+
borderRadius: "4px",
|
|
32301
|
+
marginBottom: '10px'
|
|
32302
|
+
}
|
|
32303
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32304
|
+
className: "accordion-header",
|
|
32305
|
+
style: {
|
|
32306
|
+
backgroundColor: "#f0f0f0",
|
|
32307
|
+
padding: "15px",
|
|
32308
|
+
cursor: "pointer"
|
|
32309
|
+
},
|
|
32310
|
+
onClick: toggleAccordion
|
|
32311
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32312
|
+
style: {
|
|
32313
|
+
display: "flex",
|
|
32314
|
+
justifyContent: "space-between",
|
|
32315
|
+
alignItems: 'center'
|
|
32316
|
+
}
|
|
32317
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
32318
|
+
style: {
|
|
32319
|
+
color: '#0d43a7',
|
|
32320
|
+
fontFamily: 'Noto Sans,sans-serif',
|
|
32321
|
+
fontSize: '24px',
|
|
32322
|
+
fontWeight: '500'
|
|
32323
|
+
}
|
|
32324
|
+
}, "Application History"), /*#__PURE__*/React.createElement("span", {
|
|
32325
|
+
style: {
|
|
32326
|
+
fontSize: '1.2em'
|
|
32327
|
+
}
|
|
32328
|
+
}, isOpen ? "<" : ">"))), isOpen && /*#__PURE__*/React.createElement("div", {
|
|
32329
|
+
className: "accordion-body",
|
|
32330
|
+
style: {
|
|
32331
|
+
padding: " 15px",
|
|
32332
|
+
backgroundColor: "#fff"
|
|
32333
|
+
}
|
|
32334
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32335
|
+
className: "assessment-item",
|
|
32336
|
+
style: {
|
|
32337
|
+
marginBottom: "15px"
|
|
32338
|
+
}
|
|
32339
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32340
|
+
className: "assessment-row",
|
|
32341
|
+
style: {
|
|
32342
|
+
display: "flex",
|
|
32343
|
+
gap: "100px",
|
|
32344
|
+
marginBottom: "8px"
|
|
32345
|
+
}
|
|
32346
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32347
|
+
style: {
|
|
32348
|
+
fontWeight: "bold",
|
|
32349
|
+
minWidth: '60px',
|
|
32350
|
+
color: 'black'
|
|
32351
|
+
}
|
|
32352
|
+
}, "Application Number"), /*#__PURE__*/React.createElement("span", {
|
|
32353
|
+
style: {
|
|
32354
|
+
flex: '1',
|
|
32355
|
+
color: 'black'
|
|
32356
|
+
}
|
|
32357
|
+
}, applicationData.acknowldgementNumber)), /*#__PURE__*/React.createElement("div", {
|
|
32358
|
+
className: "assessment-row",
|
|
32359
|
+
style: {
|
|
32360
|
+
display: "flex",
|
|
32361
|
+
gap: "132px",
|
|
32362
|
+
marginBottom: "8px",
|
|
32363
|
+
color: 'black'
|
|
32364
|
+
}
|
|
32365
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32366
|
+
className: "label",
|
|
32367
|
+
style: {
|
|
32368
|
+
fontWeight: "bold",
|
|
32369
|
+
minWidth: '60px',
|
|
32370
|
+
color: 'black'
|
|
32371
|
+
}
|
|
32372
|
+
}, "Property ID No."), /*#__PURE__*/React.createElement("span", {
|
|
32373
|
+
className: "value",
|
|
32374
|
+
style: {
|
|
32375
|
+
flex: '1',
|
|
32376
|
+
color: 'black'
|
|
32377
|
+
}
|
|
32378
|
+
}, applicationData.propertyId)), /*#__PURE__*/React.createElement("div", {
|
|
32379
|
+
className: "assessment-row",
|
|
32380
|
+
style: {
|
|
32381
|
+
display: "flex",
|
|
32382
|
+
gap: "120px",
|
|
32383
|
+
marginBottom: "8px",
|
|
32384
|
+
color: 'black'
|
|
32385
|
+
}
|
|
32386
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32387
|
+
className: "label",
|
|
32388
|
+
style: {
|
|
32389
|
+
fontWeight: "bold",
|
|
32390
|
+
minWidth: '60px',
|
|
32391
|
+
color: 'black'
|
|
32392
|
+
}
|
|
32393
|
+
}, "Application Type"), /*#__PURE__*/React.createElement("span", {
|
|
32394
|
+
className: "value",
|
|
32395
|
+
style: {
|
|
32396
|
+
flex: '1',
|
|
32397
|
+
color: 'black'
|
|
32398
|
+
}
|
|
32399
|
+
}, "NEW PROPERTY")), /*#__PURE__*/React.createElement("div", {
|
|
32400
|
+
className: "assessment-row",
|
|
32401
|
+
style: {
|
|
32402
|
+
display: "flex",
|
|
32403
|
+
gap: "140px",
|
|
32404
|
+
marginBottom: "8px",
|
|
32405
|
+
color: 'black'
|
|
32406
|
+
}
|
|
32407
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32408
|
+
className: "label",
|
|
32409
|
+
style: {
|
|
32410
|
+
fontWeight: "bold",
|
|
32411
|
+
minWidth: '60px',
|
|
32412
|
+
color: 'black'
|
|
32413
|
+
}
|
|
32414
|
+
}, "Creation Date"), /*#__PURE__*/React.createElement("span", {
|
|
32415
|
+
className: "value",
|
|
32416
|
+
style: {
|
|
32417
|
+
flex: '1',
|
|
32418
|
+
color: 'black'
|
|
32419
|
+
}
|
|
32420
|
+
}, formatDate((_applicationData$audi = applicationData.auditDetails) === null || _applicationData$audi === void 0 ? void 0 : _applicationData$audi.createdTime))), /*#__PURE__*/React.createElement("div", {
|
|
32421
|
+
className: "assessment-row",
|
|
32422
|
+
style: {
|
|
32423
|
+
display: "flex",
|
|
32424
|
+
gap: "180px",
|
|
32425
|
+
marginBottom: "8px",
|
|
32426
|
+
color: 'black'
|
|
32427
|
+
}
|
|
32428
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32429
|
+
className: "label",
|
|
32430
|
+
style: {
|
|
32431
|
+
fontWeight: "bold",
|
|
32432
|
+
minWidth: '60px',
|
|
32433
|
+
color: 'black'
|
|
32434
|
+
}
|
|
32435
|
+
}, "Status"), /*#__PURE__*/React.createElement("span", {
|
|
32436
|
+
className: "value",
|
|
32437
|
+
style: {
|
|
32438
|
+
flex: '1',
|
|
32439
|
+
color: 'black'
|
|
32440
|
+
}
|
|
32441
|
+
}, applicationData.status)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Link$1, {
|
|
32442
|
+
to: {
|
|
32443
|
+
pathname: `/digit-ui/citizen/pt/property/application-preview/${applicationData.acknowldgementNumber}`,
|
|
32444
|
+
state: {
|
|
32445
|
+
propertyId: applicationData.propertyId
|
|
32446
|
+
}
|
|
32447
|
+
},
|
|
32448
|
+
style: {
|
|
32449
|
+
color: '#2947a3',
|
|
32450
|
+
display: 'inline',
|
|
32451
|
+
border: '1px solid',
|
|
32452
|
+
padding: '8px',
|
|
32453
|
+
borderRadius: '8px'
|
|
32454
|
+
}
|
|
32455
|
+
}, "View History")))));
|
|
32456
|
+
};
|
|
32457
|
+
|
|
32458
|
+
const PaymentHistory = ({
|
|
32459
|
+
payments
|
|
32460
|
+
}) => {
|
|
32461
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
32462
|
+
const toggleAccordion = () => {
|
|
32463
|
+
setIsOpen(!isOpen);
|
|
32464
|
+
};
|
|
32465
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
32466
|
+
className: "accordion",
|
|
32467
|
+
style: {
|
|
32468
|
+
width: "100%",
|
|
32469
|
+
margin: "auto",
|
|
32470
|
+
fontFamily: "Roboto, sans-serif",
|
|
32471
|
+
border: "1px solid #ccc",
|
|
32472
|
+
borderRadius: "4px",
|
|
32473
|
+
marginBottom: '10px'
|
|
32474
|
+
}
|
|
32475
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32476
|
+
className: "accordion-header",
|
|
32477
|
+
style: {
|
|
32478
|
+
backgroundColor: "#f0f0f0",
|
|
32479
|
+
padding: "15px",
|
|
32480
|
+
cursor: "pointer"
|
|
32481
|
+
},
|
|
32482
|
+
onClick: toggleAccordion
|
|
32483
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
32484
|
+
style: {
|
|
32485
|
+
display: "flex",
|
|
32486
|
+
justifyContent: "space-between",
|
|
32487
|
+
alignItems: 'center'
|
|
32488
|
+
}
|
|
32489
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
32490
|
+
style: {
|
|
32491
|
+
color: '#0d43a7',
|
|
32492
|
+
fontFamily: 'Noto Sans,sans-serif',
|
|
32493
|
+
fontSize: '24px',
|
|
32494
|
+
fontWeight: '500'
|
|
32495
|
+
}
|
|
32496
|
+
}, "Payment History"), /*#__PURE__*/React.createElement("span", {
|
|
32497
|
+
style: {
|
|
32498
|
+
fontSize: '1.2em'
|
|
32499
|
+
}
|
|
32500
|
+
}, isOpen ? "<" : ">"))), isOpen && /*#__PURE__*/React.createElement("div", {
|
|
32501
|
+
className: "accordion-body",
|
|
32502
|
+
style: {
|
|
32503
|
+
padding: " 15px",
|
|
32504
|
+
backgroundColor: "#fff"
|
|
32505
|
+
}
|
|
32506
|
+
}, (payments === null || payments === void 0 ? void 0 : payments.length) === 0 && /*#__PURE__*/React.createElement("div", {
|
|
32507
|
+
style: {
|
|
32508
|
+
color: 'red',
|
|
32509
|
+
fontSize: '16px'
|
|
32510
|
+
}
|
|
32511
|
+
}, "No Payments found"), (payments === null || payments === void 0 ? void 0 : payments.length) > 0 && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("table", {
|
|
32512
|
+
style: {
|
|
32513
|
+
width: '100%',
|
|
32514
|
+
borderCollapse: 'collapse',
|
|
32515
|
+
marginTop: '10px'
|
|
32516
|
+
}
|
|
32517
|
+
}, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement("tr", {
|
|
32518
|
+
style: {
|
|
32519
|
+
backgroundColor: '#f5f5f5'
|
|
32520
|
+
}
|
|
32521
|
+
}, /*#__PURE__*/React.createElement("th", {
|
|
32522
|
+
style: {
|
|
32523
|
+
border: '1px solid #ddd',
|
|
32524
|
+
padding: '8px',
|
|
32525
|
+
textAlign: 'left'
|
|
32526
|
+
}
|
|
32527
|
+
}, "Receipt Number"), /*#__PURE__*/React.createElement("th", {
|
|
32528
|
+
style: {
|
|
32529
|
+
border: '1px solid #ddd',
|
|
32530
|
+
padding: '8px',
|
|
32531
|
+
textAlign: 'left'
|
|
32532
|
+
}
|
|
32533
|
+
}, "Transaction Date"), /*#__PURE__*/React.createElement("th", {
|
|
32534
|
+
style: {
|
|
32535
|
+
border: '1px solid #ddd',
|
|
32536
|
+
padding: '8px',
|
|
32537
|
+
textAlign: 'left'
|
|
32538
|
+
}
|
|
32539
|
+
}, "Amount Paid"), /*#__PURE__*/React.createElement("th", {
|
|
32540
|
+
style: {
|
|
32541
|
+
border: '1px solid #ddd',
|
|
32542
|
+
padding: '8px',
|
|
32543
|
+
textAlign: 'left'
|
|
32544
|
+
}
|
|
32545
|
+
}, "Payment Mode"), /*#__PURE__*/React.createElement("th", {
|
|
32546
|
+
style: {
|
|
32547
|
+
border: '1px solid #ddd',
|
|
32548
|
+
padding: '8px',
|
|
32549
|
+
textAlign: 'left'
|
|
32550
|
+
}
|
|
32551
|
+
}, "Transaction ID"), /*#__PURE__*/React.createElement("th", {
|
|
32552
|
+
style: {
|
|
32553
|
+
border: '1px solid #ddd',
|
|
32554
|
+
padding: '8px',
|
|
32555
|
+
textAlign: 'left'
|
|
32556
|
+
}
|
|
32557
|
+
}, "Status"))), /*#__PURE__*/React.createElement("tbody", null, payments.map((payment, index) => {
|
|
32558
|
+
var _payment$paymentDetai, _payment$paymentDetai2;
|
|
32559
|
+
return /*#__PURE__*/React.createElement("tr", {
|
|
32560
|
+
key: payment.id || index
|
|
32561
|
+
}, /*#__PURE__*/React.createElement("td", {
|
|
32562
|
+
style: {
|
|
32563
|
+
border: '1px solid #ddd',
|
|
32564
|
+
padding: '8px'
|
|
32565
|
+
}
|
|
32566
|
+
}, ((_payment$paymentDetai = payment.paymentDetails) === null || _payment$paymentDetai === void 0 ? void 0 : (_payment$paymentDetai2 = _payment$paymentDetai[0]) === null || _payment$paymentDetai2 === void 0 ? void 0 : _payment$paymentDetai2.receiptNumber) || payment.receiptNumber || 'N/A'), /*#__PURE__*/React.createElement("td", {
|
|
32567
|
+
style: {
|
|
32568
|
+
border: '1px solid #ddd',
|
|
32569
|
+
padding: '8px'
|
|
32570
|
+
}
|
|
32571
|
+
}, payment.transactionDate ? new Date(payment.transactionDate).toLocaleDateString() : 'N/A'), /*#__PURE__*/React.createElement("td", {
|
|
32572
|
+
style: {
|
|
32573
|
+
border: '1px solid #ddd',
|
|
32574
|
+
padding: '8px'
|
|
32575
|
+
}
|
|
32576
|
+
}, "\u20B9", payment.totalAmountPaid || payment.amount || '0'), /*#__PURE__*/React.createElement("td", {
|
|
32577
|
+
style: {
|
|
32578
|
+
border: '1px solid #ddd',
|
|
32579
|
+
padding: '8px'
|
|
32580
|
+
}
|
|
32581
|
+
}, payment.paymentMode || payment.instrumentType || 'N/A'), /*#__PURE__*/React.createElement("td", {
|
|
32582
|
+
style: {
|
|
32583
|
+
border: '1px solid #ddd',
|
|
32584
|
+
padding: '8px'
|
|
32585
|
+
}
|
|
32586
|
+
}, payment.transactionNumber || payment.instrumentNumber || 'N/A'), /*#__PURE__*/React.createElement("td", {
|
|
32587
|
+
style: {
|
|
32588
|
+
border: '1px solid #ddd',
|
|
32589
|
+
padding: '8px'
|
|
32590
|
+
}
|
|
32591
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
32592
|
+
style: {
|
|
32593
|
+
color: payment.paymentStatus === 'NEW' || payment.paymentStatus === 'SUCCESSFUL' ? 'green' : payment.paymentStatus === 'FAILED' ? 'red' : 'orange',
|
|
32594
|
+
fontWeight: 'bold'
|
|
32595
|
+
}
|
|
32596
|
+
}, payment.paymentStatus || 'N/A')));
|
|
32597
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
32598
|
+
style: {
|
|
32599
|
+
marginTop: '10px',
|
|
32600
|
+
fontSize: '14px',
|
|
32601
|
+
color: '#666'
|
|
32602
|
+
}
|
|
32603
|
+
}, "Total Payments: ", payments.length))));
|
|
32604
|
+
};
|
|
32605
|
+
|
|
32288
32606
|
function ApplicationDetailsContent({
|
|
32289
32607
|
applicationDetails,
|
|
32290
32608
|
demandData,
|
|
@@ -32312,7 +32630,30 @@ function ApplicationDetailsContent({
|
|
|
32312
32630
|
const [showToast, setShowToast] = useState(null);
|
|
32313
32631
|
const [payments, setPayments] = useState([]);
|
|
32314
32632
|
let isEditApplication = window.location.href.includes("editApplication") && window.location.href.includes("bpa");
|
|
32315
|
-
|
|
32633
|
+
useEffect(() => {
|
|
32634
|
+
const fetchPaymentHistory = async () => {
|
|
32635
|
+
if (window.location.href.includes("employee/ws") && applicationData !== null && applicationData !== void 0 && applicationData.connectionNo) {
|
|
32636
|
+
try {
|
|
32637
|
+
const businessService = (applicationData === null || applicationData === void 0 ? void 0 : applicationData.serviceType) === "SEWERAGE" ? "SW" : "WS";
|
|
32638
|
+
const requestParams = {
|
|
32639
|
+
tenantId: (applicationData === null || applicationData === void 0 ? void 0 : applicationData.tenantId) || tenantId,
|
|
32640
|
+
consumerCodes: applicationData === null || applicationData === void 0 ? void 0 : applicationData.connectionNo,
|
|
32641
|
+
businessService: businessService,
|
|
32642
|
+
consumerCode: applicationData === null || applicationData === void 0 ? void 0 : applicationData.connectionNo
|
|
32643
|
+
};
|
|
32644
|
+
const paymentData = await Digit.WSService.paymentsearch(requestParams);
|
|
32645
|
+
if (Array.isArray(paymentData) && paymentData.length > 0) {
|
|
32646
|
+
setPayments(paymentData);
|
|
32647
|
+
} else if (paymentData !== null && paymentData !== void 0 && paymentData.Payments && paymentData.Payments.length > 0) {
|
|
32648
|
+
setPayments(paymentData.Payments);
|
|
32649
|
+
}
|
|
32650
|
+
} catch (error) {
|
|
32651
|
+
console.error("Payment fetch error:", error);
|
|
32652
|
+
}
|
|
32653
|
+
}
|
|
32654
|
+
};
|
|
32655
|
+
fetchPaymentHistory();
|
|
32656
|
+
}, [applicationData === null || applicationData === void 0 ? void 0 : applicationData.connectionNo, applicationData === null || applicationData === void 0 ? void 0 : applicationData.tenantId, applicationData === null || applicationData === void 0 ? void 0 : applicationData.serviceType, tenantId]);
|
|
32316
32657
|
function OpenImage(imageSource, index, thumbnailsToShow) {
|
|
32317
32658
|
var _thumbnailsToShow$ful;
|
|
32318
32659
|
window.open(thumbnailsToShow === null || thumbnailsToShow === void 0 ? void 0 : (_thumbnailsToShow$ful = thumbnailsToShow.fullImage) === null || _thumbnailsToShow$ful === void 0 ? void 0 : _thumbnailsToShow$ful[0], "_blank");
|
|
@@ -32330,7 +32671,7 @@ function ApplicationDetailsContent({
|
|
|
32330
32671
|
});
|
|
32331
32672
|
let billData = {};
|
|
32332
32673
|
if ((assessmentData === null || assessmentData === void 0 ? void 0 : (_assessmentData$Asses = assessmentData.Assessments) === null || _assessmentData$Asses === void 0 ? void 0 : _assessmentData$Asses.length) > 0) {
|
|
32333
|
-
const activeRecords = assessmentData.Assessments.filter(a => a.status ===
|
|
32674
|
+
const activeRecords = assessmentData.Assessments.filter(a => a.status === "ACTIVE");
|
|
32334
32675
|
function normalizeDate(timestamp) {
|
|
32335
32676
|
const date = new Date(timestamp);
|
|
32336
32677
|
date.setHours(0, 0, 0, 0);
|
|
@@ -32345,10 +32686,8 @@ function ApplicationDetailsContent({
|
|
|
32345
32686
|
latestMap.set(key, record);
|
|
32346
32687
|
}
|
|
32347
32688
|
});
|
|
32348
|
-
console.log("grouped", latestMap);
|
|
32349
32689
|
const filteredAssessment = Array.from(latestMap.values());
|
|
32350
32690
|
setFiltered(filteredAssessment);
|
|
32351
|
-
console.log(filteredAssessment);
|
|
32352
32691
|
setAssessmentDetails(assessmentData === null || assessmentData === void 0 ? void 0 : assessmentData.Assessments);
|
|
32353
32692
|
billData = await Digit.PaymentService.fetchBill(tenantId, {
|
|
32354
32693
|
businessService: "PT",
|
|
@@ -32395,6 +32734,7 @@ function ApplicationDetailsContent({
|
|
|
32395
32734
|
return `${day}/${month}/${year}`;
|
|
32396
32735
|
};
|
|
32397
32736
|
const getTimelineCaptions = (checkpoint, index = 0, timeline) => {
|
|
32737
|
+
if (!checkpoint) return null;
|
|
32398
32738
|
if (checkpoint.state === "OPEN" || checkpoint.status === "INITIATED" && !window.location.href.includes("/obps/")) {
|
|
32399
32739
|
var _applicationData$audi;
|
|
32400
32740
|
const caption = {
|
|
@@ -32405,7 +32745,7 @@ function ApplicationDetailsContent({
|
|
|
32405
32745
|
data: caption
|
|
32406
32746
|
});
|
|
32407
32747
|
} else if (window.location.href.includes("/obps/") || window.location.href.includes("/noc/") || window.location.href.includes("/ws/")) {
|
|
32408
|
-
var _checkpoint$assignes, _checkpoint$assignes$, _checkpoint$auditDeta, _checkpoint$assignes2, _checkpoint$assignes3;
|
|
32748
|
+
var _checkpoint$assignes, _checkpoint$assignes$, _checkpoint$auditDeta, _checkpoint$assignes2, _checkpoint$assignes3, _applicationData$proc, _applicationData$proc2, _applicationData$proc3, _checkpoint$assignes4, _checkpoint$assignes5, _applicationData$proc4, _applicationData$proc5, _applicationData$proc6, _applicationData$proc7, _applicationData$proc8, _applicationData$proc9, _checkpoint$assignes6, _checkpoint$assignes7;
|
|
32409
32749
|
const privacy = {
|
|
32410
32750
|
uuid: checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes = checkpoint.assignes) === null || _checkpoint$assignes === void 0 ? void 0 : (_checkpoint$assignes$ = _checkpoint$assignes[0]) === null || _checkpoint$assignes$ === void 0 ? void 0 : _checkpoint$assignes$.uuid,
|
|
32411
32751
|
fieldName: "mobileNumber",
|
|
@@ -32428,13 +32768,14 @@ function ApplicationDetailsContent({
|
|
|
32428
32768
|
}
|
|
32429
32769
|
}
|
|
32430
32770
|
};
|
|
32431
|
-
const previousCheckpoint = timeline
|
|
32771
|
+
const previousCheckpoint = timeline && Array.isArray(timeline) && index > 0 && index - 1 < timeline.length ? timeline[index - 1] : null;
|
|
32432
32772
|
const caption = {
|
|
32433
32773
|
date: checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$auditDeta = checkpoint.auditDetails) === null || _checkpoint$auditDeta === void 0 ? void 0 : _checkpoint$auditDeta.lastModified,
|
|
32434
|
-
name: checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes2 = checkpoint.assignes) === null || _checkpoint$assignes2 === void 0 ? void 0 : (_checkpoint$assignes3 = _checkpoint$assignes2[0]) === null || _checkpoint$assignes3 === void 0 ? void 0 : _checkpoint$assignes3.name,
|
|
32435
|
-
|
|
32436
|
-
|
|
32437
|
-
|
|
32774
|
+
name: (checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes2 = checkpoint.assignes) === null || _checkpoint$assignes2 === void 0 ? void 0 : (_checkpoint$assignes3 = _checkpoint$assignes2[0]) === null || _checkpoint$assignes3 === void 0 ? void 0 : _checkpoint$assignes3.name) || "N/A",
|
|
32775
|
+
mobileNumber: (applicationData === null || applicationData === void 0 ? void 0 : (_applicationData$proc = applicationData.processInstance) === null || _applicationData$proc === void 0 ? void 0 : (_applicationData$proc2 = _applicationData$proc.assignes) === null || _applicationData$proc2 === void 0 ? void 0 : (_applicationData$proc3 = _applicationData$proc2[0]) === null || _applicationData$proc3 === void 0 ? void 0 : _applicationData$proc3.uuid) === (checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes4 = checkpoint.assignes) === null || _checkpoint$assignes4 === void 0 ? void 0 : (_checkpoint$assignes5 = _checkpoint$assignes4[0]) === null || _checkpoint$assignes5 === void 0 ? void 0 : _checkpoint$assignes5.uuid) && applicationData !== null && applicationData !== void 0 && (_applicationData$proc4 = applicationData.processInstance) !== null && _applicationData$proc4 !== void 0 && (_applicationData$proc5 = _applicationData$proc4.assignes) !== null && _applicationData$proc5 !== void 0 && (_applicationData$proc6 = _applicationData$proc5[0]) !== null && _applicationData$proc6 !== void 0 && _applicationData$proc6.mobileNumber ? applicationData === null || applicationData === void 0 ? void 0 : (_applicationData$proc7 = applicationData.processInstance) === null || _applicationData$proc7 === void 0 ? void 0 : (_applicationData$proc8 = _applicationData$proc7.assignes) === null || _applicationData$proc8 === void 0 ? void 0 : (_applicationData$proc9 = _applicationData$proc8[0]) === null || _applicationData$proc9 === void 0 ? void 0 : _applicationData$proc9.mobileNumber : (checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes6 = checkpoint.assignes) === null || _checkpoint$assignes6 === void 0 ? void 0 : (_checkpoint$assignes7 = _checkpoint$assignes6[0]) === null || _checkpoint$assignes7 === void 0 ? void 0 : _checkpoint$assignes7.mobileNumber) || "N/A",
|
|
32776
|
+
comment: checkpoint !== null && checkpoint !== void 0 && checkpoint.comment ? t(checkpoint.comment) : "N/A",
|
|
32777
|
+
wfComment: previousCheckpoint ? previousCheckpoint.wfComment || [] : [],
|
|
32778
|
+
thumbnailsToShow: (checkpoint === null || checkpoint === void 0 ? void 0 : checkpoint.thumbnailsToShow) || []
|
|
32438
32779
|
};
|
|
32439
32780
|
return /*#__PURE__*/React.createElement(TLCaption, {
|
|
32440
32781
|
data: caption,
|
|
@@ -32442,12 +32783,12 @@ function ApplicationDetailsContent({
|
|
|
32442
32783
|
privacy: privacy
|
|
32443
32784
|
});
|
|
32444
32785
|
} else {
|
|
32445
|
-
var _applicationData$audi2, _checkpoint$
|
|
32786
|
+
var _applicationData$audi2, _checkpoint$assignes8, _checkpoint$assignes9, _checkpoint$assignes0, _checkpoint$assignes1;
|
|
32446
32787
|
const caption = {
|
|
32447
32788
|
date: convertEpochToDateDMY(applicationData === null || applicationData === void 0 ? void 0 : (_applicationData$audi2 = applicationData.auditDetails) === null || _applicationData$audi2 === void 0 ? void 0 : _applicationData$audi2.lastModifiedTime),
|
|
32448
|
-
name: checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$
|
|
32449
|
-
wfComment: checkpoint === null || checkpoint === void 0 ? void 0 : checkpoint.wfComment,
|
|
32450
|
-
mobileNumber: checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$
|
|
32789
|
+
name: (checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes8 = checkpoint.assignes) === null || _checkpoint$assignes8 === void 0 ? void 0 : (_checkpoint$assignes9 = _checkpoint$assignes8[0]) === null || _checkpoint$assignes9 === void 0 ? void 0 : _checkpoint$assignes9.name) || "N/A",
|
|
32790
|
+
wfComment: (checkpoint === null || checkpoint === void 0 ? void 0 : checkpoint.wfComment) || [],
|
|
32791
|
+
mobileNumber: (checkpoint === null || checkpoint === void 0 ? void 0 : (_checkpoint$assignes0 = checkpoint.assignes) === null || _checkpoint$assignes0 === void 0 ? void 0 : (_checkpoint$assignes1 = _checkpoint$assignes0[0]) === null || _checkpoint$assignes1 === void 0 ? void 0 : _checkpoint$assignes1.mobileNumber) || "N/A"
|
|
32451
32792
|
};
|
|
32452
32793
|
return /*#__PURE__*/React.createElement(TLCaption, {
|
|
32453
32794
|
data: caption
|
|
@@ -32537,7 +32878,6 @@ function ApplicationDetailsContent({
|
|
|
32537
32878
|
const toggleTimeline = () => {
|
|
32538
32879
|
setShowAllTimeline(prev => !prev);
|
|
32539
32880
|
};
|
|
32540
|
-
console.log("demand Data arr", demandData);
|
|
32541
32881
|
const totalDemandInterest = demandData === null || demandData === void 0 ? void 0 : demandData.reduce((sum, item) => sum + item.demandInterest, 0);
|
|
32542
32882
|
const totalDemandPenality = demandData === null || demandData === void 0 ? void 0 : demandData.reduce((sum, item) => sum + item.demandPenality, 0);
|
|
32543
32883
|
const totalCollectionTax = demandData === null || demandData === void 0 ? void 0 : demandData.reduce((sum, item) => sum + item.collectionTax, 0);
|
|
@@ -32574,7 +32914,6 @@ function ApplicationDetailsContent({
|
|
|
32574
32914
|
...payload
|
|
32575
32915
|
}
|
|
32576
32916
|
}, tenantId, propertyIds);
|
|
32577
|
-
console.log("response from inactive/active", response);
|
|
32578
32917
|
};
|
|
32579
32918
|
const applicationData_pt = applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationData;
|
|
32580
32919
|
const propertyIds = (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a2 = applicationDetails.applicationData) === null || _applicationDetails$a2 === void 0 ? void 0 : _applicationDetails$a2.propertyId) || "";
|
|
@@ -32637,9 +32976,6 @@ function ApplicationDetailsContent({
|
|
|
32637
32976
|
const AccessProperty = () => {
|
|
32638
32977
|
alert("access property");
|
|
32639
32978
|
};
|
|
32640
|
-
console.log("applicationDetails?.applicationDetails", applicationDetails, businessService);
|
|
32641
|
-
console.log("infolabel", isInfoLabel);
|
|
32642
|
-
console.log("assessment details", assessmentDetails);
|
|
32643
32979
|
useEffect(() => {
|
|
32644
32980
|
try {
|
|
32645
32981
|
let filters = {
|
|
@@ -32662,12 +32998,9 @@ function ApplicationDetailsContent({
|
|
|
32662
32998
|
auth: auth
|
|
32663
32999
|
}).then(response => {
|
|
32664
33000
|
setPayments(response === null || response === void 0 ? void 0 : response.Payments);
|
|
32665
|
-
console.log(response);
|
|
32666
33001
|
});
|
|
32667
33002
|
}
|
|
32668
|
-
} catch (error) {
|
|
32669
|
-
console.log(error);
|
|
32670
|
-
}
|
|
33003
|
+
} catch (error) {}
|
|
32671
33004
|
}, []);
|
|
32672
33005
|
return /*#__PURE__*/React.createElement(Card, {
|
|
32673
33006
|
style: {
|
|
@@ -32896,6 +33229,10 @@ function ApplicationDetailsContent({
|
|
|
32896
33229
|
}));
|
|
32897
33230
|
}), (assessmentDetails === null || assessmentDetails === void 0 ? void 0 : assessmentDetails.length) > 0 && /*#__PURE__*/React.createElement(AssessmentHistory, {
|
|
32898
33231
|
assessmentData: filtered
|
|
33232
|
+
}), /*#__PURE__*/React.createElement(PaymentHistory, {
|
|
33233
|
+
payments: payments
|
|
33234
|
+
}), /*#__PURE__*/React.createElement(ApplicationHistory, {
|
|
33235
|
+
applicationData: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationData
|
|
32899
33236
|
}), showTimeLine && (workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data3 = workflowDetails.data) === null || _workflowDetails$data3 === void 0 ? void 0 : (_workflowDetails$data4 = _workflowDetails$data3.timeline) === null || _workflowDetails$data4 === void 0 ? void 0 : _workflowDetails$data4.length) > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(BreakLine, null), ((workflowDetails === null || workflowDetails === void 0 ? void 0 : workflowDetails.isLoading) || isDataLoading) && /*#__PURE__*/React.createElement(Loader, null), !(workflowDetails !== null && workflowDetails !== void 0 && workflowDetails.isLoading) && !isDataLoading && /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
32900
33237
|
id: "timeline"
|
|
32901
33238
|
}, /*#__PURE__*/React.createElement(CardSectionHeader, {
|
|
@@ -33222,7 +33559,6 @@ function ApplicationDetailsWarningPopup({
|
|
|
33222
33559
|
|
|
33223
33560
|
const ApplicationDetails$1 = props => {
|
|
33224
33561
|
var _workflowDetails$data, _blockReason$BPA;
|
|
33225
|
-
console.log("props", props);
|
|
33226
33562
|
let isEditApplication = window.location.href.includes("editApplication") && window.location.href.includes("bpa");
|
|
33227
33563
|
const tenantId = Digit.ULBService.getCurrentTenantId();
|
|
33228
33564
|
const state = Digit.ULBService.getStateId();
|
|
@@ -33276,7 +33612,7 @@ const ApplicationDetails$1 = props => {
|
|
|
33276
33612
|
propertyId
|
|
33277
33613
|
} = props;
|
|
33278
33614
|
useEffect(() => {
|
|
33279
|
-
if (showToast) {
|
|
33615
|
+
if (showToast && workflowDetails && workflowDetails.revalidate) {
|
|
33280
33616
|
workflowDetails.revalidate();
|
|
33281
33617
|
}
|
|
33282
33618
|
}, [showToast]);
|
|
@@ -33307,7 +33643,6 @@ const ApplicationDetails$1 = props => {
|
|
|
33307
33643
|
} else if (!(action !== null && action !== void 0 && action.redirectionUrl) && (action === null || action === void 0 ? void 0 : action.action) != "EDIT PAY 2") {
|
|
33308
33644
|
setShowModal(true);
|
|
33309
33645
|
} else if ((action === null || action === void 0 ? void 0 : (_action$redirectionUr8 = action.redirectionUrl) === null || _action$redirectionUr8 === void 0 ? void 0 : (_action$redirectionUr9 = _action$redirectionUr8.state) === null || _action$redirectionUr9 === void 0 ? void 0 : (_action$redirectionUr0 = _action$redirectionUr9.applicationData) === null || _action$redirectionUr0 === void 0 ? void 0 : _action$redirectionUr0.workflowCode) === "DIRECTRENEWAL") {
|
|
33310
|
-
console.log("Got Inside Direct");
|
|
33311
33646
|
setShowModal(true);
|
|
33312
33647
|
} else {
|
|
33313
33648
|
var _action$redirectionUr1, _action$redirectionUr10;
|
|
@@ -33458,6 +33793,18 @@ const ApplicationDetails$1 = props => {
|
|
|
33458
33793
|
});
|
|
33459
33794
|
clearDataDetails && setTimeout(clearDataDetails, 3000);
|
|
33460
33795
|
setTimeout(closeToast, 5000);
|
|
33796
|
+
try {
|
|
33797
|
+
const svc = (businessService || "").toUpperCase();
|
|
33798
|
+
const act = ((selectedAction === null || selectedAction === void 0 ? void 0 : selectedAction.action) || "").toUpperCase();
|
|
33799
|
+
if (svc.includes("DISCONNECT") && (act.includes("APPROVE") || act.includes("EXECUTE") || act.includes("APPROVE_CONNECTION"))) {
|
|
33800
|
+
setTimeout(() => {
|
|
33801
|
+
var _window;
|
|
33802
|
+
if ((_window = window) !== null && _window !== void 0 && _window.location) {
|
|
33803
|
+
window.location.href = "https://mseva.lgpunjab.gov.in/employee/inbox";
|
|
33804
|
+
}
|
|
33805
|
+
}, 3000);
|
|
33806
|
+
}
|
|
33807
|
+
} catch (e) {}
|
|
33461
33808
|
queryClient.clear();
|
|
33462
33809
|
queryClient.refetchQueries("APPLICATION_SEARCH");
|
|
33463
33810
|
}
|
|
@@ -35746,7 +36093,7 @@ const Architectconcent = ({
|
|
|
35746
36093
|
currentStepData,
|
|
35747
36094
|
formData
|
|
35748
36095
|
}) => {
|
|
35749
|
-
var _user$info, _user$info2, _currentStepData$crea, _currentStepData$crea2, _currentStepData$crea3, _currentStepData$crea4, _currentStepData$crea5, _currentStepData$crea6, _currentStepData$crea7, _currentStepData$crea8, _currentStepData$crea9, _currentStepData$crea0, _currentStepData$crea1, _currentStepData$crea10, _user$info3, _user$info3$roles, _user$info3$roles$fin, _currentStepData$crea11, _currentStepData$crea12, _currentStepData$crea13, _currentStepData$crea14, _currentStepData$crea15, _currentStepData$crea16, _currentStepData$crea17, _currentStepData$crea18, _currentStepData$crea19, _currentStepData$crea20, _currentStepData$crea21, _currentStepData$crea22, _params$additionalDet, _currentStepData$crea25, _currentStepData$crea26, _currentStepData$crea27, _currentStepData$crea28, _currentStepData$Loca, _currentStepData$Loca2, _currentStepData$Loca3, _currentStepData$Loca4, _currentStepData$Loca5, _currentStepData$Loca6, _currentStepData$Loca7, _currentStepData$Loca8, _currentStepData$Loca9, _currentStepData$Plot, _currentStepData$Plot2, _currentStepData$Plot3, _currentStepData$Plot4, _currentStepData$Plot5, _currentStepData$Plot6, _currentStepData$Plot7, _currentStepData$Plot8, _user$info4;
|
|
36096
|
+
var _user$info, _user$info2, _currentStepData$crea, _currentStepData$crea2, _currentStepData$crea3, _currentStepData$crea4, _currentStepData$crea5, _currentStepData$crea6, _currentStepData$crea7, _currentStepData$crea8, _currentStepData$crea9, _currentStepData$crea0, _currentStepData$crea1, _currentStepData$crea10, _user$info3, _user$info3$roles, _user$info3$roles$fin, _currentStepData$crea11, _currentStepData$crea12, _currentStepData$crea13, _currentStepData$crea14, _currentStepData$crea15, _currentStepData$crea16, _currentStepData$crea17, _currentStepData$crea18, _currentStepData$crea19, _currentStepData$crea20, _currentStepData$crea21, _currentStepData$crea22, _params$additionalDet, _currentStepData$crea25, _currentStepData$crea26, _currentStepData$crea27, _currentStepData$crea28, _currentStepData$Loca, _currentStepData$Loca2, _currentStepData$Loca3, _currentStepData$Loca4, _currentStepData$Loca5, _currentStepData$Loca6, _currentStepData$Loca7, _currentStepData$Loca8, _currentStepData$Loca9, _currentStepData$Plot, _currentStepData$Plot2, _currentStepData$Plot3, _currentStepData$Plot4, _currentStepData$crea29, _currentStepData$crea30, _currentStepData$Plot5, _currentStepData$Plot6, _currentStepData$Plot7, _currentStepData$Plot8, _user$info4;
|
|
35750
36097
|
const {
|
|
35751
36098
|
state
|
|
35752
36099
|
} = useLocation();
|
|
@@ -35812,18 +36159,18 @@ const Architectconcent = ({
|
|
|
35812
36159
|
<p style="margin-bottom:-32px;">${currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Loca4 = currentStepData.LocationDetails) === null || _currentStepData$Loca4 === void 0 ? void 0 : (_currentStepData$Loca5 = _currentStepData$Loca4.selectedCity) === null || _currentStepData$Loca5 === void 0 ? void 0 : (_currentStepData$Loca6 = _currentStepData$Loca5.city) === null || _currentStepData$Loca6 === void 0 ? void 0 : _currentStepData$Loca6.districtName}</p>
|
|
35813
36160
|
</div>
|
|
35814
36161
|
|
|
35815
|
-
<p style="margin-top:-52px;margin-bottom:-32px;"><strong>Dear Sir
|
|
36162
|
+
<p style="margin-top:-52px;margin-bottom:-32px;"><strong>Dear Sir/Madam,</strong></p>
|
|
35816
36163
|
|
|
35817
36164
|
<p style="margin-top:-30px;margin-bottom:-32px;">
|
|
35818
|
-
I, the undersigned Shri/Smt/Kum <b>${architecname}</b>
|
|
36165
|
+
I, the undersigned Shri/Smt/Kum <b>${architecname}</b> <b>${architecttype}</b> having Registration No. ${architectid} is appointed by the owner <b>${ownername}</b> Mobile: <b>${mobile}</b> for the development on land bearing Kh. No <b>${khasranumber}</b> of <b>${currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Loca7 = currentStepData.LocationDetails) === null || _currentStepData$Loca7 === void 0 ? void 0 : (_currentStepData$Loca8 = _currentStepData$Loca7.selectedCity) === null || _currentStepData$Loca8 === void 0 ? void 0 : (_currentStepData$Loca9 = _currentStepData$Loca8.city) === null || _currentStepData$Loca9 === void 0 ? void 0 : _currentStepData$Loca9.ulbType}</b> <b>${ulbname}</b> Area <b>${area}</b> (Sq.mts), address <b>${(currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Plot = currentStepData.PlotDetails) === null || _currentStepData$Plot === void 0 ? void 0 : (_currentStepData$Plot2 = _currentStepData$Plot.tradeLicenseDetail) === null || _currentStepData$Plot2 === void 0 ? void 0 : (_currentStepData$Plot3 = _currentStepData$Plot2.owners) === null || _currentStepData$Plot3 === void 0 ? void 0 : (_currentStepData$Plot4 = _currentStepData$Plot3[0]) === null || _currentStepData$Plot4 === void 0 ? void 0 : _currentStepData$Plot4.permanentAddress) || "NA"}</b>.
|
|
35819
36166
|
</p>
|
|
35820
36167
|
|
|
35821
36168
|
<p style="margin-top:-52px;margin-bottom:-32px;">
|
|
35822
|
-
This site falls in Ward Number <b>${ward}</b>, zone number <b>${zone}</b> in the Master plan of <b>${district}</b> and the proposed
|
|
36169
|
+
This site falls in Ward Number <b>${ward}</b>, zone number <b>${zone}</b> in the Master plan of <b>${district}</b> and the proposed ${(currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea29 = currentStepData.createdResponse) === null || _currentStepData$crea29 === void 0 ? void 0 : (_currentStepData$crea30 = _currentStepData$crea29.additionalDetails) === null || _currentStepData$crea30 === void 0 ? void 0 : _currentStepData$crea30.usage) || '<Type of Construction>'} construction is permissible in this area.
|
|
35823
36170
|
</p>
|
|
35824
36171
|
|
|
35825
36172
|
<p style="margin-top:-52px;margin-bottom:-32px;">
|
|
35826
|
-
I am currently registered as
|
|
36173
|
+
I am currently registered as <b>${architecttype || "<Professional's User Type>"}</b> with the Competent Authority and empanelled under Self-Certification Scheme.
|
|
35827
36174
|
</p>
|
|
35828
36175
|
|
|
35829
36176
|
<p style="margin-top:-52px;margin-bottom:-32px;">
|
|
@@ -35890,12 +36237,12 @@ const Architectconcent = ({
|
|
|
35890
36237
|
const closeModal = () => setShowTermsPopup(false);
|
|
35891
36238
|
const uploadSelfDeclaration = async () => {
|
|
35892
36239
|
try {
|
|
35893
|
-
var _currentStepData$
|
|
36240
|
+
var _currentStepData$crea31, _currentStepData$Basi, _result$filestoreIds;
|
|
35894
36241
|
setIsUploading(true);
|
|
35895
36242
|
const paramsWithTimestamp = {
|
|
35896
36243
|
...(currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.createdResponse),
|
|
35897
36244
|
additionalDetails: {
|
|
35898
|
-
...(currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
36245
|
+
...(currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea31 = currentStepData.createdResponse) === null || _currentStepData$crea31 === void 0 ? void 0 : _currentStepData$crea31.additionalDetails),
|
|
35899
36246
|
TimeStamp
|
|
35900
36247
|
},
|
|
35901
36248
|
edcrDetail: {
|
|
@@ -37031,6 +37378,7 @@ const Urls = {
|
|
|
37031
37378
|
Swach_search: `/swach-services/v2/request/_search`,
|
|
37032
37379
|
Swach_update: `/swach-services/v2/request/_update`,
|
|
37033
37380
|
Swach_attendence: `/swach-services/v2/request/image/_create`,
|
|
37381
|
+
Swach_ViewAttendence: `/swach-services/v2/attendance/_search`,
|
|
37034
37382
|
OTP_Send: "/user-otp/v1/_send",
|
|
37035
37383
|
Authenticate: "/user/oauth/token",
|
|
37036
37384
|
RegisterUser: "/user/citizen/_create",
|
|
@@ -39696,7 +40044,7 @@ const OBPSService = {
|
|
|
39696
40044
|
};
|
|
39697
40045
|
},
|
|
39698
40046
|
BPADetailsPage: async (tenantId, filters) => {
|
|
39699
|
-
var _response$BPA, _response$BPA$, _response$BPA$$docume, _response$BPA2, _response$BPA2$, _response$BPA2$$addit, _response$BPA2$$addit2, _response$BPA3, _response$BPA3$, _response$BPA3$$addit, _response$BPA4, _response$BPA4$, _response$BPA4$$addit, _mdmsRes$BPA, _edcr$
|
|
40047
|
+
var _response$BPA, _response$BPA$, _response$BPA$$docume, _response$BPA2, _response$BPA2$, _response$BPA2$$addit, _response$BPA2$$addit2, _response$BPA3, _response$BPA3$, _response$BPA3$$addit, _response$BPA4, _response$BPA4$, _response$BPA4$$addit, _mdmsRes$BPA, _edcr$planDetail2, _edcr$planDetail2$plo, _edcr$planDetail3, _response$BPA5, _response$BPA5$, _bpaResponse$BPA, _bpaResponse$BPA$, _bpaResponse$BPA2, _bpaResponse$BPA2$, _bpaResponse$BPA3, _bpaResponse$BPA3$, _appDocumentFileStore, _appBusinessService, _fetchBillRes, _fetchBillRes$Bill, _BPA$additionalDetail, _BPA$additionalDetail2, _BPA$additionalDetail3, _BPA$additionalDetail4, _BPA$additionalDetail5, _BPA$additionalDetail6, _BPA$additionalDetail7, _permitcondn, _permitcondn2, _BPA$auditDetails, _BPA$auditDetails2, _edcr$planDetail4, _edcr$planDetail4$pla, _BPA$additionalDetail1, _edcr$planDetail5, _edcr$planDetail5$pla, _edcr$planDetail6, _edcr$planDetail6$pla, _edcr$planDetail7, _edcr$planDetail7$pla, _edcr$planDetail8, _edcr$planDetail8$pla, _BPA$additionalDetail10, _BPA$additionalDetail11, _edcr$planDetail9, _edcr$planDetail9$blo, _edcr$planDetail9$blo2, _edcr$planDetail9$blo3, _edcr$planDetail0, _edcr$planDetail0$blo, _edcr$planDetail0$blo2, _edcr$planDetail0$blo3, _edcr$planDetail1, _edcr$planDetail1$blo, _edcr$planDetail1$blo2, _edcr$planDetail1$blo3, _edcr$planDetail10, _edcr$planDetail10$pl, _BPA$landInfo, _BPA$landInfo$address, _BPA$landInfo2, _BPA$landInfo2$addres, _BPA$landInfo3, _BPA$landInfo3$addres, _BPA$landInfo3$addres2, _BPA$landInfo4, _BPA$landInfo4$owners, _BPA$landInfo5, _BPA$landInfo5$owners, _BPA$landInfo7, _BPA$landInfo7$owners, _BPA$documents, _BPA$additionalDetail12, _BPA$additionalDetail13, _BPA$additionalDetail14, _BPA$additionalDetail15, _BPA$additionalDetail16, _BPA$additionalDetail17, _BPA$additionalDetail18, _billDetails$addition, _billDetails$addition2, _details;
|
|
39700
40048
|
console.log("edcrInHooks");
|
|
39701
40049
|
const response = await OBPSService.BPASearch(tenantId, filters);
|
|
39702
40050
|
console.log(response, "APPP");
|
|
@@ -39719,7 +40067,7 @@ const OBPSService = {
|
|
|
39719
40067
|
const [edcr] = edcrResponse === null || edcrResponse === void 0 ? void 0 : edcrResponse.edcrDetail;
|
|
39720
40068
|
console.log(edcr, "KHATA");
|
|
39721
40069
|
const mdmsRes = await MdmsService.getMultipleTypes(tenantId, "BPA", ["RiskTypeComputation", "CheckList"]);
|
|
39722
|
-
const riskType = Digit.Utils.obps.calculateRiskType(mdmsRes === null || mdmsRes === void 0 ? void 0 : (_mdmsRes$BPA = mdmsRes.BPA) === null || _mdmsRes$BPA === void 0 ? void 0 : _mdmsRes$BPA.RiskTypeComputation, edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40070
|
+
const riskType = Digit.Utils.obps.calculateRiskType(mdmsRes === null || mdmsRes === void 0 ? void 0 : (_mdmsRes$BPA = mdmsRes.BPA) === null || _mdmsRes$BPA === void 0 ? void 0 : _mdmsRes$BPA.RiskTypeComputation, edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail2 = edcr.planDetail) === null || _edcr$planDetail2 === void 0 ? void 0 : (_edcr$planDetail2$plo = _edcr$planDetail2.plot) === null || _edcr$planDetail2$plo === void 0 ? void 0 : _edcr$planDetail2$plo.area, edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail3 = edcr.planDetail) === null || _edcr$planDetail3 === void 0 ? void 0 : _edcr$planDetail3.blocks);
|
|
39723
40071
|
BPA.riskType = riskType;
|
|
39724
40072
|
const noc = [];
|
|
39725
40073
|
console.log("edcrInHooks", BPA);
|
|
@@ -40009,14 +40357,14 @@ const OBPSService = {
|
|
|
40009
40357
|
value: edcr === null || edcr === void 0 ? void 0 : edcr.applicationSubType
|
|
40010
40358
|
}, {
|
|
40011
40359
|
title: "BPA_BASIC_DETAILS_OCCUPANCY_LABEL",
|
|
40012
|
-
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40360
|
+
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail4 = edcr.planDetail) === null || _edcr$planDetail4 === void 0 ? void 0 : (_edcr$planDetail4$pla = _edcr$planDetail4.planInformation) === null || _edcr$planDetail4$pla === void 0 ? void 0 : _edcr$planDetail4$pla.occupancy
|
|
40013
40361
|
}, {
|
|
40014
40362
|
title: "BPA_BASIC_DETAILS_RISK_TYPE_LABEL",
|
|
40015
40363
|
value: `${BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail1 = BPA.additionalDetails) === null || _BPA$additionalDetail1 === void 0 ? void 0 : _BPA$additionalDetail1.riskType}`,
|
|
40016
40364
|
isInsert: true
|
|
40017
40365
|
}, {
|
|
40018
40366
|
title: "BPA_BASIC_DETAILS_APPLICATION_NAME_LABEL",
|
|
40019
|
-
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40367
|
+
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail5 = edcr.planDetail) === null || _edcr$planDetail5 === void 0 ? void 0 : (_edcr$planDetail5$pla = _edcr$planDetail5.planInformation) === null || _edcr$planDetail5$pla === void 0 ? void 0 : _edcr$planDetail5$pla.applicantName
|
|
40020
40368
|
}]
|
|
40021
40369
|
};
|
|
40022
40370
|
const plotDetails = {
|
|
@@ -40025,28 +40373,24 @@ const OBPSService = {
|
|
|
40025
40373
|
isCommon: true,
|
|
40026
40374
|
values: [{
|
|
40027
40375
|
title: "BPA_BOUNDARY_PLOT_AREA_LABEL",
|
|
40028
|
-
value: `${edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40376
|
+
value: `${edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail6 = edcr.planDetail) === null || _edcr$planDetail6 === void 0 ? void 0 : (_edcr$planDetail6$pla = _edcr$planDetail6.planInformation) === null || _edcr$planDetail6$pla === void 0 ? void 0 : _edcr$planDetail6$pla.plotArea}`,
|
|
40029
40377
|
isNotTranslated: true,
|
|
40030
40378
|
isUnit: "BPA_SQ_FT_LABEL"
|
|
40031
40379
|
}, {
|
|
40032
40380
|
title: "BPA_PLOT_NUMBER_LABEL",
|
|
40033
|
-
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40381
|
+
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail7 = edcr.planDetail) === null || _edcr$planDetail7 === void 0 ? void 0 : (_edcr$planDetail7$pla = _edcr$planDetail7.planInformation) === null || _edcr$planDetail7$pla === void 0 ? void 0 : _edcr$planDetail7$pla.plotNo) || "NA",
|
|
40034
40382
|
isNotTranslated: true
|
|
40035
40383
|
}, {
|
|
40036
40384
|
title: "BPA_KHATHA_NUMBER_LABEL",
|
|
40037
|
-
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40038
|
-
isNotTranslated: true
|
|
40039
|
-
}, {
|
|
40040
|
-
title: "BPA_HOLDING_NUMBER_LABEL",
|
|
40041
|
-
value: (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail10 = BPA.additionalDetails) === null || _BPA$additionalDetail10 === void 0 ? void 0 : _BPA$additionalDetail10.holdingNo) || "NA",
|
|
40385
|
+
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail8 = edcr.planDetail) === null || _edcr$planDetail8 === void 0 ? void 0 : (_edcr$planDetail8$pla = _edcr$planDetail8.planInformation) === null || _edcr$planDetail8$pla === void 0 ? void 0 : _edcr$planDetail8$pla.khatuniNo) || "NA",
|
|
40042
40386
|
isNotTranslated: true
|
|
40043
40387
|
}, {
|
|
40044
40388
|
title: "BPA_BOUNDARY_LAND_REG_DETAIL_LABEL",
|
|
40045
|
-
value: (BPA === null || BPA === void 0 ? void 0 : (_BPA$
|
|
40389
|
+
value: (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail10 = BPA.additionalDetails) === null || _BPA$additionalDetail10 === void 0 ? void 0 : _BPA$additionalDetail10.registrationDetails) || "NA",
|
|
40046
40390
|
isNotTranslated: true
|
|
40047
40391
|
}, {
|
|
40048
40392
|
title: "BPA_BOUNDARY_WALL_LENGTH_LABEL",
|
|
40049
|
-
value: (BPA === null || BPA === void 0 ? void 0 : (_BPA$
|
|
40393
|
+
value: (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail11 = BPA.additionalDetails) === null || _BPA$additionalDetail11 === void 0 ? void 0 : _BPA$additionalDetail11.boundaryWallLength) || "NA",
|
|
40050
40394
|
isNotTranslated: true
|
|
40051
40395
|
}]
|
|
40052
40396
|
};
|
|
@@ -40086,14 +40430,14 @@ const OBPSService = {
|
|
|
40086
40430
|
isHeader: true
|
|
40087
40431
|
}, {
|
|
40088
40432
|
title: "BPA_TOTAL_BUILT_UP_AREA_HEADER",
|
|
40089
|
-
value: Number(edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40433
|
+
value: Number(edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail9 = edcr.planDetail) === null || _edcr$planDetail9 === void 0 ? void 0 : (_edcr$planDetail9$blo = _edcr$planDetail9.blocks) === null || _edcr$planDetail9$blo === void 0 ? void 0 : (_edcr$planDetail9$blo2 = _edcr$planDetail9$blo[0]) === null || _edcr$planDetail9$blo2 === void 0 ? void 0 : (_edcr$planDetail9$blo3 = _edcr$planDetail9$blo2.building) === null || _edcr$planDetail9$blo3 === void 0 ? void 0 : _edcr$planDetail9$blo3.totalBuitUpArea).toFixed(2),
|
|
40090
40434
|
isUnit: "BPA_SQ_MTRS_LABEL"
|
|
40091
40435
|
}, {
|
|
40092
40436
|
title: "BPA_SCRUTINY_DETAILS_NUMBER_OF_FLOORS_LABEL",
|
|
40093
|
-
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40437
|
+
value: (edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail0 = edcr.planDetail) === null || _edcr$planDetail0 === void 0 ? void 0 : (_edcr$planDetail0$blo = _edcr$planDetail0.blocks) === null || _edcr$planDetail0$blo === void 0 ? void 0 : (_edcr$planDetail0$blo2 = _edcr$planDetail0$blo[0]) === null || _edcr$planDetail0$blo2 === void 0 ? void 0 : (_edcr$planDetail0$blo3 = _edcr$planDetail0$blo2.building) === null || _edcr$planDetail0$blo3 === void 0 ? void 0 : _edcr$planDetail0$blo3.totalFloors) || "NA"
|
|
40094
40438
|
}, {
|
|
40095
40439
|
title: "BPA_HEIGHT_FROM_GROUND_LEVEL",
|
|
40096
|
-
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40440
|
+
value: Number(edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail1 = edcr.planDetail) === null || _edcr$planDetail1 === void 0 ? void 0 : (_edcr$planDetail1$blo = _edcr$planDetail1.blocks) === null || _edcr$planDetail1$blo === void 0 ? void 0 : (_edcr$planDetail1$blo2 = _edcr$planDetail1$blo[0]) === null || _edcr$planDetail1$blo2 === void 0 ? void 0 : (_edcr$planDetail1$blo3 = _edcr$planDetail1$blo2.building) === null || _edcr$planDetail1$blo3 === void 0 ? void 0 : _edcr$planDetail1$blo3.buildingHeight).toFixed(2),
|
|
40097
40441
|
isUnit: "BPA_MTRS_LABEL"
|
|
40098
40442
|
}],
|
|
40099
40443
|
scruntinyDetails: []
|
|
@@ -40110,7 +40454,7 @@ const OBPSService = {
|
|
|
40110
40454
|
isHeader: true
|
|
40111
40455
|
}, {
|
|
40112
40456
|
title: "BPA_APPLICATION_DEMOLITION_AREA_LABEL",
|
|
40113
|
-
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$
|
|
40457
|
+
value: edcr === null || edcr === void 0 ? void 0 : (_edcr$planDetail10 = edcr.planDetail) === null || _edcr$planDetail10 === void 0 ? void 0 : (_edcr$planDetail10$pl = _edcr$planDetail10.planInformation) === null || _edcr$planDetail10$pl === void 0 ? void 0 : _edcr$planDetail10$pl.demolitionArea,
|
|
40114
40458
|
isUnit: "BPA_SQ_MTRS_LABEL"
|
|
40115
40459
|
}],
|
|
40116
40460
|
scruntinyDetails: []
|
|
@@ -40232,7 +40576,7 @@ const OBPSService = {
|
|
|
40232
40576
|
console.log("Log 1");
|
|
40233
40577
|
let val;
|
|
40234
40578
|
var i;
|
|
40235
|
-
inspectionReport && (BPA === null || BPA === void 0 ? void 0 : (_BPA$
|
|
40579
|
+
inspectionReport && (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail12 = BPA.additionalDetails) === null || _BPA$additionalDetail12 === void 0 ? void 0 : (_BPA$additionalDetail13 = _BPA$additionalDetail12.fieldinspection_pending) === null || _BPA$additionalDetail13 === void 0 ? void 0 : (_BPA$additionalDetail14 = _BPA$additionalDetail13[0]) === null || _BPA$additionalDetail14 === void 0 ? void 0 : _BPA$additionalDetail14.questions.length) > 0 && inspectionReport.map((ob, index) => {
|
|
40236
40580
|
if (ob.title.includes("FI_REPORT")) ;else if (ob.title.includes("CHECK_LIST")) ;else {
|
|
40237
40581
|
var _ob$additionalDetails, _ob$additionalDetails2;
|
|
40238
40582
|
let improvedDoc = [...((_ob$additionalDetails = ob.additionalDetails.obpsDocuments) === null || _ob$additionalDetails === void 0 ? void 0 : (_ob$additionalDetails2 = _ob$additionalDetails[0]) === null || _ob$additionalDetails2 === void 0 ? void 0 : _ob$additionalDetails2.values)];
|
|
@@ -40250,10 +40594,10 @@ const OBPSService = {
|
|
|
40250
40594
|
const fiReports = {
|
|
40251
40595
|
title: "",
|
|
40252
40596
|
isFieldInspection: true,
|
|
40253
|
-
isNotAllowed: (BPA === null || BPA === void 0 ? void 0 : (_BPA$
|
|
40597
|
+
isNotAllowed: (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail15 = BPA.additionalDetails) === null || _BPA$additionalDetail15 === void 0 ? void 0 : (_BPA$additionalDetail16 = _BPA$additionalDetail15.fieldinspection_pending) === null || _BPA$additionalDetail16 === void 0 ? void 0 : _BPA$additionalDetail16.length) > 0 ? false : true,
|
|
40254
40598
|
additionalDetails: {
|
|
40255
40599
|
values: [],
|
|
40256
|
-
fiReport: (BPA === null || BPA === void 0 ? void 0 : (_BPA$
|
|
40600
|
+
fiReport: (BPA === null || BPA === void 0 ? void 0 : (_BPA$additionalDetail17 = BPA.additionalDetails) === null || _BPA$additionalDetail17 === void 0 ? void 0 : (_BPA$additionalDetail18 = _BPA$additionalDetail17.fieldinspection_pending) === null || _BPA$additionalDetail18 === void 0 ? void 0 : _BPA$additionalDetail18.length) > 0 ? true : false
|
|
40257
40601
|
}
|
|
40258
40602
|
};
|
|
40259
40603
|
if ((BPA === null || BPA === void 0 ? void 0 : BPA.businessService) !== "BPA_OC") {
|
|
@@ -47952,7 +48296,7 @@ const SummaryDetails = ({
|
|
|
47952
48296
|
currentStepData,
|
|
47953
48297
|
onGoBack
|
|
47954
48298
|
}) => {
|
|
47955
|
-
var _user$info, _currentStepData$crea12, _currentStepData$crea33, _currentStepData$crea36, _currentStepData$crea37, _currentStepData$crea38, _currentStepData$crea39, _currentStepData$crea40, _pdfDetails$pdfFiles, _user$info4, _user$info5, _currentStepData$crea41, _currentStepData$crea42, _user$info6, _user$info6$roles, _workflowDetails$data, _workflowDetails$data2, _workflowDetails$data3, _workflowDetails$data4, _workflowDetails$data5, _currentStepData$crea58, _currentStepData$crea61, _currentStepData$crea62, _currentStepData$crea63, _currentStepData$Basi, _currentStepData$Basi2, _currentStepData$Basi3, _currentStepData$Basi4, _currentStepData$Basi5, _currentStepData$Basi6, _currentStepData$Basi7, _currentStepData$Basi8, _currentStepData$Basi9, _currentStepData$Basi0, _currentStepData$Basi1, _currentStepData$Basi10, _currentStepData$Basi11, _currentStepData$Basi12, _currentStepData$Basi13, _currentStepData$Basi14, _currentStepData$Basi15, _currentStepData$Basi16, _currentStepData$Basi17, _currentStepData$Basi18, _currentStepData$Basi19, _currentStepData$crea64, _currentStepData$crea65, _currentStepData$crea66, _currentStepData$crea67, _currentStepData$Basi20, _currentStepData$Basi21, _currentStepData$Basi22, _currentStepData$Basi23, _currentStepData$crea68, _currentStepData$crea69, _currentStepData$crea70, _currentStepData$crea71, _currentStepData$Basi24, _currentStepData$Basi25, _currentStepData$Basi26, _currentStepData$Basi27, _currentStepData$Basi28, _currentStepData$Basi29, _currentStepData$Basi32, _currentStepData$Basi33, _currentStepData$Basi36, _currentStepData$Basi37, _currentStepData$Basi38, _currentStepData$Basi39, _currentStepData$Basi40, _currentStepData$Basi41, _currentStepData$Basi42, _currentStepData$Basi43, _currentStepData$Basi44, _currentStepData$Basi45, _currentStepData$Basi46, _currentStepData$Basi47, _currentStepData$Basi48, _currentStepData$Basi49, _currentStepData$Basi50, _currentStepData$Basi51, _currentStepData$Basi52, _currentStepData$Basi53, _currentStepData$Basi54, _currentStepData$Basi55, _currentStepData$Basi56, _currentStepData$Basi57, _currentStepData$Basi58, _currentStepData$Basi59, _currentStepData$Basi60, _currentStepData$Basi61, _currentStepData$Basi62, _currentStepData$Basi63, _currentStepData$Basi64, _currentStepData$Basi65, _currentStepData$Basi66, _currentStepData$Basi67, _currentStepData$Basi68, _currentStepData$Basi69, _currentStepData$Basi70, _currentStepData$Basi71, _currentStepData$Basi72, _currentStepData$Basi73, _currentStepData$Basi74, _currentStepData$Basi75, _currentStepData$Basi76, _currentStepData$Basi77, _currentStepData$Basi78, _currentStepData$Basi79, _currentStepData$Basi80, _currentStepData$Basi81, _currentStepData$Basi82, _currentStepData$Basi83, _currentStepData$Basi84, _currentStepData$Basi85, _currentStepData$Basi86, _currentStepData$Basi87, _currentStepData$Basi88, _currentStepData$Basi89, _currentStepData$Basi90, _currentStepData$Basi91, _currentStepData$Basi92, _currentStepData$Basi93, _currentStepData$Basi94, _currentStepData$Basi95, _currentStepData$Basi100, _currentStepData$Basi101, _currentStepData$Basi102, _currentStepData$Basi103, _currentStepData$Basi104, _currentStepData$Basi105, _currentStepData$Basi106, _currentStepData$Basi107, _currentStepData$crea72, _currentStepData$crea73, _currentStepData$crea74, _currentStepData$crea75, _currentStepData$crea76, _currentStepData$crea77, _currentStepData$crea78, _currentStepData$crea79, _currentStepData$crea80, _currentStepData$Loca, _currentStepData$Loca2, _currentStepData$crea81, _currentStepData$crea82, _currentStepData$crea83, _currentStepData$crea84, _currentStepData$crea85, _currentStepData$crea86, _currentStepData$crea87, _currentStepData$crea88, _currentStepData$crea89, _currentStepData$crea90, _currentStepData$crea91, _currentStepData$crea92, _currentStepData$crea97, _currentStepData$crea98, _currentStepData$crea99, _currentStepData$crea100, _currentStepData$crea101, _currentStepData$crea102, _currentStepData$crea103, _currentStepData$crea104, _currentStepData$crea105, _currentStepData$crea106, _currentStepData$crea107, _currentStepData$crea108, _currentStepData$crea109, _currentStepData$crea110, _currentStepData$crea111, _currentStepData$crea112, _currentStepData$crea113, _currentStepData$crea114, _currentStepData$crea115, _currentStepData$crea116, _currentStepData$crea117, _currentStepData$crea118, _currentStepData$crea119, _currentStepData$crea120, _currentStepData$crea121, _currentStepData$crea122, _currentStepData$crea123,
|
|
48299
|
+
var _user$info, _currentStepData$crea12, _currentStepData$crea33, _currentStepData$crea36, _currentStepData$crea37, _currentStepData$crea38, _currentStepData$crea39, _currentStepData$crea40, _pdfDetails$pdfFiles, _user$info4, _user$info5, _currentStepData$crea41, _currentStepData$crea42, _user$info6, _user$info6$roles, _workflowDetails$data, _workflowDetails$data2, _workflowDetails$data3, _workflowDetails$data4, _workflowDetails$data5, _currentStepData$crea58, _currentStepData$crea61, _currentStepData$crea62, _currentStepData$crea63, _currentStepData$Basi, _currentStepData$Basi2, _currentStepData$Basi3, _currentStepData$Basi4, _currentStepData$Basi5, _currentStepData$Basi6, _currentStepData$Basi7, _currentStepData$Basi8, _currentStepData$Basi9, _currentStepData$Basi0, _currentStepData$Basi1, _currentStepData$Basi10, _currentStepData$Basi11, _currentStepData$Basi12, _currentStepData$Basi13, _currentStepData$Basi14, _currentStepData$Basi15, _currentStepData$Basi16, _currentStepData$Basi17, _currentStepData$Basi18, _currentStepData$Basi19, _currentStepData$crea64, _currentStepData$crea65, _currentStepData$crea66, _currentStepData$crea67, _currentStepData$Basi20, _currentStepData$Basi21, _currentStepData$Basi22, _currentStepData$Basi23, _currentStepData$crea68, _currentStepData$crea69, _currentStepData$crea70, _currentStepData$crea71, _currentStepData$Basi24, _currentStepData$Basi25, _currentStepData$Basi26, _currentStepData$Basi27, _currentStepData$Basi28, _currentStepData$Basi29, _currentStepData$Basi32, _currentStepData$Basi33, _currentStepData$Basi36, _currentStepData$Basi37, _currentStepData$Basi38, _currentStepData$Basi39, _currentStepData$Basi40, _currentStepData$Basi41, _currentStepData$Basi42, _currentStepData$Basi43, _currentStepData$Basi44, _currentStepData$Basi45, _currentStepData$Basi46, _currentStepData$Basi47, _currentStepData$Basi48, _currentStepData$Basi49, _currentStepData$Basi50, _currentStepData$Basi51, _currentStepData$Basi52, _currentStepData$Basi53, _currentStepData$Basi54, _currentStepData$Basi55, _currentStepData$Basi56, _currentStepData$Basi57, _currentStepData$Basi58, _currentStepData$Basi59, _currentStepData$Basi60, _currentStepData$Basi61, _currentStepData$Basi62, _currentStepData$Basi63, _currentStepData$Basi64, _currentStepData$Basi65, _currentStepData$Basi66, _currentStepData$Basi67, _currentStepData$Basi68, _currentStepData$Basi69, _currentStepData$Basi70, _currentStepData$Basi71, _currentStepData$Basi72, _currentStepData$Basi73, _currentStepData$Basi74, _currentStepData$Basi75, _currentStepData$Basi76, _currentStepData$Basi77, _currentStepData$Basi78, _currentStepData$Basi79, _currentStepData$Basi80, _currentStepData$Basi81, _currentStepData$Basi82, _currentStepData$Basi83, _currentStepData$Basi84, _currentStepData$Basi85, _currentStepData$Basi86, _currentStepData$Basi87, _currentStepData$Basi88, _currentStepData$Basi89, _currentStepData$Basi90, _currentStepData$Basi91, _currentStepData$Basi92, _currentStepData$Basi93, _currentStepData$Basi94, _currentStepData$Basi95, _currentStepData$Basi100, _currentStepData$Basi101, _currentStepData$Basi102, _currentStepData$Basi103, _currentStepData$Basi104, _currentStepData$Basi105, _currentStepData$Basi106, _currentStepData$Basi107, _currentStepData$crea72, _currentStepData$crea73, _currentStepData$crea74, _currentStepData$crea75, _currentStepData$crea76, _currentStepData$crea77, _currentStepData$crea78, _currentStepData$crea79, _currentStepData$crea80, _currentStepData$Loca, _currentStepData$Loca2, _currentStepData$crea81, _currentStepData$crea82, _currentStepData$crea83, _currentStepData$crea84, _currentStepData$crea85, _currentStepData$crea86, _currentStepData$crea87, _currentStepData$crea88, _currentStepData$crea89, _currentStepData$crea90, _currentStepData$crea91, _currentStepData$crea92, _currentStepData$crea97, _currentStepData$crea98, _currentStepData$crea99, _currentStepData$crea100, _currentStepData$crea101, _currentStepData$crea102, _currentStepData$crea103, _currentStepData$crea104, _currentStepData$crea105, _currentStepData$crea106, _currentStepData$Basi108, _currentStepData$Basi109, _currentStepData$Basi110, _currentStepData$crea107, _currentStepData$crea108, _currentStepData$crea109, _currentStepData$crea110, _currentStepData$crea111, _currentStepData$crea112, _currentStepData$crea113, _currentStepData$crea114, _currentStepData$crea115, _currentStepData$crea116, _currentStepData$crea117, _currentStepData$crea118, _currentStepData$crea119, _currentStepData$crea120, _currentStepData$crea121, _currentStepData$crea122, _currentStepData$crea123, _workflowDetails$data6, _workflowDetails$data7, _workflowDetails$data8;
|
|
47956
48300
|
const {
|
|
47957
48301
|
t
|
|
47958
48302
|
} = useTranslation();
|
|
@@ -48170,6 +48514,7 @@ const SummaryDetails = ({
|
|
|
48170
48514
|
function getBlockSubOccupancy(index) {
|
|
48171
48515
|
var _currentStepData$Scru, _currentStepData$Scru2, _currentStepData$Scru3;
|
|
48172
48516
|
let returnValueArray = [];
|
|
48517
|
+
console.log("currentStepData", currentStepData);
|
|
48173
48518
|
(currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Scru = currentStepData.ScrutinyDetails) === null || _currentStepData$Scru === void 0 ? void 0 : _currentStepData$Scru.subOccupancy) && (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Scru2 = currentStepData.ScrutinyDetails) === null || _currentStepData$Scru2 === void 0 ? void 0 : _currentStepData$Scru2.subOccupancy[`Block_${index + 1}`]) && (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Scru3 = currentStepData.ScrutinyDetails) === null || _currentStepData$Scru3 === void 0 ? void 0 : _currentStepData$Scru3.subOccupancy[`Block_${index + 1}`].map(ob => {
|
|
48174
48519
|
var _ob$i18nKey;
|
|
48175
48520
|
returnValueArray.push(`${t(stringReplaceAll(ob === null || ob === void 0 ? void 0 : (_ob$i18nKey = ob.i18nKey) === null || _ob$i18nKey === void 0 ? void 0 : _ob$i18nKey.toUpperCase(), "-", "_"))}`);
|
|
@@ -49099,35 +49444,35 @@ const SummaryDetails = ({
|
|
|
49099
49444
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49100
49445
|
className: "border-none",
|
|
49101
49446
|
label: t(`BPA_CORE_AREA_LABEL`),
|
|
49102
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49447
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$Basi108 = currentStepData.BasicDetails) === null || _currentStepData$Basi108 === void 0 ? void 0 : (_currentStepData$Basi109 = _currentStepData$Basi108.edcrDetails) === null || _currentStepData$Basi109 === void 0 ? void 0 : (_currentStepData$Basi110 = _currentStepData$Basi109.planDetail) === null || _currentStepData$Basi110 === void 0 ? void 0 : _currentStepData$Basi110.coreArea) || t("CS_NA")
|
|
49103
49448
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49104
49449
|
className: "border-none",
|
|
49105
49450
|
label: t(`BPA_PROPOSED_SITE_LABEL`),
|
|
49106
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49107
|
-
}), (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49451
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea107 = currentStepData.createdResponse) === null || _currentStepData$crea107 === void 0 ? void 0 : (_currentStepData$crea108 = _currentStepData$crea107.additionalDetails) === null || _currentStepData$crea108 === void 0 ? void 0 : _currentStepData$crea108.proposedSite) || t("CS_NA")
|
|
49452
|
+
}), (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea109 = currentStepData.createdResponse) === null || _currentStepData$crea109 === void 0 ? void 0 : (_currentStepData$crea110 = _currentStepData$crea109.additionalDetails) === null || _currentStepData$crea110 === void 0 ? void 0 : _currentStepData$crea110.schemes) === "SCHEME" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
49108
49453
|
className: "border-none",
|
|
49109
49454
|
label: t(`BPA_SCHEME_TYPE_LABEL`),
|
|
49110
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49455
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea111 = currentStepData.createdResponse) === null || _currentStepData$crea111 === void 0 ? void 0 : (_currentStepData$crea112 = _currentStepData$crea111.additionalDetails) === null || _currentStepData$crea112 === void 0 ? void 0 : _currentStepData$crea112.schemesselection) || t("CS_NA")
|
|
49111
49456
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49112
49457
|
className: "border-none",
|
|
49113
49458
|
label: t(`BPA_SCHEME_NAME_LABEL`),
|
|
49114
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49459
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea113 = currentStepData.createdResponse) === null || _currentStepData$crea113 === void 0 ? void 0 : (_currentStepData$crea114 = _currentStepData$crea113.additionalDetails) === null || _currentStepData$crea114 === void 0 ? void 0 : _currentStepData$crea114.schemeName) || t("CS_NA")
|
|
49115
49460
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49116
49461
|
className: "border-none",
|
|
49117
49462
|
label: t(`BPA_TRANFERRED_SCHEME_LABEL`),
|
|
49118
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49463
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea115 = currentStepData.createdResponse) === null || _currentStepData$crea115 === void 0 ? void 0 : (_currentStepData$crea116 = _currentStepData$crea115.additionalDetails) === null || _currentStepData$crea116 === void 0 ? void 0 : _currentStepData$crea116.transferredscheme) || t("CS_NA")
|
|
49119
49464
|
})), /*#__PURE__*/React.createElement(Row, {
|
|
49120
49465
|
className: "border-none",
|
|
49121
49466
|
label: t(`BPA_PURCHASED_FAR_LABEL`),
|
|
49122
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49467
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea117 = currentStepData.createdResponse) === null || _currentStepData$crea117 === void 0 ? void 0 : (_currentStepData$crea118 = _currentStepData$crea117.additionalDetails) === null || _currentStepData$crea118 === void 0 ? void 0 : _currentStepData$crea118.purchasedFAR) || t("CS_NA")
|
|
49123
49468
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49124
49469
|
className: "border-none",
|
|
49125
49470
|
label: t(`BPA_MASTER_PLAN_LABEL`),
|
|
49126
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49471
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea119 = currentStepData.createdResponse) === null || _currentStepData$crea119 === void 0 ? void 0 : (_currentStepData$crea120 = _currentStepData$crea119.additionalDetails) === null || _currentStepData$crea120 === void 0 ? void 0 : _currentStepData$crea120.masterPlan) || t("CS_NA")
|
|
49127
49472
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
49128
49473
|
className: "border-none",
|
|
49129
49474
|
label: t(`BPA_GREEN_BUILDING_LABEL`),
|
|
49130
|
-
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49475
|
+
text: (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea121 = currentStepData.createdResponse) === null || _currentStepData$crea121 === void 0 ? void 0 : (_currentStepData$crea122 = _currentStepData$crea121.additionalDetails) === null || _currentStepData$crea122 === void 0 ? void 0 : _currentStepData$crea122.greenbuilding) || t("CS_NA")
|
|
49131
49476
|
}))), /*#__PURE__*/React.createElement(Card, {
|
|
49132
49477
|
style: {
|
|
49133
49478
|
padding: "20px",
|
|
@@ -49177,7 +49522,7 @@ const SummaryDetails = ({
|
|
|
49177
49522
|
border: "1px solid #f0f0f0",
|
|
49178
49523
|
background: "#fff"
|
|
49179
49524
|
}
|
|
49180
|
-
}, (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$
|
|
49525
|
+
}, (currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$crea123 = currentStepData.createdResponse) === null || _currentStepData$crea123 === void 0 ? void 0 : _currentStepData$crea123.status) === "INITIATED" && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("br", null), showMobileInput && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(CardLabel, null, t("BPA_ARCHITECT_MOBILE_NUMBER")), /*#__PURE__*/React.createElement(TextInput, Object.assign({
|
|
49181
49526
|
t: t,
|
|
49182
49527
|
type: "tel",
|
|
49183
49528
|
isMandatory: true,
|