@djb25/digit-ui-module-commonpt 1.0.26 → 1.0.28
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 +272 -176
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +273 -177
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6374,6 +6374,14 @@ const CreatePropertyForm = _ref => {
|
|
|
6374
6374
|
const onSubmit = function () {
|
|
6375
6375
|
try {
|
|
6376
6376
|
var _formValue$owners, _formValue$owners$own, _formValue$owners2, _formValue$owners2$, _formValue$owners2$$o, _formValue$owners2$$o2, _formValue$owners3;
|
|
6377
|
+
const loc = formValue === null || formValue === void 0 ? void 0 : formValue.locationDet;
|
|
6378
|
+
if (!(loc !== null && loc !== void 0 && loc.addressType) || !(loc !== null && loc !== void 0 && loc.city) || !(loc !== null && loc !== void 0 && loc.pincode) || !(loc !== null && loc !== void 0 && loc.locality) || !(loc !== null && loc !== void 0 && loc.buildingColonyName)) {
|
|
6379
|
+
setShowToast({
|
|
6380
|
+
key: true,
|
|
6381
|
+
label: "Please fill all the mandatory fields"
|
|
6382
|
+
});
|
|
6383
|
+
return Promise.resolve();
|
|
6384
|
+
}
|
|
6377
6385
|
let ownersArray = owners && owners.length > 0 ? owners : formValue === null || formValue === void 0 ? void 0 : formValue.owners;
|
|
6378
6386
|
if (!ownersArray || ownersArray.length === 0) {
|
|
6379
6387
|
var _Digit$UserService$ge;
|
|
@@ -7965,7 +7973,13 @@ const PropertySearchResults = _ref => {
|
|
|
7965
7973
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("span", {
|
|
7966
7974
|
className: "link"
|
|
7967
7975
|
}, /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
7968
|
-
to:
|
|
7976
|
+
to: {
|
|
7977
|
+
pathname: "/digit-ui/citizen/commonpt/view-property",
|
|
7978
|
+
search: "?propertyId=" + row.original.property_id + "&tenantId=" + tenantId,
|
|
7979
|
+
state: {
|
|
7980
|
+
fromSearch: true
|
|
7981
|
+
}
|
|
7982
|
+
}
|
|
7969
7983
|
}, row.original.property_id)));
|
|
7970
7984
|
}
|
|
7971
7985
|
}, {
|
|
@@ -9389,8 +9403,70 @@ const configWSApproverApplication = _ref => {
|
|
|
9389
9403
|
uploadedFile = _ref.uploadedFile,
|
|
9390
9404
|
setUploadedFile = _ref.setUploadedFile,
|
|
9391
9405
|
businessService = _ref.businessService,
|
|
9392
|
-
error = _ref.error
|
|
9406
|
+
error = _ref.error,
|
|
9407
|
+
isReasonRequiredAction = _ref.isReasonRequiredAction,
|
|
9408
|
+
selectedReason = _ref.selectedReason,
|
|
9409
|
+
setSelectedReason = _ref.setSelectedReason,
|
|
9410
|
+
otherReasonText = _ref.otherReasonText,
|
|
9411
|
+
setOtherReasonText = _ref.setOtherReasonText;
|
|
9393
9412
|
if (action !== null && action !== void 0 && (_action$action = action.action) !== null && _action$action !== void 0 && _action$action.includes("SEND_BACK") || (action === null || action === void 0 ? void 0 : action.action) == "APPROVE_FOR_CONNECTION") ;
|
|
9413
|
+
const reasonOptions = [{
|
|
9414
|
+
code: "INCOMPLETE_DOCUMENTS",
|
|
9415
|
+
name: "Incomplete / Incorrect Documents",
|
|
9416
|
+
i18nKey: "WS_MUTATION_REASON_INCOMPLETE_DOCUMENTS"
|
|
9417
|
+
}, {
|
|
9418
|
+
code: "MISMATCH_DETAILS",
|
|
9419
|
+
name: "Mismatch in Owner / Consumer Details",
|
|
9420
|
+
i18nKey: "WS_MUTATION_REASON_MISMATCH_DETAILS"
|
|
9421
|
+
}, {
|
|
9422
|
+
code: "INVALID_PROOF",
|
|
9423
|
+
name: "Invalid / Unverified Proof Provided",
|
|
9424
|
+
i18nKey: "WS_MUTATION_REASON_INVALID_PROOF"
|
|
9425
|
+
}, {
|
|
9426
|
+
code: "OTHER",
|
|
9427
|
+
name: "Other",
|
|
9428
|
+
i18nKey: "WS_MUTATION_REASON_OTHER"
|
|
9429
|
+
}];
|
|
9430
|
+
const commentsField = isReasonRequiredAction ? [{
|
|
9431
|
+
label: t("WF_REASON_LABEL") || t("Reason"),
|
|
9432
|
+
isMandatory: true,
|
|
9433
|
+
populators: /*#__PURE__*/React__default.createElement(digitUiReactComponents.Dropdown, {
|
|
9434
|
+
option: reasonOptions,
|
|
9435
|
+
autoComplete: "off",
|
|
9436
|
+
optionKey: "name",
|
|
9437
|
+
id: "mutationActionReason",
|
|
9438
|
+
select: val => {
|
|
9439
|
+
setSelectedReason(val);
|
|
9440
|
+
if ((val === null || val === void 0 ? void 0 : val.code) !== "OTHER") {
|
|
9441
|
+
setOtherReasonText("");
|
|
9442
|
+
}
|
|
9443
|
+
},
|
|
9444
|
+
selected: selectedReason,
|
|
9445
|
+
t: t,
|
|
9446
|
+
placeholder: t("WF_SELECT_REASON_PLACEHOLDER") || "Select Reason"
|
|
9447
|
+
})
|
|
9448
|
+
}, ...((selectedReason === null || selectedReason === void 0 ? void 0 : selectedReason.code) === "OTHER" ? [{
|
|
9449
|
+
label: t("WF_OTHER_REASON_LABEL") || t("Please specify reason"),
|
|
9450
|
+
isMandatory: true,
|
|
9451
|
+
populators: /*#__PURE__*/React__default.createElement("textarea", {
|
|
9452
|
+
className: "employee-card-input",
|
|
9453
|
+
style: {
|
|
9454
|
+
width: "100%",
|
|
9455
|
+
height: "80px",
|
|
9456
|
+
resize: "vertical",
|
|
9457
|
+
marginTop: "4px"
|
|
9458
|
+
},
|
|
9459
|
+
value: otherReasonText,
|
|
9460
|
+
onChange: e => setOtherReasonText(e.target.value),
|
|
9461
|
+
placeholder: t("WF_ENTER_OTHER_REASON_PLACEHOLDER") || "Enter reason details..."
|
|
9462
|
+
})
|
|
9463
|
+
}] : [])] : [{
|
|
9464
|
+
label: t("WF_COMMON_COMMENTS"),
|
|
9465
|
+
type: "textarea",
|
|
9466
|
+
populators: {
|
|
9467
|
+
name: "comments"
|
|
9468
|
+
}
|
|
9469
|
+
}];
|
|
9394
9470
|
return {
|
|
9395
9471
|
label: {
|
|
9396
9472
|
heading: "WF_" + (action === null || action === void 0 ? void 0 : action.action) + "_APPLICATION",
|
|
@@ -9398,13 +9474,7 @@ const configWSApproverApplication = _ref => {
|
|
|
9398
9474
|
cancel: "CS_COMMON_CANCEL"
|
|
9399
9475
|
},
|
|
9400
9476
|
form: [{
|
|
9401
|
-
body: [{
|
|
9402
|
-
label: t("WF_COMMON_COMMENTS"),
|
|
9403
|
-
type: "textarea",
|
|
9404
|
-
populators: {
|
|
9405
|
-
name: "comments"
|
|
9406
|
-
}
|
|
9407
|
-
}, {
|
|
9477
|
+
body: [...commentsField, {
|
|
9408
9478
|
label: t("WS_APPROVAL_CHECKLIST_BUTTON_UP_FILE"),
|
|
9409
9479
|
populators: /*#__PURE__*/React__default.createElement(digitUiReactComponents.UploadFile, {
|
|
9410
9480
|
id: "workflow-doc",
|
|
@@ -12007,7 +12077,7 @@ const convertDateToEpochNew = function (dateString, dayStartOrEnd) {
|
|
|
12007
12077
|
}
|
|
12008
12078
|
};
|
|
12009
12079
|
const ActionModal$5 = _ref => {
|
|
12010
|
-
var _action$assigneeRoles, _action$assigneeRoles2;
|
|
12080
|
+
var _action$assigneeRoles, _action$assigneeRoles2, _applicationData, _applicationData$appl, _applicationData2, _applicationData2$bus, _applicationData3, _applicationData3$app, _action$action, _action$action2;
|
|
12011
12081
|
let t = _ref.t,
|
|
12012
12082
|
action = _ref.action,
|
|
12013
12083
|
tenantId = _ref.tenantId,
|
|
@@ -12049,6 +12119,14 @@ const ActionModal$5 = _ref => {
|
|
|
12049
12119
|
const _useState7 = React.useState(null),
|
|
12050
12120
|
error = _useState7[0],
|
|
12051
12121
|
setError = _useState7[1];
|
|
12122
|
+
const _useState8 = React.useState(null),
|
|
12123
|
+
selectedReason = _useState8[0],
|
|
12124
|
+
setSelectedReason = _useState8[1];
|
|
12125
|
+
const _useState9 = React.useState(""),
|
|
12126
|
+
otherReasonText = _useState9[0],
|
|
12127
|
+
setOtherReasonText = _useState9[1];
|
|
12128
|
+
const isMutationApp = ((_applicationData = applicationData) === null || _applicationData === void 0 ? void 0 : (_applicationData$appl = _applicationData.applicationType) === null || _applicationData$appl === void 0 ? void 0 : _applicationData$appl.includes("MUTATION")) || ((_applicationData2 = applicationData) === null || _applicationData2 === void 0 ? void 0 : (_applicationData2$bus = _applicationData2.businessService) === null || _applicationData2$bus === void 0 ? void 0 : _applicationData2$bus.includes("MUTATION")) || (businessService === null || businessService === void 0 ? void 0 : businessService.includes("MUTATION")) || ((_applicationData3 = applicationData) === null || _applicationData3 === void 0 ? void 0 : (_applicationData3$app = _applicationData3.applicationNo) === null || _applicationData3$app === void 0 ? void 0 : _applicationData3$app.includes("MUT"));
|
|
12129
|
+
const isReasonRequiredAction = isMutationApp && ((action === null || action === void 0 ? void 0 : (_action$action = action.action) === null || _action$action === void 0 ? void 0 : _action$action.includes("SEND_BACK")) || (action === null || action === void 0 ? void 0 : (_action$action2 = action.action) === null || _action$action2 === void 0 ? void 0 : _action$action2.includes("REJECT")));
|
|
12052
12130
|
const isMobile = window.Digit.Utils.browser.isMobile();
|
|
12053
12131
|
const isEmployee = window.location.href.includes("/employee");
|
|
12054
12132
|
React.useEffect(() => {
|
|
@@ -12109,24 +12187,40 @@ const ActionModal$5 = _ref => {
|
|
|
12109
12187
|
})();
|
|
12110
12188
|
}, [file]);
|
|
12111
12189
|
function submit(data) {
|
|
12112
|
-
var
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12190
|
+
var _applicationData4, _applicationData0, _applicationData1, _applicationData1$app, _applicationData10, _applicationData10$pr, _applicationData11, _applicationData11$pr, _applicationData13, _applicationData14;
|
|
12191
|
+
let commentValue = (data === null || data === void 0 ? void 0 : data.comments) || "";
|
|
12192
|
+
if (isReasonRequiredAction) {
|
|
12193
|
+
if (!selectedReason) {
|
|
12194
|
+
setError(t("PLEASE_SELECT_REASON") || "Please select a reason");
|
|
12195
|
+
return;
|
|
12196
|
+
}
|
|
12197
|
+
if ((selectedReason === null || selectedReason === void 0 ? void 0 : selectedReason.code) === "OTHER") {
|
|
12198
|
+
if (!otherReasonText || otherReasonText.trim() === "") {
|
|
12199
|
+
setError(t("PLEASE_ENTER_REASON") || "Please enter the reason");
|
|
12200
|
+
return;
|
|
12201
|
+
}
|
|
12202
|
+
commentValue = otherReasonText.trim();
|
|
12203
|
+
} else {
|
|
12204
|
+
commentValue = (selectedReason === null || selectedReason === void 0 ? void 0 : selectedReason.name) || (selectedReason !== null && selectedReason !== void 0 && selectedReason.i18nKey ? t(selectedReason === null || selectedReason === void 0 ? void 0 : selectedReason.i18nKey) : selectedReason === null || selectedReason === void 0 ? void 0 : selectedReason.code);
|
|
12205
|
+
}
|
|
12206
|
+
}
|
|
12207
|
+
if ((_applicationData4 = applicationData) !== null && _applicationData4 !== void 0 && _applicationData4.isBillAmend) {
|
|
12208
|
+
var _applicationData5, _applicationData5$bil, _applicationData6, _applicationData7, _applicationData7$bil, _applicationData8, _applicationData8$app, _applicationData9, _applicationData9$app;
|
|
12209
|
+
const comments = commentValue || (data !== null && data !== void 0 && data.comments ? data.comments : null);
|
|
12210
|
+
const additionalDetails = _extends({}, (_applicationData5 = applicationData) === null || _applicationData5 === void 0 ? void 0 : (_applicationData5$bil = _applicationData5.billAmendmentDetails) === null || _applicationData5$bil === void 0 ? void 0 : _applicationData5$bil.additionalDetails, {
|
|
12117
12211
|
comments
|
|
12118
12212
|
});
|
|
12119
|
-
const amendment = _extends({}, (
|
|
12213
|
+
const amendment = _extends({}, (_applicationData6 = applicationData) === null || _applicationData6 === void 0 ? void 0 : _applicationData6.billAmendmentDetails, {
|
|
12120
12214
|
workflow: {
|
|
12121
|
-
businessId: (
|
|
12215
|
+
businessId: (_applicationData7 = applicationData) === null || _applicationData7 === void 0 ? void 0 : (_applicationData7$bil = _applicationData7.billAmendmentDetails) === null || _applicationData7$bil === void 0 ? void 0 : _applicationData7$bil.amendmentId,
|
|
12122
12216
|
action: action === null || action === void 0 ? void 0 : action.action,
|
|
12123
12217
|
tenantId: tenantId,
|
|
12124
|
-
businessService: (
|
|
12125
|
-
moduleName: (
|
|
12218
|
+
businessService: (_applicationData8 = applicationData) !== null && _applicationData8 !== void 0 && (_applicationData8$app = _applicationData8.applicationType) !== null && _applicationData8$app !== void 0 && _applicationData8$app.includes("WATER") ? "WS.AMENDMENT" : "SW.AMENDMENT",
|
|
12219
|
+
moduleName: (_applicationData9 = applicationData) !== null && _applicationData9 !== void 0 && (_applicationData9$app = _applicationData9.applicationType) !== null && _applicationData9$app !== void 0 && _applicationData9$app.includes("WATER") ? "WS" : "SW",
|
|
12126
12220
|
assignes: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? [] : [{
|
|
12127
12221
|
uuid: selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid
|
|
12128
12222
|
}],
|
|
12129
|
-
comment: (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12223
|
+
comment: commentValue || (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12130
12224
|
documents: uploadedFile ? [{
|
|
12131
12225
|
documentType: (action === null || action === void 0 ? void 0 : action.action) + " DOC",
|
|
12132
12226
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
@@ -12134,7 +12228,7 @@ const ActionModal$5 = _ref => {
|
|
|
12134
12228
|
}] : []
|
|
12135
12229
|
},
|
|
12136
12230
|
additionalDetails,
|
|
12137
|
-
comment: (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12231
|
+
comment: commentValue || (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12138
12232
|
wfDocuments: uploadedFile ? [{
|
|
12139
12233
|
documentType: (action === null || action === void 0 ? void 0 : action.action) + " DOC",
|
|
12140
12234
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
@@ -12145,7 +12239,7 @@ const ActionModal$5 = _ref => {
|
|
|
12145
12239
|
assignes: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? [] : [{
|
|
12146
12240
|
uuid: selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid
|
|
12147
12241
|
}],
|
|
12148
|
-
comment: (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12242
|
+
comment: commentValue || (data === null || data === void 0 ? void 0 : data.comments) || "",
|
|
12149
12243
|
documents: uploadedFile ? [{
|
|
12150
12244
|
documentType: (action === null || action === void 0 ? void 0 : action.action) + " DOC",
|
|
12151
12245
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
@@ -12160,7 +12254,7 @@ const ActionModal$5 = _ref => {
|
|
|
12160
12254
|
}
|
|
12161
12255
|
applicationData = _extends({}, applicationData, {
|
|
12162
12256
|
action: action === null || action === void 0 ? void 0 : action.action,
|
|
12163
|
-
comment:
|
|
12257
|
+
comment: commentValue,
|
|
12164
12258
|
assignee: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? [] : [selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid],
|
|
12165
12259
|
assignes: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? [] : [{
|
|
12166
12260
|
uuid: selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid
|
|
@@ -12170,12 +12264,12 @@ const ActionModal$5 = _ref => {
|
|
|
12170
12264
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
12171
12265
|
fileStoreId: uploadedFile
|
|
12172
12266
|
}] : null,
|
|
12173
|
-
processInstance: _extends({}, (
|
|
12267
|
+
processInstance: _extends({}, (_applicationData0 = applicationData) === null || _applicationData0 === void 0 ? void 0 : _applicationData0.processInstance, {
|
|
12174
12268
|
action: action === null || action === void 0 ? void 0 : action.action,
|
|
12175
12269
|
assignes: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? [] : [{
|
|
12176
12270
|
uuid: selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid
|
|
12177
12271
|
}],
|
|
12178
|
-
comment:
|
|
12272
|
+
comment: commentValue,
|
|
12179
12273
|
documents: uploadedFile ? [{
|
|
12180
12274
|
documentType: (action === null || action === void 0 ? void 0 : action.action) + " DOC",
|
|
12181
12275
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
@@ -12183,36 +12277,36 @@ const ActionModal$5 = _ref => {
|
|
|
12183
12277
|
}] : []
|
|
12184
12278
|
})
|
|
12185
12279
|
});
|
|
12186
|
-
if (data !== null && data !== void 0 && data.date && (
|
|
12280
|
+
if (data !== null && data !== void 0 && data.date && (_applicationData1 = applicationData) !== null && _applicationData1 !== void 0 && (_applicationData1$app = _applicationData1.applicationType) !== null && _applicationData1$app !== void 0 && _applicationData1$app.includes("DISCONNECT")) {
|
|
12187
12281
|
const disconnectionExecutionDate = cloneDeep_1(data === null || data === void 0 ? void 0 : data.date);
|
|
12188
12282
|
applicationData.disconnectionExecutionDate = convertDateToEpochNew(disconnectionExecutionDate);
|
|
12189
12283
|
} else if (data !== null && data !== void 0 && data.date) {
|
|
12190
12284
|
const connectionExecutionDate = cloneDeep_1(data === null || data === void 0 ? void 0 : data.date);
|
|
12191
12285
|
applicationData.connectionExecutionDate = convertDateToEpochNew(connectionExecutionDate);
|
|
12192
12286
|
}
|
|
12193
|
-
if (((
|
|
12194
|
-
var
|
|
12195
|
-
((
|
|
12287
|
+
if (((_applicationData10 = applicationData) === null || _applicationData10 === void 0 ? void 0 : (_applicationData10$pr = _applicationData10.processInstance) === null || _applicationData10$pr === void 0 ? void 0 : _applicationData10$pr.businessService) == "DisconnectWSConnection" || ((_applicationData11 = applicationData) === null || _applicationData11 === void 0 ? void 0 : (_applicationData11$pr = _applicationData11.processInstance) === null || _applicationData11$pr === void 0 ? void 0 : _applicationData11$pr.businessService) == "DisconnectSWConnection" || window.location.href.includes("disconnection")) {
|
|
12288
|
+
var _applicationData12;
|
|
12289
|
+
((_applicationData12 = applicationData) === null || _applicationData12 === void 0 ? void 0 : _applicationData12.serviceType) == "WATER" ? submitAction({
|
|
12196
12290
|
WaterConnection: applicationData,
|
|
12197
12291
|
disconnectRequest: true
|
|
12198
12292
|
}) : submitAction({
|
|
12199
12293
|
SewerageConnection: applicationData,
|
|
12200
12294
|
disconnectRequest: true
|
|
12201
12295
|
});
|
|
12202
|
-
} else if (((
|
|
12296
|
+
} else if (((_applicationData13 = applicationData) === null || _applicationData13 === void 0 ? void 0 : _applicationData13.applicationType) == "SEWERAGE_RECONNECTION") {
|
|
12203
12297
|
submitAction({
|
|
12204
12298
|
SewerageConnection: applicationData,
|
|
12205
12299
|
disconnectRequest: false,
|
|
12206
12300
|
reconnectRequest: true
|
|
12207
12301
|
});
|
|
12208
|
-
} else if (((
|
|
12302
|
+
} else if (((_applicationData14 = applicationData) === null || _applicationData14 === void 0 ? void 0 : _applicationData14.applicationType) == "WATER_RECONNECTION") {
|
|
12209
12303
|
submitAction({
|
|
12210
12304
|
WaterConnection: applicationData,
|
|
12211
12305
|
disconnectRequest: false,
|
|
12212
12306
|
reconnectRequest: true
|
|
12213
12307
|
});
|
|
12214
12308
|
} else {
|
|
12215
|
-
var _parsedAdhocRebateDat, _parsedAdhocRebateDat2, _parsedAdhocRebateDat3, _parsedAdhocRebateDat4, _parsedAdhocRebateDat5, _parsedAdhocRebateDat6, _parsedAdhocRebateDat7, _parsedAdhocRebateDat8, _parsedAdhocRebateDat9, _parsedAdhocRebateDat0, _parsedAdhocRebateDat1, _parsedAdhocRebateDat10,
|
|
12309
|
+
var _parsedAdhocRebateDat, _parsedAdhocRebateDat2, _parsedAdhocRebateDat3, _parsedAdhocRebateDat4, _parsedAdhocRebateDat5, _parsedAdhocRebateDat6, _parsedAdhocRebateDat7, _parsedAdhocRebateDat8, _parsedAdhocRebateDat9, _parsedAdhocRebateDat0, _parsedAdhocRebateDat1, _parsedAdhocRebateDat10, _applicationData15;
|
|
12216
12310
|
const adhocRebateData = sessionStorage.getItem("Digit.ADHOC_ADD_REBATE_DATA");
|
|
12217
12311
|
const parsedAdhocRebateData = adhocRebateData ? JSON.parse(adhocRebateData) : "";
|
|
12218
12312
|
if (parsedAdhocRebateData !== null && parsedAdhocRebateData !== void 0 && (_parsedAdhocRebateDat = parsedAdhocRebateData.value) !== null && _parsedAdhocRebateDat !== void 0 && _parsedAdhocRebateDat.adhocPenalty) applicationData.additionalDetails.adhocPenalty = parseInt(parsedAdhocRebateData === null || parsedAdhocRebateData === void 0 ? void 0 : (_parsedAdhocRebateDat2 = parsedAdhocRebateData.value) === null || _parsedAdhocRebateDat2 === void 0 ? void 0 : _parsedAdhocRebateDat2.adhocPenalty) || "";
|
|
@@ -12221,7 +12315,7 @@ const ActionModal$5 = _ref => {
|
|
|
12221
12315
|
if (parsedAdhocRebateData !== null && parsedAdhocRebateData !== void 0 && (_parsedAdhocRebateDat7 = parsedAdhocRebateData.value) !== null && _parsedAdhocRebateDat7 !== void 0 && _parsedAdhocRebateDat7.adhocRebate) applicationData.additionalDetails.adhocRebate = parseInt(parsedAdhocRebateData === null || parsedAdhocRebateData === void 0 ? void 0 : (_parsedAdhocRebateDat8 = parsedAdhocRebateData.value) === null || _parsedAdhocRebateDat8 === void 0 ? void 0 : _parsedAdhocRebateDat8.adhocRebate) || "";
|
|
12222
12316
|
if (parsedAdhocRebateData !== null && parsedAdhocRebateData !== void 0 && (_parsedAdhocRebateDat9 = parsedAdhocRebateData.value) !== null && _parsedAdhocRebateDat9 !== void 0 && _parsedAdhocRebateDat9.adhocRebateComment) applicationData.additionalDetails.adhocRebateComment = (parsedAdhocRebateData === null || parsedAdhocRebateData === void 0 ? void 0 : (_parsedAdhocRebateDat0 = parsedAdhocRebateData.value) === null || _parsedAdhocRebateDat0 === void 0 ? void 0 : _parsedAdhocRebateDat0.adhocRebateComment) || "";
|
|
12223
12317
|
if (parsedAdhocRebateData !== null && parsedAdhocRebateData !== void 0 && (_parsedAdhocRebateDat1 = parsedAdhocRebateData.value) !== null && _parsedAdhocRebateDat1 !== void 0 && _parsedAdhocRebateDat1.adhocRebateReason) applicationData.additionalDetails.adhocRebateReason = (parsedAdhocRebateData === null || parsedAdhocRebateData === void 0 ? void 0 : (_parsedAdhocRebateDat10 = parsedAdhocRebateData.value) === null || _parsedAdhocRebateDat10 === void 0 ? void 0 : _parsedAdhocRebateDat10.adhocRebateReason) || "";
|
|
12224
|
-
((
|
|
12318
|
+
((_applicationData15 = applicationData) === null || _applicationData15 === void 0 ? void 0 : _applicationData15.serviceType) == "WATER" ? submitAction({
|
|
12225
12319
|
WaterConnection: applicationData,
|
|
12226
12320
|
disconnectRequest: false,
|
|
12227
12321
|
reconnectRequest: false
|
|
@@ -12233,8 +12327,8 @@ const ActionModal$5 = _ref => {
|
|
|
12233
12327
|
}
|
|
12234
12328
|
}
|
|
12235
12329
|
React.useEffect(() => {
|
|
12236
|
-
var
|
|
12237
|
-
if (((
|
|
12330
|
+
var _applicationData16, _applicationData16$pr, _applicationData17, _applicationData17$pr;
|
|
12331
|
+
if (((_applicationData16 = applicationData) === null || _applicationData16 === void 0 ? void 0 : (_applicationData16$pr = _applicationData16.processInstance) === null || _applicationData16$pr === void 0 ? void 0 : _applicationData16$pr.businessService) == "DisconnectWSConnection" || ((_applicationData17 = applicationData) === null || _applicationData17 === void 0 ? void 0 : (_applicationData17$pr = _applicationData17.processInstance) === null || _applicationData17$pr === void 0 ? void 0 : _applicationData17$pr.businessService) == "DisconnectSWConnection") {
|
|
12238
12332
|
if (action) {
|
|
12239
12333
|
setConfig(configWSDisConnectApplication({
|
|
12240
12334
|
t,
|
|
@@ -12261,11 +12355,16 @@ const ActionModal$5 = _ref => {
|
|
|
12261
12355
|
uploadedFile,
|
|
12262
12356
|
setUploadedFile,
|
|
12263
12357
|
businessService,
|
|
12264
|
-
error
|
|
12358
|
+
error,
|
|
12359
|
+
isReasonRequiredAction,
|
|
12360
|
+
selectedReason,
|
|
12361
|
+
setSelectedReason,
|
|
12362
|
+
otherReasonText,
|
|
12363
|
+
setOtherReasonText
|
|
12265
12364
|
}));
|
|
12266
12365
|
}
|
|
12267
12366
|
}
|
|
12268
|
-
}, [action, approvers, uploadedFile, error]);
|
|
12367
|
+
}, [action, approvers, uploadedFile, error, isReasonRequiredAction, selectedReason, otherReasonText]);
|
|
12269
12368
|
return action && config.form ? /*#__PURE__*/React__default.createElement(digitUiReactComponents.Modal, {
|
|
12270
12369
|
headerBarMain: /*#__PURE__*/React__default.createElement(Heading$5, {
|
|
12271
12370
|
label: t(config.label.heading)
|
|
@@ -12282,7 +12381,13 @@ const ActionModal$5 = _ref => {
|
|
|
12282
12381
|
width: "100%",
|
|
12283
12382
|
height: "auto"
|
|
12284
12383
|
} : {}
|
|
12285
|
-
}, PTALoading ? /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null) : /*#__PURE__*/React__default.createElement(digitUiReactComponents.
|
|
12384
|
+
}, PTALoading ? /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, error && /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardLabelError, {
|
|
12385
|
+
style: {
|
|
12386
|
+
marginBottom: "12px",
|
|
12387
|
+
marginLeft: "12px",
|
|
12388
|
+
marginRight: "12px"
|
|
12389
|
+
}
|
|
12390
|
+
}, error), /*#__PURE__*/React__default.createElement(digitUiReactComponents.FormComposer, {
|
|
12286
12391
|
config: config.form,
|
|
12287
12392
|
noBoxShadow: true,
|
|
12288
12393
|
inline: true,
|
|
@@ -12294,7 +12399,7 @@ const ActionModal$5 = _ref => {
|
|
|
12294
12399
|
cardFormWrapperClassName: cardFormWrapperClassName,
|
|
12295
12400
|
cardClassName: cardClassName,
|
|
12296
12401
|
formClassName: formClassName
|
|
12297
|
-
})) : /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null);
|
|
12402
|
+
}))) : /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null);
|
|
12298
12403
|
};
|
|
12299
12404
|
|
|
12300
12405
|
const Heading$6 = props => {
|
|
@@ -14326,9 +14431,9 @@ function PropertyDocuments(_ref) {
|
|
|
14326
14431
|
var _document$values;
|
|
14327
14432
|
document === null || document === void 0 ? void 0 : (_document$values = document.values) === null || _document$values === void 0 ? void 0 : _document$values.forEach(value => {
|
|
14328
14433
|
if (!value.isPhoto) {
|
|
14329
|
-
var _ref2, _checkedMap$value$
|
|
14434
|
+
var _ref2, _checkedMap$value$fil, _value$originalDoc;
|
|
14330
14435
|
requiredDocsCount++;
|
|
14331
|
-
const isChecked = (_ref2 = (_checkedMap$value$
|
|
14436
|
+
const isChecked = (_ref2 = (_checkedMap$value$fil = checkedMap[value === null || value === void 0 ? void 0 : value.fileStoreId]) != null ? _checkedMap$value$fil : value === null || value === void 0 ? void 0 : (_value$originalDoc = value.originalDoc) === null || _value$originalDoc === void 0 ? void 0 : _value$originalDoc.isVerified) != null ? _ref2 : false;
|
|
14332
14437
|
if (isChecked) {
|
|
14333
14438
|
checkedCount++;
|
|
14334
14439
|
}
|
|
@@ -14336,7 +14441,7 @@ function PropertyDocuments(_ref) {
|
|
|
14336
14441
|
});
|
|
14337
14442
|
});
|
|
14338
14443
|
const allChecked = requiredDocsCount === 0 || checkedCount === requiredDocsCount;
|
|
14339
|
-
const isDocVerifState = !applicationStatus || applicationStatus === "PENDING_FOR_DOCUMENT_VERIFICATION";
|
|
14444
|
+
const isDocVerifState = !applicationStatus || applicationStatus === "PENDING_FOR_DOCUMENT_VERIFICATION" || applicationStatus === "PENDING_APPROVAL_FOR_MUTATION";
|
|
14340
14445
|
const finalVerified = isDocVerifState ? allChecked : true;
|
|
14341
14446
|
window.isDocumentsVerified = finalVerified;
|
|
14342
14447
|
window.dispatchEvent(new CustomEvent("DOCUMENTS_VERIFIED", {
|
|
@@ -14572,7 +14677,7 @@ function PropertyDocuments(_ref) {
|
|
|
14572
14677
|
style: {
|
|
14573
14678
|
cursor: "pointer"
|
|
14574
14679
|
}
|
|
14575
|
-
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.ViewsIcon, null)), !isPhoto && ((_ref3, _checkedMap$value$
|
|
14680
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.ViewsIcon, null)), !isPhoto && ((_ref3, _checkedMap$value$fil2, _value$originalDoc2, _value$originalDoc3, _ref4, _checkedMap$value$fil3, _value$originalDoc4) => {
|
|
14576
14681
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
14577
14682
|
onClick: () => {
|
|
14578
14683
|
if (fileUrl) {
|
|
@@ -14614,26 +14719,25 @@ function PropertyDocuments(_ref) {
|
|
|
14614
14719
|
margin: 0
|
|
14615
14720
|
}
|
|
14616
14721
|
}, /*#__PURE__*/React__default.createElement("input", {
|
|
14617
|
-
key: "chk-" + (value === null || value === void 0 ? void 0 :
|
|
14722
|
+
key: "chk-" + (value === null || value === void 0 ? void 0 : value.fileStoreId) + "-" + (value === null || value === void 0 ? void 0 : (_value$originalDoc3 = value.originalDoc) === null || _value$originalDoc3 === void 0 ? void 0 : _value$originalDoc3.isVerified),
|
|
14618
14723
|
type: "checkbox",
|
|
14619
14724
|
className: "verify-doc-checkbox",
|
|
14620
14725
|
style: {
|
|
14621
14726
|
width: "18px",
|
|
14622
14727
|
height: "18px",
|
|
14623
14728
|
accentColor: "#F47738",
|
|
14624
|
-
cursor: applicationStatus && applicationStatus !== "PENDING_FOR_DOCUMENT_VERIFICATION" ? "not-allowed" : "pointer"
|
|
14729
|
+
cursor: applicationStatus && applicationStatus !== "PENDING_FOR_DOCUMENT_VERIFICATION" && applicationStatus !== "PENDING_APPROVAL_FOR_MUTATION" ? "not-allowed" : "pointer"
|
|
14625
14730
|
},
|
|
14626
|
-
disabled: applicationStatus && applicationStatus !== "PENDING_FOR_DOCUMENT_VERIFICATION",
|
|
14627
|
-
|
|
14731
|
+
disabled: applicationStatus && applicationStatus !== "PENDING_FOR_DOCUMENT_VERIFICATION" && applicationStatus !== "PENDING_APPROVAL_FOR_MUTATION" && applicationStatus !== "ACTIVATE_MUTATION",
|
|
14732
|
+
checked: applicationStatus === "PENDING_FOR_MUTATION_ACTIVATION" || ((_ref4 = (_checkedMap$value$fil3 = checkedMap[value === null || value === void 0 ? void 0 : value.fileStoreId]) != null ? _checkedMap$value$fil3 : value === null || value === void 0 ? void 0 : (_value$originalDoc4 = value.originalDoc) === null || _value$originalDoc4 === void 0 ? void 0 : _value$originalDoc4.isVerified) != null ? _ref4 : false),
|
|
14628
14733
|
onChange: e => {
|
|
14629
|
-
var _value$originalDoc8;
|
|
14630
14734
|
const checked = e.target.checked;
|
|
14631
14735
|
if (value !== null && value !== void 0 && value.originalDoc) {
|
|
14632
14736
|
value.originalDoc.isVerified = checked;
|
|
14633
14737
|
}
|
|
14634
|
-
if (value !== null && value !== void 0 &&
|
|
14738
|
+
if (value !== null && value !== void 0 && value.fileStoreId) {
|
|
14635
14739
|
setCheckedMap(prev => _extends({}, prev, {
|
|
14636
|
-
[value.
|
|
14740
|
+
[value.fileStoreId]: checked
|
|
14637
14741
|
}));
|
|
14638
14742
|
}
|
|
14639
14743
|
}
|
|
@@ -15416,7 +15520,7 @@ const Rebate_menu = [{
|
|
|
15416
15520
|
value: "Others"
|
|
15417
15521
|
}];
|
|
15418
15522
|
const WSFeeEstimation = _ref => {
|
|
15419
|
-
var _wsAdditionalDetails$,
|
|
15523
|
+
var _wsAdditionalDetails$, _fields$adhocPenaltyR, _fields$adhocRebateRe;
|
|
15420
15524
|
let wsAdditionalDetails = _ref.wsAdditionalDetails;
|
|
15421
15525
|
const _useTranslation = reactI18next.useTranslation(),
|
|
15422
15526
|
t = _useTranslation.t;
|
|
@@ -15449,17 +15553,10 @@ const WSFeeEstimation = _ref => {
|
|
|
15449
15553
|
if ((sessionFormData === null || sessionFormData === void 0 ? void 0 : (_sessionFormData$bill = sessionFormData.billDetails) === null || _sessionFormData$bill === void 0 ? void 0 : _sessionFormData$bill.length) > 0) {
|
|
15450
15554
|
var _sessionFormData$bill2, _sessionFormData$bill3, _sessionFormData$bill4, _sessionFormData$bill5, _sessionFormData$bill6, _sessionFormData$bill7, _sessionFormData$bill8, _sessionFormData$bill9, _sessionFormData$bill0, _sessionFormData$bill1, _sessionFormData$bill10;
|
|
15451
15555
|
const billAccountDetails = (sessionFormData === null || sessionFormData === void 0 ? void 0 : (_sessionFormData$bill2 = sessionFormData.billDetails) === null || _sessionFormData$bill2 === void 0 ? void 0 : (_sessionFormData$bill3 = _sessionFormData$bill2[0]) === null || _sessionFormData$bill3 === void 0 ? void 0 : _sessionFormData$bill3.billAccountDetails) || (sessionFormData === null || sessionFormData === void 0 ? void 0 : (_sessionFormData$bill4 = sessionFormData.billDetails) === null || _sessionFormData$bill4 === void 0 ? void 0 : (_sessionFormData$bill5 = _sessionFormData$bill4[0]) === null || _sessionFormData$bill5 === void 0 ? void 0 : _sessionFormData$bill5.taxHeadEstimates) || [];
|
|
15452
|
-
const values = billAccountDetails.length > 0 ? billAccountDetails.map(bill => {
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(bill === null || bill === void 0 ? void 0 : bill.amount).toFixed(2), bill !== null && bill !== void 0 && bill.status ? /*#__PURE__*/React__default.createElement("span", {
|
|
15457
|
-
style: {
|
|
15458
|
-
color: (bill === null || bill === void 0 ? void 0 : (_bill$status = bill.status) === null || _bill$status === void 0 ? void 0 : _bill$status.toUpperCase()) === "PAID" ? "green" : "red"
|
|
15459
|
-
}
|
|
15460
|
-
}, " (" + (bill === null || bill === void 0 ? void 0 : bill.status) + ")") : "")
|
|
15461
|
-
};
|
|
15462
|
-
}) : [{
|
|
15556
|
+
const values = billAccountDetails.length > 0 ? billAccountDetails.map(bill => ({
|
|
15557
|
+
title: bill === null || bill === void 0 ? void 0 : bill.taxHeadCode,
|
|
15558
|
+
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(bill === null || bill === void 0 ? void 0 : bill.amount).toFixed(2))
|
|
15559
|
+
})) : [{
|
|
15463
15560
|
title: "WS_APPLICATION_FEE_HEADER",
|
|
15464
15561
|
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", sessionFormData === null || sessionFormData === void 0 ? void 0 : (_sessionFormData$bill6 = sessionFormData.billDetails) === null || _sessionFormData$bill6 === void 0 ? void 0 : (_sessionFormData$bill7 = _sessionFormData$bill6[0]) === null || _sessionFormData$bill7 === void 0 ? void 0 : _sessionFormData$bill7.fee)
|
|
15465
15562
|
}, {
|
|
@@ -15541,17 +15638,10 @@ const WSFeeEstimation = _ref => {
|
|
|
15541
15638
|
}
|
|
15542
15639
|
result.Calculation[0].billSlabData = _.groupBy(result === null || result === void 0 ? void 0 : (_result$Calculation3 = result.Calculation) === null || _result$Calculation3 === void 0 ? void 0 : (_result$Calculation3$ = _result$Calculation3[0]) === null || _result$Calculation3$ === void 0 ? void 0 : _result$Calculation3$.taxHeadEstimates, "category");
|
|
15543
15640
|
const taxHeadEstimates = (result === null || result === void 0 ? void 0 : (_result$Calculation4 = result.Calculation) === null || _result$Calculation4 === void 0 ? void 0 : (_result$Calculation4$ = _result$Calculation4[0]) === null || _result$Calculation4$ === void 0 ? void 0 : _result$Calculation4$.taxHeadEstimates) || [];
|
|
15544
|
-
const values = taxHeadEstimates.length > 0 ? taxHeadEstimates.map(data => {
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.estimateAmount).toFixed(2), data !== null && data !== void 0 && data.status ? /*#__PURE__*/React__default.createElement("span", {
|
|
15549
|
-
style: {
|
|
15550
|
-
color: (data === null || data === void 0 ? void 0 : (_data$status = data.status) === null || _data$status === void 0 ? void 0 : _data$status.toUpperCase()) === "PAID" ? "green" : "red"
|
|
15551
|
-
}
|
|
15552
|
-
}, " (" + (data === null || data === void 0 ? void 0 : data.status) + ")") : "")
|
|
15553
|
-
};
|
|
15554
|
-
}) : [{
|
|
15641
|
+
const values = taxHeadEstimates.length > 0 ? taxHeadEstimates.map(data => ({
|
|
15642
|
+
title: data === null || data === void 0 ? void 0 : data.taxHeadCode,
|
|
15643
|
+
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.estimateAmount).toFixed(2))
|
|
15644
|
+
})) : [{
|
|
15555
15645
|
title: "WS_APPLICATION_FEE_HEADER",
|
|
15556
15646
|
value: (_result$Calculation5 = result.Calculation) === null || _result$Calculation5 === void 0 ? void 0 : (_result$Calculation5$ = _result$Calculation5[0]) === null || _result$Calculation5$ === void 0 ? void 0 : _result$Calculation5$.fee
|
|
15557
15647
|
}, {
|
|
@@ -15647,17 +15737,7 @@ const WSFeeEstimation = _ref => {
|
|
|
15647
15737
|
} : {
|
|
15648
15738
|
color: "#2E9E8F"
|
|
15649
15739
|
}
|
|
15650
|
-
}))),
|
|
15651
|
-
onClick: e => {
|
|
15652
|
-
showPopUp(true);
|
|
15653
|
-
}
|
|
15654
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
15655
|
-
className: "add-details-link hover-button",
|
|
15656
|
-
style: {
|
|
15657
|
-
cursor: "pointer",
|
|
15658
|
-
color: "#a82227"
|
|
15659
|
-
}
|
|
15660
|
-
}, t("WS_PAYMENT_ADD_REBATE_PENALTY"))) : null, popup && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Modal, {
|
|
15740
|
+
}))), popup && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Modal, {
|
|
15661
15741
|
headerBarMain: /*#__PURE__*/React__default.createElement(Heading, {
|
|
15662
15742
|
label: t("PT_ADD_REBATE_PENALITY")
|
|
15663
15743
|
}),
|
|
@@ -15937,17 +16017,10 @@ const ViewBreakup = _ref => {
|
|
|
15937
16017
|
if (rows === void 0) {
|
|
15938
16018
|
rows = [];
|
|
15939
16019
|
}
|
|
15940
|
-
return rows.map(row => {
|
|
15941
|
-
|
|
15942
|
-
|
|
15943
|
-
|
|
15944
|
-
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9" + formatNumber(row === null || row === void 0 ? void 0 : row.amount), row !== null && row !== void 0 && row.status ? /*#__PURE__*/React__default.createElement("span", {
|
|
15945
|
-
style: {
|
|
15946
|
-
color: (row === null || row === void 0 ? void 0 : (_row$status = row.status) === null || _row$status === void 0 ? void 0 : _row$status.toUpperCase()) === "PAID" ? "green" : "red"
|
|
15947
|
-
}
|
|
15948
|
-
}, " (" + (row === null || row === void 0 ? void 0 : row.status) + ")") : "")
|
|
15949
|
-
};
|
|
15950
|
-
});
|
|
16020
|
+
return rows.map(row => ({
|
|
16021
|
+
title: t(row === null || row === void 0 ? void 0 : row.taxHeadCode),
|
|
16022
|
+
value: /*#__PURE__*/React__default.createElement("span", null, "\u20B9" + formatNumber(row === null || row === void 0 ? void 0 : row.amount))
|
|
16023
|
+
}));
|
|
15951
16024
|
};
|
|
15952
16025
|
const connectionHolder = wsAdditionalDetails === null || wsAdditionalDetails === void 0 ? void 0 : (_wsAdditionalDetails$2 = wsAdditionalDetails.additionalDetails) === null || _wsAdditionalDetails$2 === void 0 ? void 0 : (_wsAdditionalDetails$3 = _wsAdditionalDetails$2.appDetails) === null || _wsAdditionalDetails$3 === void 0 ? void 0 : (_wsAdditionalDetails$4 = _wsAdditionalDetails$3.connectionHolders) === null || _wsAdditionalDetails$4 === void 0 ? void 0 : _wsAdditionalDetails$4[0];
|
|
15953
16026
|
const applicantName = [connectionHolder === null || connectionHolder === void 0 ? void 0 : connectionHolder.name, connectionHolder === null || connectionHolder === void 0 ? void 0 : connectionHolder.middleName, connectionHolder === null || connectionHolder === void 0 ? void 0 : connectionHolder.lastName].filter(Boolean).join(" ") || "-";
|
|
@@ -16148,7 +16221,7 @@ const ViewBreakup = _ref => {
|
|
|
16148
16221
|
label: "Sewer Infra Charges",
|
|
16149
16222
|
value: infrastructureChargeDetail.sewerComponentIFC,
|
|
16150
16223
|
currency: true
|
|
16151
|
-
}, {
|
|
16224
|
+
}, ...(infrastructureChargeDetail.rebateAmount > 0 ? [{
|
|
16152
16225
|
label: "Rebate",
|
|
16153
16226
|
value: infrastructureChargeDetail.rebatePercentage,
|
|
16154
16227
|
unit: "%"
|
|
@@ -16156,7 +16229,31 @@ const ViewBreakup = _ref => {
|
|
|
16156
16229
|
label: "Rebate amount",
|
|
16157
16230
|
value: infrastructureChargeDetail.rebateAmount,
|
|
16158
16231
|
currency: true
|
|
16232
|
+
}] : []), ...(infrastructureChargeDetail.institutionalRebateApplied ? [{
|
|
16233
|
+
label: "Institutional rebate",
|
|
16234
|
+
value: infrastructureChargeDetail.institutionalRebatePercentage,
|
|
16235
|
+
unit: "%"
|
|
16236
|
+
}, {
|
|
16237
|
+
label: "Institutional rebate amount",
|
|
16238
|
+
value: infrastructureChargeDetail.institutionalRebateAmount,
|
|
16239
|
+
currency: true
|
|
16159
16240
|
}, {
|
|
16241
|
+
label: "Institutional rebate reason",
|
|
16242
|
+
value: t(infrastructureChargeDetail.institutionalRebateReason),
|
|
16243
|
+
isText: true
|
|
16244
|
+
}] : []), ...(infrastructureChargeDetail.dwellingRebateApplied ? [{
|
|
16245
|
+
label: "Dwelling rebate",
|
|
16246
|
+
value: infrastructureChargeDetail.dwellingRebatePercentage,
|
|
16247
|
+
unit: "%"
|
|
16248
|
+
}, {
|
|
16249
|
+
label: "Dwelling rebate amount",
|
|
16250
|
+
value: infrastructureChargeDetail.dwellingRebateAmount,
|
|
16251
|
+
currency: true
|
|
16252
|
+
}, {
|
|
16253
|
+
label: "Dwelling rebate reason",
|
|
16254
|
+
value: t(infrastructureChargeDetail.dwellingRebateReason),
|
|
16255
|
+
isText: true
|
|
16256
|
+
}] : []), {
|
|
16160
16257
|
label: "Net IFC",
|
|
16161
16258
|
value: infrastructureChargeDetail.netIFC,
|
|
16162
16259
|
currency: true
|
|
@@ -16202,70 +16299,49 @@ const ViewBreakup = _ref => {
|
|
|
16202
16299
|
style: {
|
|
16203
16300
|
margin: "10px 0px"
|
|
16204
16301
|
}
|
|
16205
|
-
}, t("WS_APPLICATION_FEE_HEADER")), breakUpData === null || breakUpData === void 0 ? void 0 : (_breakUpData$billSlab4 = breakUpData.billSlabData) === null || _breakUpData$billSlab4 === void 0 ? void 0 : (_breakUpData$billSlab5 = _breakUpData$billSlab4.FEE) === null || _breakUpData$billSlab5 === void 0 ? void 0 : _breakUpData$billSlab5.map(data => {
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
}
|
|
16247
|
-
}),
|
|
16248
|
-
var _data$status3;
|
|
16249
|
-
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
16250
|
-
className: "border-none",
|
|
16251
|
-
rowContainerStyle: {
|
|
16252
|
-
margin: "0px"
|
|
16253
|
-
},
|
|
16254
|
-
labelStyle: {
|
|
16255
|
-
width: "50%"
|
|
16256
|
-
},
|
|
16257
|
-
key: "" + (data === null || data === void 0 ? void 0 : data.taxHeadCode),
|
|
16258
|
-
label: "" + t("" + (data === null || data === void 0 ? void 0 : data.taxHeadCode)),
|
|
16259
|
-
text: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.amount) || 0, data !== null && data !== void 0 && data.status ? /*#__PURE__*/React__default.createElement("span", {
|
|
16260
|
-
style: {
|
|
16261
|
-
color: (data === null || data === void 0 ? void 0 : (_data$status3 = data.status) === null || _data$status3 === void 0 ? void 0 : _data$status3.toUpperCase()) === "PAID" ? "green" : "red"
|
|
16262
|
-
}
|
|
16263
|
-
}, " (" + (data === null || data === void 0 ? void 0 : data.status) + ")") : ""),
|
|
16264
|
-
textStyle: {
|
|
16265
|
-
textAlign: "right"
|
|
16266
|
-
}
|
|
16267
|
-
});
|
|
16268
|
-
}), propertyRows.length > 0 && /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, {
|
|
16302
|
+
}, t("WS_APPLICATION_FEE_HEADER")), breakUpData === null || breakUpData === void 0 ? void 0 : (_breakUpData$billSlab4 = breakUpData.billSlabData) === null || _breakUpData$billSlab4 === void 0 ? void 0 : (_breakUpData$billSlab5 = _breakUpData$billSlab4.FEE) === null || _breakUpData$billSlab5 === void 0 ? void 0 : _breakUpData$billSlab5.map(data => /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
16303
|
+
className: "border-none",
|
|
16304
|
+
rowContainerStyle: {
|
|
16305
|
+
margin: "0px"
|
|
16306
|
+
},
|
|
16307
|
+
labelStyle: {
|
|
16308
|
+
width: "50%"
|
|
16309
|
+
},
|
|
16310
|
+
key: "" + (data === null || data === void 0 ? void 0 : data.taxHeadCode),
|
|
16311
|
+
label: "" + t("" + (data === null || data === void 0 ? void 0 : data.taxHeadCode)),
|
|
16312
|
+
text: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.amount) || 0),
|
|
16313
|
+
textStyle: {
|
|
16314
|
+
textAlign: "right"
|
|
16315
|
+
}
|
|
16316
|
+
})), breakUpData === null || breakUpData === void 0 ? void 0 : (_breakUpData$billSlab6 = breakUpData.billSlabData) === null || _breakUpData$billSlab6 === void 0 ? void 0 : (_breakUpData$billSlab7 = _breakUpData$billSlab6.CHARGES) === null || _breakUpData$billSlab7 === void 0 ? void 0 : _breakUpData$billSlab7.map(data => /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
16317
|
+
className: "border-none",
|
|
16318
|
+
rowContainerStyle: {
|
|
16319
|
+
margin: "0px"
|
|
16320
|
+
},
|
|
16321
|
+
labelStyle: {
|
|
16322
|
+
width: "50%"
|
|
16323
|
+
},
|
|
16324
|
+
key: "" + (data === null || data === void 0 ? void 0 : data.taxHeadCode),
|
|
16325
|
+
label: "" + t("" + (data === null || data === void 0 ? void 0 : data.taxHeadCode)),
|
|
16326
|
+
text: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.amount) || 0),
|
|
16327
|
+
textStyle: {
|
|
16328
|
+
textAlign: "right"
|
|
16329
|
+
}
|
|
16330
|
+
})), breakUpData === null || breakUpData === void 0 ? void 0 : (_breakUpData$billSlab8 = breakUpData.billSlabData) === null || _breakUpData$billSlab8 === void 0 ? void 0 : (_breakUpData$billSlab9 = _breakUpData$billSlab8.TAX) === null || _breakUpData$billSlab9 === void 0 ? void 0 : _breakUpData$billSlab9.map(data => /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
16331
|
+
className: "border-none",
|
|
16332
|
+
rowContainerStyle: {
|
|
16333
|
+
margin: "0px"
|
|
16334
|
+
},
|
|
16335
|
+
labelStyle: {
|
|
16336
|
+
width: "50%"
|
|
16337
|
+
},
|
|
16338
|
+
key: "" + (data === null || data === void 0 ? void 0 : data.taxHeadCode),
|
|
16339
|
+
label: "" + t("" + (data === null || data === void 0 ? void 0 : data.taxHeadCode)),
|
|
16340
|
+
text: /*#__PURE__*/React__default.createElement("span", null, "\u20B9", Number(data === null || data === void 0 ? void 0 : data.amount) || 0),
|
|
16341
|
+
textStyle: {
|
|
16342
|
+
textAlign: "right"
|
|
16343
|
+
}
|
|
16344
|
+
})), propertyRows.length > 0 && /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, {
|
|
16269
16345
|
style: {
|
|
16270
16346
|
margin: "10px 0px"
|
|
16271
16347
|
}
|
|
@@ -16883,6 +16959,7 @@ function ApplicationDetailsContent(_ref) {
|
|
|
16883
16959
|
workflowDetails = _ref.workflowDetails,
|
|
16884
16960
|
isDataLoading = _ref.isDataLoading,
|
|
16885
16961
|
applicationData = _ref.applicationData,
|
|
16962
|
+
businessService = _ref.businessService,
|
|
16886
16963
|
timelineStatusPrefix = _ref.timelineStatusPrefix,
|
|
16887
16964
|
_ref$showTimeLine = _ref.showTimeLine,
|
|
16888
16965
|
showTimeLine = _ref$showTimeLine === void 0 ? true : _ref$showTimeLine,
|
|
@@ -17158,7 +17235,7 @@ function ApplicationDetailsContent(_ref) {
|
|
|
17158
17235
|
infoClickInfoLabel: getClickInfoDetails(),
|
|
17159
17236
|
infoClickInfoLabel1: getClickInfoDetails1()
|
|
17160
17237
|
}) : null, applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationDetails) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.map((detail, index) => {
|
|
17161
|
-
var _detail$title, _detail$values, _detail$additionalDet, _applicationDetails$a2, _applicationDetails$a3, _applicationDetails$a4, _detail$additionalDet2, _applicationDetails$a5, _applicationDetails$a6, _detail$additionalDet3, _detail$additionalDet4, _detail$additionalDet5, _detail$additionalDet6, _detail$additionalDet7, _detail$additionalDet8, _detail$additionalDet9, _workflowDetails$data, _workflowDetails$data2, _detail$additionalDet0, _detail$additionalDet1, _detail$additionalDet10, _detail$additionalDet11, _detail$additionalDet12, _detail$additionalDet13, _detail$additionalDet14, _detail$additionalDet15, _detail$additionalDet16, _detail$additionalDet17, _detail$additionalDet18, _detail$additionalDet19, _detail$additionalDet20, _detail$additionalDet21, _detail$additionalDet22, _detail$additionalDet23, _detail$additionalDet24, _detail$additionalDet25, _detail$additionalDet26, _detail$additionalDet27, _detail$additionalDet28, _detail$additionalDet29;
|
|
17238
|
+
var _detail$title, _detail$values, _detail$additionalDet, _applicationDetails$a2, _applicationDetails$a3, _applicationDetails$a4, _detail$additionalDet2, _applicationDetails$a5, _applicationDetails$a6, _detail$additionalDet3, _detail$additionalDet4, _detail$additionalDet5, _detail$additionalDet6, _detail$additionalDet7, _detail$additionalDet8, _detail$additionalDet9, _workflowDetails$data, _workflowDetails$data2, _detail$additionalDet0, _detail$additionalDet1, _detail$additionalDet10, _detail$additionalDet11, _detail$additionalDet12, _detail$additionalDet13, _detail$additionalDet14, _detail$additionalDet15, _detail$additionalDet16, _detail$additionalDet17, _detail$additionalDet18, _detail$additionalDet19, _applicationData$appl, _detail$additionalDet20, _applicationData$appl2, _detail$additionalDet21, _detail$additionalDet22, _detail$additionalDet23, _detail$additionalDet24, _detail$additionalDet25, _detail$additionalDet26, _detail$additionalDet27, _detail$additionalDet28, _detail$additionalDet29;
|
|
17162
17239
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
17163
17240
|
key: index
|
|
17164
17241
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -17389,9 +17466,9 @@ function ApplicationDetailsContent(_ref) {
|
|
|
17389
17466
|
}), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet17 = detail.additionalDetails) === null || _detail$additionalDet17 === void 0 ? void 0 : _detail$additionalDet17.documents) && /*#__PURE__*/React__default.createElement(PropertyDocuments, {
|
|
17390
17467
|
documents: detail === null || detail === void 0 ? void 0 : (_detail$additionalDet18 = detail.additionalDetails) === null || _detail$additionalDet18 === void 0 ? void 0 : _detail$additionalDet18.documents,
|
|
17391
17468
|
applicationStatus: applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus
|
|
17392
|
-
}), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet19 = detail.additionalDetails) === null || _detail$additionalDet19 === void 0 ? void 0 : _detail$additionalDet19.documents) && ["PENDING_FOR_FIELD_INSPECTION", "PENDING_APPROVAL_FOR_CONNECTION", "PENDING_FOR_CONNECTION_ACTIVATION", "PENDING_FOR_RECONNECTION", "PENDING_FOR_DUE_VERIFICATION", "PENDING_FOR_BILLING_CLERK_REVIEW", "PENDING_FOR_ASO_APPROVAL", "PENDING_FOR_ZRO_APPROVAL", "PENDING_FOR_AE_APPROVAL", "PENDING_FOR_FINAL_PAYMENT", "CONNECTION_ACTIVATED", "PENDING_FOR_CONNECTION_ACTIVATION"].includes(applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus) && /*#__PURE__*/React__default.createElement(DueVerification, {
|
|
17469
|
+
}), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet19 = detail.additionalDetails) === null || _detail$additionalDet19 === void 0 ? void 0 : _detail$additionalDet19.documents) && !(applicationData !== null && applicationData !== void 0 && (_applicationData$appl = applicationData.applicationType) !== null && _applicationData$appl !== void 0 && _applicationData$appl.includes("MUTATION")) && !(businessService !== null && businessService !== void 0 && businessService.includes("MUTATION")) && ["PENDING_FOR_FIELD_INSPECTION", "PENDING_APPROVAL_FOR_CONNECTION", "PENDING_FOR_CONNECTION_ACTIVATION", "PENDING_FOR_RECONNECTION", "PENDING_FOR_DUE_VERIFICATION", "PENDING_FOR_BILLING_CLERK_REVIEW", "PENDING_FOR_ASO_APPROVAL", "PENDING_FOR_ZRO_APPROVAL", "PENDING_FOR_AE_APPROVAL", "PENDING_FOR_FINAL_PAYMENT", "CONNECTION_ACTIVATED", "PENDING_FOR_CONNECTION_ACTIVATION"].includes(applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus) && /*#__PURE__*/React__default.createElement(DueVerification, {
|
|
17393
17470
|
applicationData: applicationData
|
|
17394
|
-
}), " ", (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet20 = detail.additionalDetails) === null || _detail$additionalDet20 === void 0 ? void 0 : _detail$additionalDet20.documents) && ["PENDING_FOR_FIELD_INSPECTION", "PENDING_FOR_BILLING_CLERK_REVIEW", "PENDING_FOR_ASO_APPROVAL", "PENDING_FOR_ZRO_APPROVAL", "PENDING_FOR_AE_APPROVAL", "PENDING_FOR_FINAL_PAYMENT", "CONNECTION_ACTIVATED", "PENDING_FOR_CONNECTION_ACTIVATION"].includes(applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus) && /*#__PURE__*/React__default.createElement(InspectionInformation, {
|
|
17471
|
+
}), " ", (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet20 = detail.additionalDetails) === null || _detail$additionalDet20 === void 0 ? void 0 : _detail$additionalDet20.documents) && !(applicationData !== null && applicationData !== void 0 && (_applicationData$appl2 = applicationData.applicationType) !== null && _applicationData$appl2 !== void 0 && _applicationData$appl2.includes("MUTATION")) && !(businessService !== null && businessService !== void 0 && businessService.includes("MUTATION")) && ["PENDING_FOR_FIELD_INSPECTION", "PENDING_FOR_BILLING_CLERK_REVIEW", "PENDING_FOR_ASO_APPROVAL", "PENDING_FOR_ZRO_APPROVAL", "PENDING_FOR_AE_APPROVAL", "PENDING_FOR_FINAL_PAYMENT", "CONNECTION_ACTIVATED", "PENDING_FOR_CONNECTION_ACTIVATION"].includes(applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus) && /*#__PURE__*/React__default.createElement(InspectionInformation, {
|
|
17395
17472
|
applicationData: applicationData
|
|
17396
17473
|
}), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet21 = detail.additionalDetails) === null || _detail$additionalDet21 === void 0 ? void 0 : _detail$additionalDet21.taxHeadEstimatesCalculation) && /*#__PURE__*/React__default.createElement(PropertyEstimates, {
|
|
17397
17474
|
taxHeadEstimatesCalculation: detail === null || detail === void 0 ? void 0 : (_detail$additionalDet22 = detail.additionalDetails) === null || _detail$additionalDet22 === void 0 ? void 0 : _detail$additionalDet22.taxHeadEstimatesCalculation
|
|
@@ -17562,7 +17639,7 @@ function ApplicationDetailsActionBar(_ref) {
|
|
|
17562
17639
|
if (typeof window !== "undefined" && typeof window.isDocumentsVerified !== "undefined") {
|
|
17563
17640
|
return !window.isDocumentsVerified;
|
|
17564
17641
|
}
|
|
17565
|
-
return
|
|
17642
|
+
return true;
|
|
17566
17643
|
}),
|
|
17567
17644
|
isSubmitDisabled = _React$useState[0],
|
|
17568
17645
|
setIsSubmitDisabled = _React$useState[1];
|
|
@@ -17575,7 +17652,10 @@ function ApplicationDetailsActionBar(_ref) {
|
|
|
17575
17652
|
};
|
|
17576
17653
|
if (typeof window !== "undefined") {
|
|
17577
17654
|
window.addEventListener("DOCUMENTS_VERIFIED", handleDocVerification);
|
|
17578
|
-
return () =>
|
|
17655
|
+
return () => {
|
|
17656
|
+
window.removeEventListener("DOCUMENTS_VERIFIED", handleDocVerification);
|
|
17657
|
+
delete window.isDocumentsVerified;
|
|
17658
|
+
};
|
|
17579
17659
|
}
|
|
17580
17660
|
}, []);
|
|
17581
17661
|
if (window.location.href.includes("/obps") || window.location.href.includes("/noc")) {
|
|
@@ -18067,7 +18147,7 @@ const ViewProperty = () => {
|
|
|
18067
18147
|
workflowDetails: workflowDetails,
|
|
18068
18148
|
applicationData: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationData,
|
|
18069
18149
|
moduleCode: "PT"
|
|
18070
|
-
}), window.location.href.includes("redirectToUrl") && (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.status) !== "INACTIVE" && /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
18150
|
+
}), window.location.href.includes("redirectToUrl") && window.location.href.includes("redirectToUrl=null") === false && window.location.href.includes("redirectToUrl=undefined") === false && (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.status) !== "INACTIVE" && /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
18071
18151
|
style: {
|
|
18072
18152
|
display: "flex",
|
|
18073
18153
|
justifyContent: "flex-end",
|
|
@@ -18087,26 +18167,42 @@ const App = _ref => {
|
|
|
18087
18167
|
const _useRouteMatch = reactRouterDom.useRouteMatch(),
|
|
18088
18168
|
path = _useRouteMatch.path,
|
|
18089
18169
|
match = _objectWithoutPropertiesLoose(_useRouteMatch, _excluded$1);
|
|
18170
|
+
const location = reactRouterDom.useLocation();
|
|
18090
18171
|
const getBreadcrumbLabel = () => {
|
|
18091
18172
|
const pathname = location.pathname;
|
|
18092
18173
|
if (pathname.includes("/commonpt/search")) return "SEARCH_PROPERTY";else if (pathname.includes("/view-property")) return "PT_PROPERTY_INFORMATION";
|
|
18093
18174
|
if (pathname.includes("/property/new-application")) return "PT_CREATE_PROPERTY";
|
|
18094
18175
|
return "ES_COMMON_INBOX";
|
|
18095
18176
|
};
|
|
18096
|
-
const
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
|
|
18100
|
-
|
|
18101
|
-
|
|
18177
|
+
const getDynamicBreadcrumbs = () => {
|
|
18178
|
+
var _location$state;
|
|
18179
|
+
let crumbs = [{
|
|
18180
|
+
path: "/digit-ui/citizen",
|
|
18181
|
+
icon: digitUiReactComponents.HomeIcon
|
|
18182
|
+
}];
|
|
18183
|
+
crumbs.push({
|
|
18184
|
+
path: "/digit-ui/citizen/commonpt-home",
|
|
18185
|
+
label: t("ACTION_TEST_COMMON_PROPERTY_TAX")
|
|
18186
|
+
});
|
|
18187
|
+
if ((_location$state = location.state) !== null && _location$state !== void 0 && _location$state.fromSearch) {
|
|
18188
|
+
crumbs.push({
|
|
18189
|
+
label: t("ES_COMMON_INBOX"),
|
|
18190
|
+
onClick: () => window.history.back()
|
|
18191
|
+
});
|
|
18192
|
+
}
|
|
18193
|
+
crumbs.push({
|
|
18194
|
+
label: t(getBreadcrumbLabel())
|
|
18195
|
+
});
|
|
18196
|
+
return crumbs;
|
|
18197
|
+
};
|
|
18102
18198
|
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.AppContainer, null, /*#__PURE__*/React__default.createElement("div", {
|
|
18103
18199
|
className: "ground-container employee-app-container form-container"
|
|
18104
18200
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.ModuleHeader, {
|
|
18105
18201
|
leftContent: /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.ArrowLeft, {
|
|
18106
18202
|
className: "icon"
|
|
18107
|
-
}), "
|
|
18203
|
+
}), t("CS_COMMON_BACK")),
|
|
18108
18204
|
onLeftClick: () => window.history.back(),
|
|
18109
|
-
breadcrumbs:
|
|
18205
|
+
breadcrumbs: getDynamicBreadcrumbs()
|
|
18110
18206
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
18111
18207
|
className: "employee-form"
|
|
18112
18208
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -18748,7 +18844,6 @@ const PropertyLocationDetails = _ref => {
|
|
|
18748
18844
|
locality: localityCode,
|
|
18749
18845
|
streetName: addressData.street || "",
|
|
18750
18846
|
houseNo: addressData.houseNo || "",
|
|
18751
|
-
addressLine1: addressData.street || "",
|
|
18752
18847
|
latitude: lat,
|
|
18753
18848
|
longitude: lng,
|
|
18754
18849
|
zroLocation: zroCode,
|
|
@@ -18804,7 +18899,8 @@ const PropertyLocationDetails = _ref => {
|
|
|
18804
18899
|
isEdit: isEdit,
|
|
18805
18900
|
showMapActualLocation: true,
|
|
18806
18901
|
disable: isPropertyFound,
|
|
18807
|
-
hideNextButton: true
|
|
18902
|
+
hideNextButton: true,
|
|
18903
|
+
isVendor: props.isVendor
|
|
18808
18904
|
});
|
|
18809
18905
|
};
|
|
18810
18906
|
|