@djb25/digit-ui-module-ws 1.0.70 → 1.0.71
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 +214 -162
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +215 -163
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7746,7 +7746,7 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
7746
7746
|
});
|
|
7747
7747
|
|
|
7748
7748
|
const WSApplication = _ref => {
|
|
7749
|
-
var _user$info, _user$info$userName, _user$info2, _user$info3, _application$applicat, _application$applicat2, _application$applicat3, _application$applicat4, _application$applicat5, _application$connecti, _application$property, _application$property2, _application$property3, _application$property4, _application$property5, _application$property6, _application$
|
|
7749
|
+
var _user$info, _user$info$userName, _user$info2, _user$info3, _application$applicat, _application$applicat2, _application$applicat3, _application$applicat4, _application$applicat5, _application$applicat6, _application$applicat7, _application$connecti, _application$property, _application$property2, _application$property3, _application$property4, _application$property5, _application$property6, _application$applicat8, _application$connecti2, _application$connecti3, _PTData$Properties, _PTData$Properties$, _PTData$Properties$$o, _application$applicat9, _application$applicat0;
|
|
7750
7750
|
let application = _ref.application;
|
|
7751
7751
|
const _useTranslation = reactI18next.useTranslation(),
|
|
7752
7752
|
t = _useTranslation.t;
|
|
@@ -7777,9 +7777,9 @@ const WSApplication = _ref => {
|
|
|
7777
7777
|
privacy: Digit.Utils.getPrivacyObject()
|
|
7778
7778
|
}),
|
|
7779
7779
|
PTData = _Digit$Hooks$pt$usePr.data;
|
|
7780
|
-
const businessService = application !== null && application !== void 0 && (_application$applicat2 = application.applicationNo) !== null && _application$applicat2 !== void 0 && _application$applicat2.includes("SW") ? application !== null && application !== void 0 && (_application$applicat3 = application.applicationNo) !== null && _application$applicat3 !== void 0 && _application$applicat3.includes("DC") ? "SW" : "SW.ONE_TIME_FEE" : application !== null && application !== void 0 && (_application$
|
|
7780
|
+
const businessService = application !== null && application !== void 0 && (_application$applicat2 = application.applicationNo) !== null && _application$applicat2 !== void 0 && _application$applicat2.includes("SW") ? application !== null && application !== void 0 && (_application$applicat3 = application.applicationNo) !== null && _application$applicat3 !== void 0 && _application$applicat3.includes("DC") ? "SW" : application !== null && application !== void 0 && (_application$applicat4 = application.applicationNo) !== null && _application$applicat4 !== void 0 && _application$applicat4.includes("MUT") ? "SW.MUTATION" : "SW.ONE_TIME_FEE" : application !== null && application !== void 0 && (_application$applicat5 = application.applicationNo) !== null && _application$applicat5 !== void 0 && _application$applicat5.includes("DC") ? "WS" : application !== null && application !== void 0 && (_application$applicat6 = application.applicationNo) !== null && _application$applicat6 !== void 0 && _application$applicat6.includes("MUT") ? "WS.MUTATION" : "WS.ONE_TIME_FEE";
|
|
7781
7781
|
const fetchBillParams = {
|
|
7782
|
-
consumerCode: application !== null && application !== void 0 && (_application$
|
|
7782
|
+
consumerCode: application !== null && application !== void 0 && (_application$applicat7 = application.applicationNo) !== null && _application$applicat7 !== void 0 && _application$applicat7.includes("DC") ? application === null || application === void 0 ? void 0 : application.connectionNo : application === null || application === void 0 ? void 0 : application.connectionNo
|
|
7783
7783
|
};
|
|
7784
7784
|
if (isLoading) {
|
|
7785
7785
|
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null);
|
|
@@ -7834,7 +7834,8 @@ const WSApplication = _ref => {
|
|
|
7834
7834
|
label: t("WS_VIEW_DETAILS_LABEL")
|
|
7835
7835
|
})), (application === null || application === void 0 ? void 0 : application.applicationStatus) === "PENDING_FOR_PAYMENT" ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
7836
7836
|
to: {
|
|
7837
|
-
pathname: "/digit-ui/citizen/payment/my-bills/" + businessService + "/" + (application !== null && application !== void 0 && (_application$
|
|
7837
|
+
pathname: "/digit-ui/citizen/payment/my-bills/" + businessService + "/" + (application !== null && application !== void 0 && (_application$applicat8 = application.applicationNo) !== null && _application$applicat8 !== void 0 && _application$applicat8.includes("DC") ? stringReplaceAll(application === null || application === void 0 ? void 0 : application.connectionNo, "/", "+") || stringReplaceAll(application === null || application === void 0 ? void 0 : application.connectionNo, "/", "+") : stringReplaceAll(application === null || application === void 0 ? void 0 : application.applicationNo, "/", "+") || stringReplaceAll(application === null || application === void 0 ? void 0 : application.applicationNo, "/", "+")),
|
|
7838
|
+
search: "?workflow=WNS&tenantId=" + (application === null || application === void 0 ? void 0 : application.tenantId) + "&ConsumerName=" + ((application === null || application === void 0 ? void 0 : (_application$connecti2 = application.connectionHolders) === null || _application$connecti2 === void 0 ? void 0 : _application$connecti2.map(owner => owner.name).join(",")) || (application === null || application === void 0 ? void 0 : (_application$connecti3 = application.connectionHolders) === null || _application$connecti3 === void 0 ? void 0 : _application$connecti3.map(owner => owner.name).join(",")) || (PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties = PTData.Properties) === null || _PTData$Properties === void 0 ? void 0 : (_PTData$Properties$ = _PTData$Properties[0]) === null || _PTData$Properties$ === void 0 ? void 0 : (_PTData$Properties$$o = _PTData$Properties$.owners) === null || _PTData$Properties$$o === void 0 ? void 0 : _PTData$Properties$$o.map(owner => owner.name).join(","))) + "&isDisoconnectFlow=" + (application !== null && application !== void 0 && (_application$applicat9 = application.applicationNo) !== null && _application$applicat9 !== void 0 && _application$applicat9.includes("DC") ? true : false) + "&consumerCode=" + (application !== null && application !== void 0 && (_application$applicat0 = application.applicationNo) !== null && _application$applicat0 !== void 0 && _application$applicat0.includes("DC") ? application === null || application === void 0 ? void 0 : application.connectionNo : application === null || application === void 0 ? void 0 : application.applicationNo),
|
|
7838
7839
|
state: {}
|
|
7839
7840
|
}
|
|
7840
7841
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -8879,7 +8880,7 @@ const WSResponse = props => {
|
|
|
8879
8880
|
};
|
|
8880
8881
|
|
|
8881
8882
|
const App = _ref => {
|
|
8882
|
-
var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _user$info, _user$info$userName, _user$info2, _user$info3, _wsData$WaterConnecti, _wsData$WaterConnecti2, _swData$SewerageConne, _swData$SewerageConne2, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg, _Digit15, _Digit15$ComponentReg, _Digit16, _Digit16$ComponentReg;
|
|
8883
|
+
var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _user$info, _user$info$userName, _user$info2, _user$info3, _wsData$WaterConnecti, _wsData$WaterConnecti2, _swData$SewerageConne, _swData$SewerageConne2, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg, _Digit15, _Digit15$ComponentReg, _Digit16, _Digit16$ComponentReg, _Digit17, _Digit17$ComponentReg;
|
|
8883
8884
|
let path = _ref.path;
|
|
8884
8885
|
const location = reactRouterDom.useLocation();
|
|
8885
8886
|
const _useTranslation = reactI18next.useTranslation(),
|
|
@@ -9027,6 +9028,7 @@ const App = _ref => {
|
|
|
9027
9028
|
const WNSMyBillsComponent = (_Digit14 = Digit) === null || _Digit14 === void 0 ? void 0 : (_Digit14$ComponentReg = _Digit14.ComponentRegistryService) === null || _Digit14$ComponentReg === void 0 ? void 0 : _Digit14$ComponentReg.getComponent("WNSMyBillsComponent");
|
|
9028
9029
|
const WSOLDApplication = (_Digit15 = Digit) === null || _Digit15 === void 0 ? void 0 : (_Digit15$ComponentReg = _Digit15.ComponentRegistryService) === null || _Digit15$ComponentReg === void 0 ? void 0 : _Digit15$ComponentReg.getComponent("WSOLDApplication");
|
|
9029
9030
|
const WSInfoPage = (_Digit16 = Digit) === null || _Digit16 === void 0 ? void 0 : (_Digit16$ComponentReg = _Digit16.ComponentRegistryService) === null || _Digit16$ComponentReg === void 0 ? void 0 : _Digit16$ComponentReg.getComponent("WSInfoPage");
|
|
9031
|
+
const WSMutationApplication = (_Digit17 = Digit) === null || _Digit17 === void 0 ? void 0 : (_Digit17$ComponentReg = _Digit17.ComponentRegistryService) === null || _Digit17$ComponentReg === void 0 ? void 0 : _Digit17$ComponentReg.getComponent("WSMutationApplication");
|
|
9030
9032
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(reactRouterDom.Switch, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.AppContainer, null, /*#__PURE__*/React__default.createElement("div", {
|
|
9031
9033
|
className: "ground-container employee-app-container form-container"
|
|
9032
9034
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.ModuleHeader, {
|
|
@@ -9105,6 +9107,9 @@ const App = _ref => {
|
|
|
9105
9107
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.PrivateRoute, {
|
|
9106
9108
|
path: path + "/ws-response",
|
|
9107
9109
|
component: WSResponse
|
|
9110
|
+
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.PrivateRoute, {
|
|
9111
|
+
path: path + "/mutation-application",
|
|
9112
|
+
component: WSMutationApplication
|
|
9108
9113
|
})))))));
|
|
9109
9114
|
};
|
|
9110
9115
|
|
|
@@ -17450,11 +17455,6 @@ const UploadFileDigiLocker = props => {
|
|
|
17450
17455
|
}
|
|
17451
17456
|
React.useEffect(() => handleEmpty(), [inpRef === null || inpRef === void 0 ? void 0 : (_inpRef$current = inpRef.current) === null || _inpRef$current === void 0 ? void 0 : _inpRef$current.files]);
|
|
17452
17457
|
React.useEffect(() => handleChange(), [props.message]);
|
|
17453
|
-
React.useEffect(() => {
|
|
17454
|
-
return () => {
|
|
17455
|
-
if (digiLockerPreviewUrl) URL.revokeObjectURL(digiLockerPreviewUrl);
|
|
17456
|
-
};
|
|
17457
|
-
}, [digiLockerPreviewUrl]);
|
|
17458
17458
|
const dataURItoBlob = dataURI => {
|
|
17459
17459
|
var b64Data = dataURI.split(",")[1].replace(/\s/g, "");
|
|
17460
17460
|
var binary = atob(b64Data);
|
|
@@ -31891,31 +31891,31 @@ const checkForNA$1 = value => {
|
|
|
31891
31891
|
return value ? value : "CS_NA";
|
|
31892
31892
|
};
|
|
31893
31893
|
const WSApplicationDetails = () => {
|
|
31894
|
-
var _user$info, _user$info$userName, _user$info2, _user$info3, _Digit$SessionStorage, _user$info4, _data$WaterConnection, _data$WaterConnection2, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection3, _data$WaterConnection4, _data$SewerageConnect3, _data$SewerageConnect4, _data$WaterConnection5, _data$WaterConnection6, _data$SewerageConnect5, _data$SewerageConnect6, _data$
|
|
31894
|
+
var _user$info, _user$info$userName, _user$info2, _user$info3, _Digit$SessionStorage, _user$info4, _data$WaterConnection, _data$WaterConnection2, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection3, _data$WaterConnection4, _data$SewerageConnect3, _data$SewerageConnect4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$SewerageConnect5, _data$SewerageConnect6, _data$SewerageConnect7, _data$WaterConnection8, _data$WaterConnection9, _data$SewerageConnect8, _data$SewerageConnect9, _data$WaterConnection0, _data$WaterConnection1, _data$SewerageConnect0, _data$SewerageConnect1, _data$WaterConnection10, _data$WaterConnection11, _data$SewerageConnect10, _data$SewerageConnect11, _data$WaterConnection12, _data$SewerageConnect12, _PTData$Properties, _PTData$Properties$, _data$WaterConnection13, _data$WaterConnection14, _data$WaterConnection15, _data$WaterConnection16, _data$SewerageConnect13, _data$SewerageConnect14, _data$SewerageConnect15, _data$SewerageConnect16, _data$WaterConnection17, _data$WaterConnection18, _data$SewerageConnect17, _data$SewerageConnect18, _appDetailsData$appli, _data$WaterConnection37, _data$WaterConnection38, _data$SewerageConnect33, _data$SewerageConnect34, _data$WaterConnection39, _data$WaterConnection40, _data$SewerageConnect35, _data$SewerageConnect36, _data$WaterConnection41, _data$WaterConnection42, _data$SewerageConnect37, _data$SewerageConnect38, _data$WaterConnection43, _data$WaterConnection44, _data$SewerageConnect39, _data$SewerageConnect40, _data$WaterConnection45, _data$WaterConnection46, _data$SewerageConnect41, _data$WaterConnection47, _data$WaterConnection48, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection49, _data$WaterConnection50, _data$SewerageConnect44, _data$SewerageConnect45, _data$WaterConnection51, _data$WaterConnection52, _data$SewerageConnect46, _data$SewerageConnect47, _data$WaterConnection53, _data$WaterConnection54, _data$SewerageConnect48, _data$SewerageConnect49, _data$WaterConnection55, _data$WaterConnection56, _data$SewerageConnect50, _data$SewerageConnect51, _data$WaterConnection57, _data$WaterConnection58, _data$SewerageConnect52, _data$SewerageConnect53, _data$WaterConnection59, _data$WaterConnection60, _data$SewerageConnect54, _data$SewerageConnect55, _data$WaterConnection61, _data$WaterConnection62, _data$SewerageConnect56, _data$SewerageConnect57, _data$WaterConnection63, _data$WaterConnection64, _data$SewerageConnect58, _data$SewerageConnect59, _data$WaterConnection65, _data$WaterConnection66, _data$SewerageConnect60, _data$SewerageConnect61, _data$WaterConnection67, _data$WaterConnection68, _data$WaterConnection69, _data$WaterConnection70, _data$SewerageConnect62, _data$SewerageConnect63, _data$SewerageConnect64, _data$SewerageConnect65, _connectionDetails$se, _connectionDetails$se2, _connectionDetails$co, _connectionDetails$co2, _connectionDetails$wa, _connectionDetails$wa2, _connectionDetails$ap, _connectionDetails$ap2, _connectionDetails$do, _connectionDetails$do2, _connectionDetails$do3, _connectionDetails$de, _connectionDetails$de2, _data$WaterConnection71, _data$WaterConnection72, _data$WaterConnection73, _data$SewerageConnect66, _data$SewerageConnect67, _data$SewerageConnect68, _data$WaterConnection74, _data$WaterConnection75, _data$WaterConnection76, _data$WaterConnection77, _data$SewerageConnect69, _data$SewerageConnect70, _data$SewerageConnect71, _data$SewerageConnect72, _data$WaterConnection78, _data$WaterConnection79, _data$WaterConnection80, _data$WaterConnection81, _data$SewerageConnect73, _data$SewerageConnect74, _data$SewerageConnect75, _data$SewerageConnect76, _data$WaterConnection82, _data$WaterConnection83, _data$WaterConnection84, _data$WaterConnection85, _data$SewerageConnect77, _data$SewerageConnect78, _data$SewerageConnect79, _data$SewerageConnect80, _data$WaterConnection86, _data$WaterConnection87, _data$WaterConnection88, _data$WaterConnection89, _data$SewerageConnect81, _data$SewerageConnect82, _data$SewerageConnect83, _data$SewerageConnect84, _data$WaterConnection90, _data$WaterConnection91, _data$WaterConnection92, _data$WaterConnection93, _data$SewerageConnect85, _data$SewerageConnect86, _data$SewerageConnect87, _data$SewerageConnect88, _data$WaterConnection94, _data$WaterConnection95, _data$WaterConnection96, _data$WaterConnection97, _data$SewerageConnect89, _data$SewerageConnect90, _data$SewerageConnect91, _data$SewerageConnect92, _data$WaterConnection98, _data$WaterConnection99, _data$WaterConnection100, _data$WaterConnection101, _data$SewerageConnect93, _data$SewerageConnect94, _data$SewerageConnect95, _data$SewerageConnect96, _data$WaterConnection102, _data$WaterConnection103, _data$WaterConnection104, _data$WaterConnection105, _data$SewerageConnect97, _data$SewerageConnect98, _data$SewerageConnect99, _data$SewerageConnect100, _data$WaterConnection106, _data$WaterConnection107, _data$WaterConnection108, _data$WaterConnection109, _data$SewerageConnect101, _data$SewerageConnect102, _data$SewerageConnect103, _data$SewerageConnect104, _data$WaterConnection110, _data$WaterConnection111, _data$WaterConnection112, _data$WaterConnection113, _data$SewerageConnect105, _data$SewerageConnect106, _data$SewerageConnect107, _data$SewerageConnect108, _data$WaterConnection114, _data$WaterConnection115, _data$WaterConnection116, _data$WaterConnection117, _data$SewerageConnect109, _data$SewerageConnect110, _data$SewerageConnect111, _data$SewerageConnect112, _data$WaterConnection118, _data$WaterConnection119, _data$WaterConnection120, _data$WaterConnection121, _data$SewerageConnect113, _data$SewerageConnect114, _data$SewerageConnect115, _data$SewerageConnect116, _data$WaterConnection122, _data$WaterConnection123, _data$WaterConnection124, _data$WaterConnection125, _data$SewerageConnect117, _data$SewerageConnect118, _data$SewerageConnect119, _data$SewerageConnect120, _data$WaterConnection126, _data$WaterConnection127, _data$SewerageConnect121, _data$SewerageConnect122, _PTData$Properties4, _PTData$Properties4$, _PTData$Properties4$$, _PTData$Properties4$$2, _PTData$Properties5, _PTData$Properties5$, _PTData$Properties6, _PTData$Properties6$, _PTData$Properties6$$, _PTData$Properties6$$2, _PTData$Properties7, _PTData$Properties7$, _data$WaterConnection128, _data$WaterConnection129, _data$SewerageConnect123, _data$SewerageConnect124, _data$WaterConnection130, _data$WaterConnection131, _data$SewerageConnect125, _data$SewerageConnect126, _propertyAddress$zro, _propertyAddress$addi, _propertyAddress$addr, _propertyAddress$addr2, _propertyAddress$city, _propertyAddress$city2, _propertyAddress$loca, _propertyAddress$loca2, _propertyAddress$subL, _propertyAddress$subL2, _propertyAddress$asse, _propertyAddress$asse2, _propertyAddress$bloc, _propertyAddress$bloc2, _propertyAddress$ward, _propertyAddress$ward2, _propertyAddress$zone, _propertyAddress$zone2, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$noOfFloor, _useDetails$noOfFloor2, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _data$WaterConnection132, _data$WaterConnection133, _data$WaterConnection134, _data$WaterConnection135, _data$SewerageConnect127, _data$SewerageConnect128, _data$SewerageConnect129, _data$SewerageConnect130, _data$WaterConnection140, _data$WaterConnection141, _data$WaterConnection142, _data$WaterConnection143, _data$WaterConnection144, _data$WaterConnection145, _data$SewerageConnect135, _data$SewerageConnect136, _data$SewerageConnect137, _data$SewerageConnect138, _data$SewerageConnect139, _data$SewerageConnect140, _paymentDetails$data, _paymentDetails$data$, _paymentDetails$data$2, _paymentDetails$data2, _paymentDetails$data3, _paymentDetails$data4, _data$WaterConnection146, _data$WaterConnection147, _data$SewerageConnect141, _data$SewerageConnect142, _data$WaterConnection148, _data$WaterConnection149, _data$WaterConnection150, _data$SewerageConnect143, _data$SewerageConnect144, _data$SewerageConnect145, _PTData$Properties8, _PTData$Properties8$, _PTData$Properties8$$, _paymentDetails$data5, _paymentDetails$data6, _paymentDetails$data7, _data$WaterConnection151, _data$WaterConnection152, _data$WaterConnection153, _data$WaterConnection154, _data$SewerageConnect146, _data$SewerageConnect147, _data$SewerageConnect148, _data$SewerageConnect149, _data$WaterConnection155, _data$WaterConnection156, _data$SewerageConnect150, _data$SewerageConnect151, _data$WaterConnection157, _data$WaterConnection158, _data$SewerageConnect152, _data$SewerageConnect153, _data$WaterConnection159, _data$WaterConnection160, _data$WaterConnection161, _data$WaterConnection162, _data$SewerageConnect154, _data$SewerageConnect155, _data$SewerageConnect156, _data$SewerageConnect157, _data$WaterConnection163, _data$WaterConnection164, _data$SewerageConnect158, _data$SewerageConnect159, _data$SewerageConnect160, _data$SewerageConnect161, _data$SewerageConnect162, _data$SewerageConnect163, _data$SewerageConnect164, _data$SewerageConnect165, _data$SewerageConnect166, _data$SewerageConnect167, _data$SewerageConnect168, _data$WaterConnection165, _data$WaterConnection166, _data$WaterConnection167, _data$WaterConnection168, _data$WaterConnection169, _data$WaterConnection170, _data$WaterConnection171, _data$WaterConnection172, _data$WaterConnection173;
|
|
31895
31895
|
const getDisconnectionNoticeSearch = function () {
|
|
31896
31896
|
try {
|
|
31897
|
-
var _data$
|
|
31897
|
+
var _data$WaterConnection175, _data$WaterConnection176, _data$SewerageConnect170, _data$SewerageConnect171;
|
|
31898
31898
|
let key = "ws-waterdisconnectionnotice";
|
|
31899
31899
|
let details = {};
|
|
31900
31900
|
if (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS")) {
|
|
31901
|
-
var _data$
|
|
31901
|
+
var _data$WaterConnection174, _PTData$Properties9;
|
|
31902
31902
|
details = {
|
|
31903
|
-
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
31903
|
+
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$WaterConnection174 = data.WaterConnection) === null || _data$WaterConnection174 === void 0 ? void 0 : _data$WaterConnection174[0], {
|
|
31904
31904
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties9 = PTData.Properties) === null || _PTData$Properties9 === void 0 ? void 0 : _PTData$Properties9[0]
|
|
31905
31905
|
})]
|
|
31906
31906
|
};
|
|
31907
31907
|
} else {
|
|
31908
|
-
var _data$
|
|
31908
|
+
var _data$SewerageConnect169, _PTData$Properties0;
|
|
31909
31909
|
key = "ws-seweragedisconnectionnotice";
|
|
31910
31910
|
details = {
|
|
31911
|
-
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
31911
|
+
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$SewerageConnect169 = data.SewerageConnections) === null || _data$SewerageConnect169 === void 0 ? void 0 : _data$SewerageConnect169[0], {
|
|
31912
31912
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties0 = PTData.Properties) === null || _PTData$Properties0 === void 0 ? void 0 : _PTData$Properties0[0]
|
|
31913
31913
|
})]
|
|
31914
31914
|
};
|
|
31915
31915
|
}
|
|
31916
|
-
return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$
|
|
31917
|
-
var _data$
|
|
31918
|
-
return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$
|
|
31916
|
+
return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$WaterConnection175 = data.WaterConnection) === null || _data$WaterConnection175 === void 0 ? void 0 : (_data$WaterConnection176 = _data$WaterConnection175[0]) === null || _data$WaterConnection176 === void 0 ? void 0 : _data$WaterConnection176.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect170 = data.SewerageConnections) === null || _data$SewerageConnect170 === void 0 ? void 0 : (_data$SewerageConnect171 = _data$SewerageConnect170[0]) === null || _data$SewerageConnect171 === void 0 ? void 0 : _data$SewerageConnect171.tenantId), details, key)).then(function (response) {
|
|
31917
|
+
var _data$WaterConnection177, _data$WaterConnection178, _data$SewerageConnect172, _data$SewerageConnect173;
|
|
31918
|
+
return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$WaterConnection177 = data.WaterConnection) === null || _data$WaterConnection177 === void 0 ? void 0 : (_data$WaterConnection178 = _data$WaterConnection177[0]) === null || _data$WaterConnection178 === void 0 ? void 0 : _data$WaterConnection178.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect172 = data.SewerageConnections) === null || _data$SewerageConnect172 === void 0 ? void 0 : (_data$SewerageConnect173 = _data$SewerageConnect172[0]) === null || _data$SewerageConnect173 === void 0 ? void 0 : _data$SewerageConnect173.tenantId), {
|
|
31919
31919
|
fileStoreIds: response.filestoreIds[0]
|
|
31920
31920
|
})).then(function (fileStore) {
|
|
31921
31921
|
window.open(fileStore[response === null || response === void 0 ? void 0 : response.filestoreIds[0]], "_blank");
|
|
@@ -31967,16 +31967,17 @@ const WSApplicationDetails = () => {
|
|
|
31967
31967
|
}
|
|
31968
31968
|
}),
|
|
31969
31969
|
generatePdfKey = _Digit$Hooks$useCommo.data;
|
|
31970
|
+
const isMutation = (data === null || data === void 0 ? void 0 : (_data$WaterConnection5 = data.WaterConnection) === null || _data$WaterConnection5 === void 0 ? void 0 : (_data$WaterConnection6 = _data$WaterConnection5[0]) === null || _data$WaterConnection6 === void 0 ? void 0 : (_data$WaterConnection7 = _data$WaterConnection6.applicationType) === null || _data$WaterConnection7 === void 0 ? void 0 : _data$WaterConnection7.includes("MUTATION")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect5 = data.SewerageConnections) === null || _data$SewerageConnect5 === void 0 ? void 0 : (_data$SewerageConnect6 = _data$SewerageConnect5[0]) === null || _data$SewerageConnect6 === void 0 ? void 0 : (_data$SewerageConnect7 = _data$SewerageConnect6.applicationType) === null || _data$SewerageConnect7 === void 0 ? void 0 : _data$SewerageConnect7.includes("MUTATION"));
|
|
31970
31971
|
const paymentDetails = Digit.Hooks.useFetchBillsForBuissnessService(_extends({
|
|
31971
|
-
businessService: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? "SW" : "SW.ONE_TIME_FEE" : applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? "WS" : "WS.ONE_TIME_FEE"
|
|
31972
|
+
businessService: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? "SW" : isMutation ? "SW.MUTATION" : "SW.ONE_TIME_FEE" : applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? "WS" : isMutation ? "WS.MUTATION" : "WS.ONE_TIME_FEE"
|
|
31972
31973
|
}, fetchBillParams, {
|
|
31973
31974
|
tenantId: tenantId
|
|
31974
31975
|
}), {
|
|
31975
|
-
enabled: data !== null && data !== void 0 && (_data$
|
|
31976
|
+
enabled: data !== null && data !== void 0 && (_data$WaterConnection8 = data.WaterConnection) !== null && _data$WaterConnection8 !== void 0 && (_data$WaterConnection9 = _data$WaterConnection8[0]) !== null && _data$WaterConnection9 !== void 0 && _data$WaterConnection9.applicationNo || data !== null && data !== void 0 && (_data$SewerageConnect8 = data.SewerageConnections) !== null && _data$SewerageConnect8 !== void 0 && (_data$SewerageConnect9 = _data$SewerageConnect8[0]) !== null && _data$SewerageConnect9 !== void 0 && _data$SewerageConnect9.applicationNo ? true : false,
|
|
31976
31977
|
retry: false
|
|
31977
31978
|
});
|
|
31978
|
-
const propertyId = (data === null || data === void 0 ? void 0 : (_data$
|
|
31979
|
-
const propertyTenantId = (data === null || data === void 0 ? void 0 : (_data$
|
|
31979
|
+
const propertyId = (data === null || data === void 0 ? void 0 : (_data$WaterConnection0 = data.WaterConnection) === null || _data$WaterConnection0 === void 0 ? void 0 : (_data$WaterConnection1 = _data$WaterConnection0[0]) === null || _data$WaterConnection1 === void 0 ? void 0 : _data$WaterConnection1.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect0 = data.SewerageConnections) === null || _data$SewerageConnect0 === void 0 ? void 0 : (_data$SewerageConnect1 = _data$SewerageConnect0[0]) === null || _data$SewerageConnect1 === void 0 ? void 0 : _data$SewerageConnect1.propertyId);
|
|
31980
|
+
const propertyTenantId = (data === null || data === void 0 ? void 0 : (_data$WaterConnection10 = data.WaterConnection) === null || _data$WaterConnection10 === void 0 ? void 0 : (_data$WaterConnection11 = _data$WaterConnection10[0]) === null || _data$WaterConnection11 === void 0 ? void 0 : _data$WaterConnection11.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect10 = data.SewerageConnections) === null || _data$SewerageConnect10 === void 0 ? void 0 : (_data$SewerageConnect11 = _data$SewerageConnect10[0]) === null || _data$SewerageConnect11 === void 0 ? void 0 : _data$SewerageConnect11.tenantId) || tenantId;
|
|
31980
31981
|
const _Digit$Hooks$pt$usePr = Digit.Hooks.pt.usePropertySearch({
|
|
31981
31982
|
filters: {
|
|
31982
31983
|
propertyIds: propertyId
|
|
@@ -31991,7 +31992,7 @@ const WSApplicationDetails = () => {
|
|
|
31991
31992
|
privacy: Digit.Utils.getPrivacyObject()
|
|
31992
31993
|
}),
|
|
31993
31994
|
PTData = _Digit$Hooks$pt$usePr.data;
|
|
31994
|
-
const applicationData = (data === null || data === void 0 ? void 0 : (_data$
|
|
31995
|
+
const applicationData = (data === null || data === void 0 ? void 0 : (_data$WaterConnection12 = data.WaterConnection) === null || _data$WaterConnection12 === void 0 ? void 0 : _data$WaterConnection12[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect12 = data.SewerageConnections) === null || _data$SewerageConnect12 === void 0 ? void 0 : _data$SewerageConnect12[0]);
|
|
31995
31996
|
const additionalDetails = (applicationData === null || applicationData === void 0 ? void 0 : applicationData.additionalDetails) || {};
|
|
31996
31997
|
const connectionDetails = additionalDetails;
|
|
31997
31998
|
const useDetails = additionalDetails;
|
|
@@ -32000,12 +32001,12 @@ const WSApplicationDetails = () => {
|
|
|
32000
32001
|
const propertyAddress = (PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties = PTData.Properties) === null || _PTData$Properties === void 0 ? void 0 : (_PTData$Properties$ = _PTData$Properties[0]) === null || _PTData$Properties$ === void 0 ? void 0 : _PTData$Properties$.address) || additionalDetails;
|
|
32001
32002
|
const checkifPrivacyenabled = Digit.Hooks.ws.useToCheckPrivacyEnablement({
|
|
32002
32003
|
privacy: {
|
|
32003
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32004
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection13 = data.WaterConnection) === null || _data$WaterConnection13 === void 0 ? void 0 : (_data$WaterConnection14 = _data$WaterConnection13[0]) === null || _data$WaterConnection14 === void 0 ? void 0 : (_data$WaterConnection15 = _data$WaterConnection14.connectionHolders) === null || _data$WaterConnection15 === void 0 ? void 0 : (_data$WaterConnection16 = _data$WaterConnection15[0]) === null || _data$WaterConnection16 === void 0 ? void 0 : _data$WaterConnection16.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect13 = data.SewerageConnections) === null || _data$SewerageConnect13 === void 0 ? void 0 : (_data$SewerageConnect14 = _data$SewerageConnect13[0]) === null || _data$SewerageConnect14 === void 0 ? void 0 : (_data$SewerageConnect15 = _data$SewerageConnect14.connectionHolders) === null || _data$SewerageConnect15 === void 0 ? void 0 : (_data$SewerageConnect16 = _data$SewerageConnect15[0]) === null || _data$SewerageConnect16 === void 0 ? void 0 : _data$SewerageConnect16.uuid,
|
|
32004
32005
|
fieldName: "connectionHoldersMobileNumber",
|
|
32005
32006
|
model: "WnSConnectionOwner"
|
|
32006
32007
|
}
|
|
32007
32008
|
}) || false;
|
|
32008
|
-
const applicationStatus = (data === null || data === void 0 ? void 0 : (_data$
|
|
32009
|
+
const applicationStatus = (data === null || data === void 0 ? void 0 : (_data$WaterConnection17 = data.WaterConnection) === null || _data$WaterConnection17 === void 0 ? void 0 : (_data$WaterConnection18 = _data$WaterConnection17[0]) === null || _data$WaterConnection18 === void 0 ? void 0 : _data$WaterConnection18.applicationStatus) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect17 = data.SewerageConnections) === null || _data$SewerageConnect17 === void 0 ? void 0 : (_data$SewerageConnect18 = _data$SewerageConnect17[0]) === null || _data$SewerageConnect18 === void 0 ? void 0 : _data$SewerageConnect18.applicationStatus);
|
|
32009
32010
|
const isPaid = applicationStatus && applicationStatus !== "INITIATED" && applicationStatus !== "PENDING_FOR_PAYMENT" && applicationStatus !== "PENDING_FOR_FINAL_PAYMENT" && applicationStatus !== "PENDING_FOR_ADDITIONAL_PAYMENT" ? true : false;
|
|
32010
32011
|
const _Digit$Hooks$ws$useWS = Digit.Hooks.ws.useWSDetailsPage(t, tenantId, applicationNobyData, applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? "SEWERAGE" : "WATER", user),
|
|
32011
32012
|
isAppDetailsLoading = _Digit$Hooks$ws$useWS.isLoading,
|
|
@@ -32019,9 +32020,9 @@ const WSApplicationDetails = () => {
|
|
|
32019
32020
|
}
|
|
32020
32021
|
const handleDownloadPdf = function () {
|
|
32021
32022
|
try {
|
|
32022
|
-
var _data$
|
|
32023
|
-
const tenantInfo = (data === null || data === void 0 ? void 0 : (_data$
|
|
32024
|
-
let res = (data === null || data === void 0 ? void 0 : (_data$
|
|
32023
|
+
var _data$WaterConnection19, _data$WaterConnection20, _data$SewerageConnect19, _data$SewerageConnect20, _data$WaterConnection21, _data$SewerageConnect21, _PTData$Properties2;
|
|
32024
|
+
const tenantInfo = (data === null || data === void 0 ? void 0 : (_data$WaterConnection19 = data.WaterConnection) === null || _data$WaterConnection19 === void 0 ? void 0 : (_data$WaterConnection20 = _data$WaterConnection19[0]) === null || _data$WaterConnection20 === void 0 ? void 0 : _data$WaterConnection20.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect19 = data.SewerageConnections) === null || _data$SewerageConnect19 === void 0 ? void 0 : (_data$SewerageConnect20 = _data$SewerageConnect19[0]) === null || _data$SewerageConnect20 === void 0 ? void 0 : _data$SewerageConnect20.tenantId);
|
|
32025
|
+
let res = (data === null || data === void 0 ? void 0 : (_data$WaterConnection21 = data.WaterConnection) === null || _data$WaterConnection21 === void 0 ? void 0 : _data$WaterConnection21[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect21 = data.SewerageConnections) === null || _data$SewerageConnect21 === void 0 ? void 0 : _data$SewerageConnect21[0]);
|
|
32025
32026
|
const PDFdata = getWSAcknowledgementData(_extends({}, res), _extends({}, PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties2 = PTData.Properties) === null || _PTData$Properties2 === void 0 ? void 0 : _PTData$Properties2[0]), tenantInfo, t);
|
|
32026
32027
|
PDFdata.then(ress => Digit.Utils.pdf.generatev1(ress));
|
|
32027
32028
|
setShowOptions(false);
|
|
@@ -32032,9 +32033,9 @@ const WSApplicationDetails = () => {
|
|
|
32032
32033
|
};
|
|
32033
32034
|
const handleDownloadDisconnectPdf = function () {
|
|
32034
32035
|
try {
|
|
32035
|
-
var _data$
|
|
32036
|
-
const tenantInfo = (data === null || data === void 0 ? void 0 : (_data$
|
|
32037
|
-
let res = (data === null || data === void 0 ? void 0 : (_data$
|
|
32036
|
+
var _data$WaterConnection22, _data$WaterConnection23, _data$SewerageConnect22, _data$SewerageConnect23, _data$WaterConnection24, _data$SewerageConnect24, _PTData$Properties3;
|
|
32037
|
+
const tenantInfo = (data === null || data === void 0 ? void 0 : (_data$WaterConnection22 = data.WaterConnection) === null || _data$WaterConnection22 === void 0 ? void 0 : (_data$WaterConnection23 = _data$WaterConnection22[0]) === null || _data$WaterConnection23 === void 0 ? void 0 : _data$WaterConnection23.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect22 = data.SewerageConnections) === null || _data$SewerageConnect22 === void 0 ? void 0 : (_data$SewerageConnect23 = _data$SewerageConnect22[0]) === null || _data$SewerageConnect23 === void 0 ? void 0 : _data$SewerageConnect23.tenantId);
|
|
32038
|
+
let res = (data === null || data === void 0 ? void 0 : (_data$WaterConnection24 = data.WaterConnection) === null || _data$WaterConnection24 === void 0 ? void 0 : _data$WaterConnection24[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect24 = data.SewerageConnections) === null || _data$SewerageConnect24 === void 0 ? void 0 : _data$SewerageConnect24[0]);
|
|
32038
32039
|
const PDFdata = getWSDisconnectionApplicationForm(_extends({}, res), _extends({}, PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties3 = PTData.Properties) === null || _PTData$Properties3 === void 0 ? void 0 : _PTData$Properties3[0]), tenantInfo, t);
|
|
32039
32040
|
PDFdata.then(ress => Digit.Utils.pdf.generatev1(ress));
|
|
32040
32041
|
setShowOptions(false);
|
|
@@ -32045,12 +32046,12 @@ const WSApplicationDetails = () => {
|
|
|
32045
32046
|
};
|
|
32046
32047
|
const printApplicationReceipts = function () {
|
|
32047
32048
|
try {
|
|
32048
|
-
var _data$
|
|
32049
|
+
var _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$WaterConnection28, _data$SewerageConnect25, _data$SewerageConnect26;
|
|
32049
32050
|
const tenantId = Digit.ULBService.getCurrentTenantId();
|
|
32050
32051
|
const state = Digit.ULBService.getStateId();
|
|
32051
|
-
let key = data !== null && data !== void 0 && (_data$
|
|
32052
|
+
let key = data !== null && data !== void 0 && (_data$WaterConnection25 = data.WaterConnection) !== null && _data$WaterConnection25 !== void 0 && _data$WaterConnection25[0] ? isMutation ? "WS.MUTATION" : "WS.ONE_TIME_FEE" : isMutation ? "SW.MUTATION" : "SW.ONE_TIME_FEE";
|
|
32052
32053
|
return Promise.resolve(Digit.PaymentService.getReciept(tenantId, key, {
|
|
32053
|
-
consumerCodes: data !== null && data !== void 0 && (_data$
|
|
32054
|
+
consumerCodes: data !== null && data !== void 0 && (_data$WaterConnection26 = data.WaterConnection) !== null && _data$WaterConnection26 !== void 0 && _data$WaterConnection26[0] ? data === null || data === void 0 ? void 0 : (_data$WaterConnection27 = data.WaterConnection) === null || _data$WaterConnection27 === void 0 ? void 0 : (_data$WaterConnection28 = _data$WaterConnection27[0]) === null || _data$WaterConnection28 === void 0 ? void 0 : _data$WaterConnection28.applicationNo : data === null || data === void 0 ? void 0 : (_data$SewerageConnect25 = data.SewerageConnections) === null || _data$SewerageConnect25 === void 0 ? void 0 : (_data$SewerageConnect26 = _data$SewerageConnect25[0]) === null || _data$SewerageConnect26 === void 0 ? void 0 : _data$SewerageConnect26.applicationNo
|
|
32054
32055
|
})).then(function (payments) {
|
|
32055
32056
|
var _payments$Payments$;
|
|
32056
32057
|
function _temp2() {
|
|
@@ -32083,16 +32084,16 @@ const WSApplicationDetails = () => {
|
|
|
32083
32084
|
order: 1,
|
|
32084
32085
|
label: t("WS_ESTIMATION_NOTICE"),
|
|
32085
32086
|
onClick: () => {
|
|
32086
|
-
var _data$
|
|
32087
|
-
return data !== null && data !== void 0 && (_data$
|
|
32087
|
+
var _data$WaterConnection29, _data$WaterConnection30, _data$WaterConnection31, _data$WaterConnection32, _data$SewerageConnect27, _data$SewerageConnect28, _data$SewerageConnect29;
|
|
32088
|
+
return data !== null && data !== void 0 && (_data$WaterConnection29 = data.WaterConnection) !== null && _data$WaterConnection29 !== void 0 && _data$WaterConnection29[0] ? getFiles([data === null || data === void 0 ? void 0 : (_data$WaterConnection30 = data.WaterConnection) === null || _data$WaterConnection30 === void 0 ? void 0 : (_data$WaterConnection31 = _data$WaterConnection30[0]) === null || _data$WaterConnection31 === void 0 ? void 0 : (_data$WaterConnection32 = _data$WaterConnection31.additionalDetails) === null || _data$WaterConnection32 === void 0 ? void 0 : _data$WaterConnection32.estimationFileStoreId], tenantId) : getFiles([data === null || data === void 0 ? void 0 : (_data$SewerageConnect27 = data.SewerageConnections) === null || _data$SewerageConnect27 === void 0 ? void 0 : (_data$SewerageConnect28 = _data$SewerageConnect27[0]) === null || _data$SewerageConnect28 === void 0 ? void 0 : (_data$SewerageConnect29 = _data$SewerageConnect28.additionalDetails) === null || _data$SewerageConnect29 === void 0 ? void 0 : _data$SewerageConnect29.estimationFileStoreId], tenantId);
|
|
32088
32089
|
}
|
|
32089
32090
|
};
|
|
32090
32091
|
const sanctionDownloadObject = {
|
|
32091
32092
|
order: 2,
|
|
32092
32093
|
label: t("WS_SANCTION_LETTER"),
|
|
32093
32094
|
onClick: () => {
|
|
32094
|
-
var _data$
|
|
32095
|
-
return data !== null && data !== void 0 && (_data$
|
|
32095
|
+
var _data$WaterConnection33, _data$WaterConnection34, _data$WaterConnection35, _data$WaterConnection36, _data$SewerageConnect30, _data$SewerageConnect31, _data$SewerageConnect32;
|
|
32096
|
+
return data !== null && data !== void 0 && (_data$WaterConnection33 = data.WaterConnection) !== null && _data$WaterConnection33 !== void 0 && _data$WaterConnection33[0] ? getFiles([data === null || data === void 0 ? void 0 : (_data$WaterConnection34 = data.WaterConnection) === null || _data$WaterConnection34 === void 0 ? void 0 : (_data$WaterConnection35 = _data$WaterConnection34[0]) === null || _data$WaterConnection35 === void 0 ? void 0 : (_data$WaterConnection36 = _data$WaterConnection35.additionalDetails) === null || _data$WaterConnection36 === void 0 ? void 0 : _data$WaterConnection36.sanctionFileStoreId], tenantId) : getFiles([data === null || data === void 0 ? void 0 : (_data$SewerageConnect30 = data.SewerageConnections) === null || _data$SewerageConnect30 === void 0 ? void 0 : (_data$SewerageConnect31 = _data$SewerageConnect30[0]) === null || _data$SewerageConnect31 === void 0 ? void 0 : (_data$SewerageConnect32 = _data$SewerageConnect31.additionalDetails) === null || _data$SewerageConnect32 === void 0 ? void 0 : _data$SewerageConnect32.sanctionFileStoreId], tenantId);
|
|
32096
32097
|
}
|
|
32097
32098
|
};
|
|
32098
32099
|
const applicationDownloadObject = {
|
|
@@ -32114,11 +32115,11 @@ const WSApplicationDetails = () => {
|
|
|
32114
32115
|
label: t("WS_DISCONNECTION_NOTICE_LABEL"),
|
|
32115
32116
|
onClick: () => getDisconnectionNoticeSearch()
|
|
32116
32117
|
}];
|
|
32117
|
-
const isDisconnection = (data === null || data === void 0 ? void 0 : (_data$
|
|
32118
|
-
const appStatus = (data === null || data === void 0 ? void 0 : (_data$
|
|
32118
|
+
const isDisconnection = (data === null || data === void 0 ? void 0 : (_data$WaterConnection37 = data.WaterConnection) === null || _data$WaterConnection37 === void 0 ? void 0 : (_data$WaterConnection38 = _data$WaterConnection37[0].applicationType) === null || _data$WaterConnection38 === void 0 ? void 0 : _data$WaterConnection38.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect33 = data.SewerageConnections) === null || _data$SewerageConnect33 === void 0 ? void 0 : (_data$SewerageConnect34 = _data$SewerageConnect33[0].applicationType) === null || _data$SewerageConnect34 === void 0 ? void 0 : _data$SewerageConnect34.includes("DISCONNECT"));
|
|
32119
|
+
const appStatus = (data === null || data === void 0 ? void 0 : (_data$WaterConnection39 = data.WaterConnection) === null || _data$WaterConnection39 === void 0 ? void 0 : (_data$WaterConnection40 = _data$WaterConnection39[0]) === null || _data$WaterConnection40 === void 0 ? void 0 : _data$WaterConnection40.applicationStatus) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect35 = data.SewerageConnections) === null || _data$SewerageConnect35 === void 0 ? void 0 : (_data$SewerageConnect36 = _data$SewerageConnect35[0]) === null || _data$SewerageConnect36 === void 0 ? void 0 : _data$SewerageConnect36.applicationStatus);
|
|
32119
32120
|
switch (appStatus) {
|
|
32120
32121
|
case "PENDING_FOR_DOCUMENT_VERIFICATION":
|
|
32121
|
-
if (data !== null && data !== void 0 && (_data$
|
|
32122
|
+
if (data !== null && data !== void 0 && (_data$WaterConnection41 = data.WaterConnection) !== null && _data$WaterConnection41 !== void 0 && (_data$WaterConnection42 = _data$WaterConnection41[0].applicationType) !== null && _data$WaterConnection42 !== void 0 && _data$WaterConnection42.includes("DISCONNECT") || data !== null && data !== void 0 && (_data$SewerageConnect37 = data.SewerageConnections) !== null && _data$SewerageConnect37 !== void 0 && (_data$SewerageConnect38 = _data$SewerageConnect37[0].applicationType) !== null && _data$SewerageConnect38 !== void 0 && _data$SewerageConnect38.includes("DISCONNECT")) {
|
|
32122
32123
|
downloadOptions = disconnectionNoticeNApplicationFormOptions;
|
|
32123
32124
|
} else {
|
|
32124
32125
|
downloadOptions = downloadOptions.concat(applicationDownloadObject);
|
|
@@ -32142,7 +32143,7 @@ const WSApplicationDetails = () => {
|
|
|
32142
32143
|
case "PENDING_FOR_DISCONNECTION_EXECUTION":
|
|
32143
32144
|
case "DISCONNECTION_EXECUTED":
|
|
32144
32145
|
case "PENDING_FOR_PAYMENT":
|
|
32145
|
-
if (data !== null && data !== void 0 && (_data$
|
|
32146
|
+
if (data !== null && data !== void 0 && (_data$WaterConnection43 = data.WaterConnection) !== null && _data$WaterConnection43 !== void 0 && (_data$WaterConnection44 = _data$WaterConnection43[0].applicationType) !== null && _data$WaterConnection44 !== void 0 && _data$WaterConnection44.includes("DISCONNECT") || data !== null && data !== void 0 && (_data$SewerageConnect39 = data.SewerageConnections) !== null && _data$SewerageConnect39 !== void 0 && (_data$SewerageConnect40 = _data$SewerageConnect39[0].applicationType) !== null && _data$SewerageConnect40 !== void 0 && _data$SewerageConnect40.includes("DISCONNECT")) {
|
|
32146
32147
|
downloadOptions = disconnectionNoticeNApplicationFormOptions;
|
|
32147
32148
|
} else {
|
|
32148
32149
|
downloadOptions = downloadOptions.concat(applicationDownloadObject);
|
|
@@ -32155,7 +32156,7 @@ const WSApplicationDetails = () => {
|
|
|
32155
32156
|
downloadOptions.sort(function (a, b) {
|
|
32156
32157
|
return a.order - b.order;
|
|
32157
32158
|
});
|
|
32158
|
-
let serviceType = data && data !== null && data !== void 0 && (_data$
|
|
32159
|
+
let serviceType = data && data !== null && data !== void 0 && (_data$WaterConnection45 = data.WaterConnection) !== null && _data$WaterConnection45 !== void 0 && _data$WaterConnection45[0] ? "WATER" : "SEWERAGE";
|
|
32159
32160
|
sessionStorage.setItem("ApplicationNoState", applicationNobyData);
|
|
32160
32161
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
32161
32162
|
className: "employee-main-application-details",
|
|
@@ -32172,8 +32173,8 @@ const WSApplicationDetails = () => {
|
|
|
32172
32173
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Card, null, /*#__PURE__*/React__default.createElement("div", {
|
|
32173
32174
|
id: "timeline"
|
|
32174
32175
|
}, /*#__PURE__*/React__default.createElement(WSWFApplicationTimeline, {
|
|
32175
|
-
application: (data === null || data === void 0 ? void 0 : (_data$
|
|
32176
|
-
id: (data === null || data === void 0 ? void 0 : (_data$
|
|
32176
|
+
application: (data === null || data === void 0 ? void 0 : (_data$WaterConnection46 = data.WaterConnection) === null || _data$WaterConnection46 === void 0 ? void 0 : _data$WaterConnection46[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect41 = data.SewerageConnections) === null || _data$SewerageConnect41 === void 0 ? void 0 : _data$SewerageConnect41[0]),
|
|
32177
|
+
id: (data === null || data === void 0 ? void 0 : (_data$WaterConnection47 = data.WaterConnection) === null || _data$WaterConnection47 === void 0 ? void 0 : (_data$WaterConnection48 = _data$WaterConnection47[0]) === null || _data$WaterConnection48 === void 0 ? void 0 : _data$WaterConnection48.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect42 = data.SewerageConnections) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0]) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.applicationNo),
|
|
32177
32178
|
paymentbuttonenabled: false
|
|
32178
32179
|
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
32179
32180
|
style: {
|
|
@@ -32206,35 +32207,35 @@ const WSApplicationDetails = () => {
|
|
|
32206
32207
|
className: "hide-seperator"
|
|
32207
32208
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32208
32209
|
label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
|
|
32209
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32210
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection49 = data.WaterConnection) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49[0]) === null || _data$WaterConnection50 === void 0 ? void 0 : _data$WaterConnection50.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect44 = data.SewerageConnections) === null || _data$SewerageConnect44 === void 0 ? void 0 : (_data$SewerageConnect45 = _data$SewerageConnect44[0]) === null || _data$SewerageConnect45 === void 0 ? void 0 : _data$SewerageConnect45.applicationNo),
|
|
32210
32211
|
textStyle: {}
|
|
32211
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
32212
|
+
}), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection51 = data.WaterConnection) === null || _data$WaterConnection51 === void 0 ? void 0 : (_data$WaterConnection52 = _data$WaterConnection51[0].applicationType) === null || _data$WaterConnection52 === void 0 ? void 0 : _data$WaterConnection52.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect46 = data.SewerageConnections) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0].applicationType) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.includes("DISCONNECT"))) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32212
32213
|
label: t("WS_MYCONNECTIONS_CONSUMER_NO"),
|
|
32213
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32214
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection53 = data.WaterConnection) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53[0]) === null || _data$WaterConnection54 === void 0 ? void 0 : _data$WaterConnection54.connectionNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect48 = data.SewerageConnections) === null || _data$SewerageConnect48 === void 0 ? void 0 : (_data$SewerageConnect49 = _data$SewerageConnect48[0]) === null || _data$SewerageConnect49 === void 0 ? void 0 : _data$SewerageConnect49.connectionNo),
|
|
32214
32215
|
textStyle: {
|
|
32215
32216
|
wordBreak: "break-word"
|
|
32216
32217
|
}
|
|
32217
32218
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32218
32219
|
label: t("WS_SERVICE_NAME_LABEL"),
|
|
32219
|
-
text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
32220
|
+
text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection55 = data.WaterConnection) === null || _data$WaterConnection55 === void 0 ? void 0 : (_data$WaterConnection56 = _data$WaterConnection55[0]) === null || _data$WaterConnection56 === void 0 ? void 0 : _data$WaterConnection56.applicationType) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect50 = data.SewerageConnections) === null || _data$SewerageConnect50 === void 0 ? void 0 : (_data$SewerageConnect51 = _data$SewerageConnect50[0]) === null || _data$SewerageConnect51 === void 0 ? void 0 : _data$SewerageConnect51.applicationType))),
|
|
32220
32221
|
textStyle: {
|
|
32221
32222
|
wordBreak: "break-word"
|
|
32222
32223
|
}
|
|
32223
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
32224
|
+
}), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection57 = data.WaterConnection) === null || _data$WaterConnection57 === void 0 ? void 0 : (_data$WaterConnection58 = _data$WaterConnection57[0].applicationType) === null || _data$WaterConnection58 === void 0 ? void 0 : _data$WaterConnection58.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect52 = data.SewerageConnections) === null || _data$SewerageConnect52 === void 0 ? void 0 : (_data$SewerageConnect53 = _data$SewerageConnect52[0].applicationType) === null || _data$SewerageConnect53 === void 0 ? void 0 : _data$SewerageConnect53.includes("DISCONNECT"))) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32224
32225
|
label: t("WS_DISCONNECTION_PROPOSED_DATE"),
|
|
32225
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
32226
|
+
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection59 = data.WaterConnection) === null || _data$WaterConnection59 === void 0 ? void 0 : (_data$WaterConnection60 = _data$WaterConnection59[0]) === null || _data$WaterConnection60 === void 0 ? void 0 : _data$WaterConnection60.dateEffectiveFrom) : convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$SewerageConnect54 = data.SewerageConnections) === null || _data$SewerageConnect54 === void 0 ? void 0 : (_data$SewerageConnect55 = _data$SewerageConnect54[0]) === null || _data$SewerageConnect55 === void 0 ? void 0 : _data$SewerageConnect55.dateEffectiveFrom),
|
|
32226
32227
|
textStyle: {
|
|
32227
32228
|
wordBreak: "break-word"
|
|
32228
32229
|
}
|
|
32229
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
32230
|
+
}), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection61 = data.WaterConnection) === null || _data$WaterConnection61 === void 0 ? void 0 : (_data$WaterConnection62 = _data$WaterConnection61[0].applicationType) === null || _data$WaterConnection62 === void 0 ? void 0 : _data$WaterConnection62.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect56 = data.SewerageConnections) === null || _data$SewerageConnect56 === void 0 ? void 0 : (_data$SewerageConnect57 = _data$SewerageConnect56[0].applicationType) === null || _data$SewerageConnect57 === void 0 ? void 0 : _data$SewerageConnect57.includes("DISCONNECT"))) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32230
32231
|
label: t("WS_DISCONNECTION_EXECUTED_DATE"),
|
|
32231
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
32232
|
+
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection63 = data.WaterConnection) === null || _data$WaterConnection63 === void 0 ? void 0 : (_data$WaterConnection64 = _data$WaterConnection63[0]) === null || _data$WaterConnection64 === void 0 ? void 0 : _data$WaterConnection64.disconnectionExecutionDate) : convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$SewerageConnect58 = data.SewerageConnections) === null || _data$SewerageConnect58 === void 0 ? void 0 : (_data$SewerageConnect59 = _data$SewerageConnect58[0]) === null || _data$SewerageConnect59 === void 0 ? void 0 : _data$SewerageConnect59.disconnectionExecutionDate),
|
|
32232
32233
|
textStyle: {
|
|
32233
32234
|
wordBreak: "break-word"
|
|
32234
32235
|
}
|
|
32235
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
32236
|
+
}), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection65 = data.WaterConnection) === null || _data$WaterConnection65 === void 0 ? void 0 : (_data$WaterConnection66 = _data$WaterConnection65[0].applicationType) === null || _data$WaterConnection66 === void 0 ? void 0 : _data$WaterConnection66.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect60 = data.SewerageConnections) === null || _data$SewerageConnect60 === void 0 ? void 0 : (_data$SewerageConnect61 = _data$SewerageConnect60[0].applicationType) === null || _data$SewerageConnect61 === void 0 ? void 0 : _data$SewerageConnect61.includes("DISCONNECT"))) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32236
32237
|
label: t("WS_DISCONNECTION_REASON"),
|
|
32237
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32238
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection67 = data.WaterConnection) === null || _data$WaterConnection67 === void 0 ? void 0 : (_data$WaterConnection68 = _data$WaterConnection67[0]) === null || _data$WaterConnection68 === void 0 ? void 0 : _data$WaterConnection68.disconnectionReason) != null ? data === null || data === void 0 ? void 0 : (_data$WaterConnection69 = data.WaterConnection) === null || _data$WaterConnection69 === void 0 ? void 0 : (_data$WaterConnection70 = _data$WaterConnection69[0]) === null || _data$WaterConnection70 === void 0 ? void 0 : _data$WaterConnection70.disconnectionReason : (data === null || data === void 0 ? void 0 : (_data$SewerageConnect62 = data.SewerageConnections) === null || _data$SewerageConnect62 === void 0 ? void 0 : (_data$SewerageConnect63 = _data$SewerageConnect62[0]) === null || _data$SewerageConnect63 === void 0 ? void 0 : _data$SewerageConnect63.disconnectionReason) != null ? data === null || data === void 0 ? void 0 : (_data$SewerageConnect64 = data.SewerageConnections) === null || _data$SewerageConnect64 === void 0 ? void 0 : (_data$SewerageConnect65 = _data$SewerageConnect64[0]) === null || _data$SewerageConnect65 === void 0 ? void 0 : _data$SewerageConnect65.disconnectionReason : t("NA"),
|
|
32238
32239
|
textStyle: {
|
|
32239
32240
|
wordBreak: "break-word"
|
|
32240
32241
|
}
|
|
@@ -32283,18 +32284,18 @@ const WSApplicationDetails = () => {
|
|
|
32283
32284
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32284
32285
|
label: t("WS_NATURE_OF_WORK"),
|
|
32285
32286
|
text: "" + t(checkForNA$1(connectionDetails === null || connectionDetails === void 0 ? void 0 : connectionDetails.natureOfWork))
|
|
32286
|
-
}))), (data === null || data === void 0 ? void 0 : (_data$
|
|
32287
|
+
}))), (data === null || data === void 0 ? void 0 : (_data$WaterConnection71 = data.WaterConnection) === null || _data$WaterConnection71 === void 0 ? void 0 : (_data$WaterConnection72 = _data$WaterConnection71[0]) === null || _data$WaterConnection72 === void 0 ? void 0 : (_data$WaterConnection73 = _data$WaterConnection72.connectionHolders) === null || _data$WaterConnection73 === void 0 ? void 0 : _data$WaterConnection73.length) > 0 || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect66 = data.SewerageConnections) === null || _data$SewerageConnect66 === void 0 ? void 0 : (_data$SewerageConnect67 = _data$SewerageConnect66[0]) === null || _data$SewerageConnect67 === void 0 ? void 0 : (_data$SewerageConnect68 = _data$SewerageConnect67.connectionHolders) === null || _data$SewerageConnect68 === void 0 ? void 0 : _data$SewerageConnect68.length) > 0 ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
32287
32288
|
styles: {
|
|
32288
32289
|
fontSize: "28px"
|
|
32289
32290
|
}
|
|
32290
32291
|
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32291
32292
|
label: t("WS_OWN_DETAIL_MOBILE_NO_LABEL"),
|
|
32292
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32293
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection74 = data.WaterConnection) === null || _data$WaterConnection74 === void 0 ? void 0 : (_data$WaterConnection75 = _data$WaterConnection74[0]) === null || _data$WaterConnection75 === void 0 ? void 0 : (_data$WaterConnection76 = _data$WaterConnection75.connectionHolders) === null || _data$WaterConnection76 === void 0 ? void 0 : (_data$WaterConnection77 = _data$WaterConnection76[0]) === null || _data$WaterConnection77 === void 0 ? void 0 : _data$WaterConnection77.mobileNumber) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect69 = data.SewerageConnections) === null || _data$SewerageConnect69 === void 0 ? void 0 : (_data$SewerageConnect70 = _data$SewerageConnect69[0]) === null || _data$SewerageConnect70 === void 0 ? void 0 : (_data$SewerageConnect71 = _data$SewerageConnect70.connectionHolders) === null || _data$SewerageConnect71 === void 0 ? void 0 : (_data$SewerageConnect72 = _data$SewerageConnect71[0]) === null || _data$SewerageConnect72 === void 0 ? void 0 : _data$SewerageConnect72.mobileNumber),
|
|
32293
32294
|
textStyle: {
|
|
32294
32295
|
whiteSpace: "pre"
|
|
32295
32296
|
},
|
|
32296
32297
|
privacy: {
|
|
32297
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32298
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection78 = data.WaterConnection) === null || _data$WaterConnection78 === void 0 ? void 0 : (_data$WaterConnection79 = _data$WaterConnection78[0]) === null || _data$WaterConnection79 === void 0 ? void 0 : (_data$WaterConnection80 = _data$WaterConnection79.connectionHolders) === null || _data$WaterConnection80 === void 0 ? void 0 : (_data$WaterConnection81 = _data$WaterConnection80[0]) === null || _data$WaterConnection81 === void 0 ? void 0 : _data$WaterConnection81.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect73 = data.SewerageConnections) === null || _data$SewerageConnect73 === void 0 ? void 0 : (_data$SewerageConnect74 = _data$SewerageConnect73[0]) === null || _data$SewerageConnect74 === void 0 ? void 0 : (_data$SewerageConnect75 = _data$SewerageConnect74.connectionHolders) === null || _data$SewerageConnect75 === void 0 ? void 0 : (_data$SewerageConnect76 = _data$SewerageConnect75[0]) === null || _data$SewerageConnect76 === void 0 ? void 0 : _data$SewerageConnect76.uuid,
|
|
32298
32299
|
fieldName: "connectionHoldersMobileNumber",
|
|
32299
32300
|
model: "WnSConnectionOwner",
|
|
32300
32301
|
showValue: false,
|
|
@@ -32311,18 +32312,18 @@ const WSApplicationDetails = () => {
|
|
|
32311
32312
|
}
|
|
32312
32313
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32313
32314
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
32314
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32315
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection82 = data.WaterConnection) === null || _data$WaterConnection82 === void 0 ? void 0 : (_data$WaterConnection83 = _data$WaterConnection82[0]) === null || _data$WaterConnection83 === void 0 ? void 0 : (_data$WaterConnection84 = _data$WaterConnection83.connectionHolders) === null || _data$WaterConnection84 === void 0 ? void 0 : (_data$WaterConnection85 = _data$WaterConnection84[0]) === null || _data$WaterConnection85 === void 0 ? void 0 : _data$WaterConnection85.name) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect77 = data.SewerageConnections) === null || _data$SewerageConnect77 === void 0 ? void 0 : (_data$SewerageConnect78 = _data$SewerageConnect77[0]) === null || _data$SewerageConnect78 === void 0 ? void 0 : (_data$SewerageConnect79 = _data$SewerageConnect78.connectionHolders) === null || _data$SewerageConnect79 === void 0 ? void 0 : (_data$SewerageConnect80 = _data$SewerageConnect79[0]) === null || _data$SewerageConnect80 === void 0 ? void 0 : _data$SewerageConnect80.name),
|
|
32315
32316
|
textStyle: {
|
|
32316
32317
|
whiteSpace: "pre"
|
|
32317
32318
|
}
|
|
32318
32319
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32319
32320
|
label: t("WS_OWN_DETAIL_GENDER_LABEL"),
|
|
32320
|
-
text: t((data === null || data === void 0 ? void 0 : (_data$
|
|
32321
|
+
text: t((data === null || data === void 0 ? void 0 : (_data$WaterConnection86 = data.WaterConnection) === null || _data$WaterConnection86 === void 0 ? void 0 : (_data$WaterConnection87 = _data$WaterConnection86[0]) === null || _data$WaterConnection87 === void 0 ? void 0 : (_data$WaterConnection88 = _data$WaterConnection87.connectionHolders) === null || _data$WaterConnection88 === void 0 ? void 0 : (_data$WaterConnection89 = _data$WaterConnection88[0]) === null || _data$WaterConnection89 === void 0 ? void 0 : _data$WaterConnection89.gender) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect81 = data.SewerageConnections) === null || _data$SewerageConnect81 === void 0 ? void 0 : (_data$SewerageConnect82 = _data$SewerageConnect81[0]) === null || _data$SewerageConnect82 === void 0 ? void 0 : (_data$SewerageConnect83 = _data$SewerageConnect82.connectionHolders) === null || _data$SewerageConnect83 === void 0 ? void 0 : (_data$SewerageConnect84 = _data$SewerageConnect83[0]) === null || _data$SewerageConnect84 === void 0 ? void 0 : _data$SewerageConnect84.gender)),
|
|
32321
32322
|
textStyle: {
|
|
32322
32323
|
whiteSpace: "pre"
|
|
32323
32324
|
},
|
|
32324
32325
|
privacy: {
|
|
32325
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32326
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection90 = data.WaterConnection) === null || _data$WaterConnection90 === void 0 ? void 0 : (_data$WaterConnection91 = _data$WaterConnection90[0]) === null || _data$WaterConnection91 === void 0 ? void 0 : (_data$WaterConnection92 = _data$WaterConnection91.connectionHolders) === null || _data$WaterConnection92 === void 0 ? void 0 : (_data$WaterConnection93 = _data$WaterConnection92[0]) === null || _data$WaterConnection93 === void 0 ? void 0 : _data$WaterConnection93.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect85 = data.SewerageConnections) === null || _data$SewerageConnect85 === void 0 ? void 0 : (_data$SewerageConnect86 = _data$SewerageConnect85[0]) === null || _data$SewerageConnect86 === void 0 ? void 0 : (_data$SewerageConnect87 = _data$SewerageConnect86.connectionHolders) === null || _data$SewerageConnect87 === void 0 ? void 0 : (_data$SewerageConnect88 = _data$SewerageConnect87[0]) === null || _data$SewerageConnect88 === void 0 ? void 0 : _data$SewerageConnect88.uuid,
|
|
32326
32327
|
fieldName: "gender",
|
|
32327
32328
|
model: "WnSConnectionOwner",
|
|
32328
32329
|
showValue: false,
|
|
@@ -32339,12 +32340,12 @@ const WSApplicationDetails = () => {
|
|
|
32339
32340
|
}
|
|
32340
32341
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32341
32342
|
label: t("WS_OWN_DETAIL_FATHER_OR_HUSBAND_NAME"),
|
|
32342
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32343
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection94 = data.WaterConnection) === null || _data$WaterConnection94 === void 0 ? void 0 : (_data$WaterConnection95 = _data$WaterConnection94[0]) === null || _data$WaterConnection95 === void 0 ? void 0 : (_data$WaterConnection96 = _data$WaterConnection95.connectionHolders) === null || _data$WaterConnection96 === void 0 ? void 0 : (_data$WaterConnection97 = _data$WaterConnection96[0]) === null || _data$WaterConnection97 === void 0 ? void 0 : _data$WaterConnection97.fatherOrHusbandName) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect89 = data.SewerageConnections) === null || _data$SewerageConnect89 === void 0 ? void 0 : (_data$SewerageConnect90 = _data$SewerageConnect89[0]) === null || _data$SewerageConnect90 === void 0 ? void 0 : (_data$SewerageConnect91 = _data$SewerageConnect90.connectionHolders) === null || _data$SewerageConnect91 === void 0 ? void 0 : (_data$SewerageConnect92 = _data$SewerageConnect91[0]) === null || _data$SewerageConnect92 === void 0 ? void 0 : _data$SewerageConnect92.fatherOrHusbandName) || t("CS_NA"),
|
|
32343
32344
|
textStyle: {
|
|
32344
32345
|
whiteSpace: "pre"
|
|
32345
32346
|
},
|
|
32346
32347
|
privacy: {
|
|
32347
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32348
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection98 = data.WaterConnection) === null || _data$WaterConnection98 === void 0 ? void 0 : (_data$WaterConnection99 = _data$WaterConnection98[0]) === null || _data$WaterConnection99 === void 0 ? void 0 : (_data$WaterConnection100 = _data$WaterConnection99.connectionHolders) === null || _data$WaterConnection100 === void 0 ? void 0 : (_data$WaterConnection101 = _data$WaterConnection100[0]) === null || _data$WaterConnection101 === void 0 ? void 0 : _data$WaterConnection101.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect93 = data.SewerageConnections) === null || _data$SewerageConnect93 === void 0 ? void 0 : (_data$SewerageConnect94 = _data$SewerageConnect93[0]) === null || _data$SewerageConnect94 === void 0 ? void 0 : (_data$SewerageConnect95 = _data$SewerageConnect94.connectionHolders) === null || _data$SewerageConnect95 === void 0 ? void 0 : (_data$SewerageConnect96 = _data$SewerageConnect95[0]) === null || _data$SewerageConnect96 === void 0 ? void 0 : _data$SewerageConnect96.uuid,
|
|
32348
32349
|
fieldName: "fatherOrHusbandName",
|
|
32349
32350
|
model: "WnSConnectionOwner",
|
|
32350
32351
|
showValue: false,
|
|
@@ -32361,12 +32362,12 @@ const WSApplicationDetails = () => {
|
|
|
32361
32362
|
}
|
|
32362
32363
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32363
32364
|
label: t("WS_OWN_DETAIL_RELATION_LABEL"),
|
|
32364
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32365
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection102 = data.WaterConnection) === null || _data$WaterConnection102 === void 0 ? void 0 : (_data$WaterConnection103 = _data$WaterConnection102[0]) === null || _data$WaterConnection103 === void 0 ? void 0 : (_data$WaterConnection104 = _data$WaterConnection103.connectionHolders) === null || _data$WaterConnection104 === void 0 ? void 0 : (_data$WaterConnection105 = _data$WaterConnection104[0]) === null || _data$WaterConnection105 === void 0 ? void 0 : _data$WaterConnection105.relationship) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect97 = data.SewerageConnections) === null || _data$SewerageConnect97 === void 0 ? void 0 : (_data$SewerageConnect98 = _data$SewerageConnect97[0]) === null || _data$SewerageConnect98 === void 0 ? void 0 : (_data$SewerageConnect99 = _data$SewerageConnect98.connectionHolders) === null || _data$SewerageConnect99 === void 0 ? void 0 : (_data$SewerageConnect100 = _data$SewerageConnect99[0]) === null || _data$SewerageConnect100 === void 0 ? void 0 : _data$SewerageConnect100.relationship) || t("CS_NA"),
|
|
32365
32366
|
textStyle: {
|
|
32366
32367
|
whiteSpace: "pre"
|
|
32367
32368
|
},
|
|
32368
32369
|
privacy: {
|
|
32369
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32370
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection106 = data.WaterConnection) === null || _data$WaterConnection106 === void 0 ? void 0 : (_data$WaterConnection107 = _data$WaterConnection106[0]) === null || _data$WaterConnection107 === void 0 ? void 0 : (_data$WaterConnection108 = _data$WaterConnection107.connectionHolders) === null || _data$WaterConnection108 === void 0 ? void 0 : (_data$WaterConnection109 = _data$WaterConnection108[0]) === null || _data$WaterConnection109 === void 0 ? void 0 : _data$WaterConnection109.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect101 = data.SewerageConnections) === null || _data$SewerageConnect101 === void 0 ? void 0 : (_data$SewerageConnect102 = _data$SewerageConnect101[0]) === null || _data$SewerageConnect102 === void 0 ? void 0 : (_data$SewerageConnect103 = _data$SewerageConnect102.connectionHolders) === null || _data$SewerageConnect103 === void 0 ? void 0 : (_data$SewerageConnect104 = _data$SewerageConnect103[0]) === null || _data$SewerageConnect104 === void 0 ? void 0 : _data$SewerageConnect104.uuid,
|
|
32370
32371
|
fieldName: "relationship",
|
|
32371
32372
|
model: "WnSConnection",
|
|
32372
32373
|
showValue: false,
|
|
@@ -32383,9 +32384,9 @@ const WSApplicationDetails = () => {
|
|
|
32383
32384
|
}
|
|
32384
32385
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32385
32386
|
label: t("WS_OWN_DETAIL_CROSADD"),
|
|
32386
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32387
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection110 = data.WaterConnection) === null || _data$WaterConnection110 === void 0 ? void 0 : (_data$WaterConnection111 = _data$WaterConnection110[0]) === null || _data$WaterConnection111 === void 0 ? void 0 : (_data$WaterConnection112 = _data$WaterConnection111.connectionHolders) === null || _data$WaterConnection112 === void 0 ? void 0 : (_data$WaterConnection113 = _data$WaterConnection112[0]) === null || _data$WaterConnection113 === void 0 ? void 0 : _data$WaterConnection113.correspondenceAddress) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect105 = data.SewerageConnections) === null || _data$SewerageConnect105 === void 0 ? void 0 : (_data$SewerageConnect106 = _data$SewerageConnect105[0]) === null || _data$SewerageConnect106 === void 0 ? void 0 : (_data$SewerageConnect107 = _data$SewerageConnect106.connectionHolders) === null || _data$SewerageConnect107 === void 0 ? void 0 : (_data$SewerageConnect108 = _data$SewerageConnect107[0]) === null || _data$SewerageConnect108 === void 0 ? void 0 : _data$SewerageConnect108.correspondenceAddress) || t("CS_NA"),
|
|
32387
32388
|
privacy: {
|
|
32388
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32389
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection114 = data.WaterConnection) === null || _data$WaterConnection114 === void 0 ? void 0 : (_data$WaterConnection115 = _data$WaterConnection114[0]) === null || _data$WaterConnection115 === void 0 ? void 0 : (_data$WaterConnection116 = _data$WaterConnection115.connectionHolders) === null || _data$WaterConnection116 === void 0 ? void 0 : (_data$WaterConnection117 = _data$WaterConnection116[0]) === null || _data$WaterConnection117 === void 0 ? void 0 : _data$WaterConnection117.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect109 = data.SewerageConnections) === null || _data$SewerageConnect109 === void 0 ? void 0 : (_data$SewerageConnect110 = _data$SewerageConnect109[0]) === null || _data$SewerageConnect110 === void 0 ? void 0 : (_data$SewerageConnect111 = _data$SewerageConnect110.connectionHolders) === null || _data$SewerageConnect111 === void 0 ? void 0 : (_data$SewerageConnect112 = _data$SewerageConnect111[0]) === null || _data$SewerageConnect112 === void 0 ? void 0 : _data$SewerageConnect112.uuid,
|
|
32389
32390
|
fieldName: "correspondenceAddress",
|
|
32390
32391
|
model: "WnSConnectionOwner",
|
|
32391
32392
|
showValue: false,
|
|
@@ -32402,12 +32403,12 @@ const WSApplicationDetails = () => {
|
|
|
32402
32403
|
}
|
|
32403
32404
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32404
32405
|
label: t("WS_OWN_DETAIL_EMAIL_ID_LABEL"),
|
|
32405
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32406
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection118 = data.WaterConnection) === null || _data$WaterConnection118 === void 0 ? void 0 : (_data$WaterConnection119 = _data$WaterConnection118[0]) === null || _data$WaterConnection119 === void 0 ? void 0 : (_data$WaterConnection120 = _data$WaterConnection119.connectionHolders) === null || _data$WaterConnection120 === void 0 ? void 0 : (_data$WaterConnection121 = _data$WaterConnection120[0]) === null || _data$WaterConnection121 === void 0 ? void 0 : _data$WaterConnection121.emailId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect113 = data.SewerageConnections) === null || _data$SewerageConnect113 === void 0 ? void 0 : (_data$SewerageConnect114 = _data$SewerageConnect113[0]) === null || _data$SewerageConnect114 === void 0 ? void 0 : (_data$SewerageConnect115 = _data$SewerageConnect114.connectionHolders) === null || _data$SewerageConnect115 === void 0 ? void 0 : (_data$SewerageConnect116 = _data$SewerageConnect115[0]) === null || _data$SewerageConnect116 === void 0 ? void 0 : _data$SewerageConnect116.emailId) || "NA",
|
|
32406
32407
|
textStyle: {
|
|
32407
32408
|
whiteSpace: "pre"
|
|
32408
32409
|
},
|
|
32409
32410
|
privacy: {
|
|
32410
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
32411
|
+
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection122 = data.WaterConnection) === null || _data$WaterConnection122 === void 0 ? void 0 : (_data$WaterConnection123 = _data$WaterConnection122[0]) === null || _data$WaterConnection123 === void 0 ? void 0 : (_data$WaterConnection124 = _data$WaterConnection123.connectionHolders) === null || _data$WaterConnection124 === void 0 ? void 0 : (_data$WaterConnection125 = _data$WaterConnection124[0]) === null || _data$WaterConnection125 === void 0 ? void 0 : _data$WaterConnection125.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect117 = data.SewerageConnections) === null || _data$SewerageConnect117 === void 0 ? void 0 : (_data$SewerageConnect118 = _data$SewerageConnect117[0]) === null || _data$SewerageConnect118 === void 0 ? void 0 : (_data$SewerageConnect119 = _data$SewerageConnect118.connectionHolders) === null || _data$SewerageConnect119 === void 0 ? void 0 : (_data$SewerageConnect120 = _data$SewerageConnect119[0]) === null || _data$SewerageConnect120 === void 0 ? void 0 : _data$SewerageConnect120.uuid,
|
|
32411
32412
|
fieldName: "connectionHoldersEmailId",
|
|
32412
32413
|
model: "WnSConnectionOwner",
|
|
32413
32414
|
showValue: false,
|
|
@@ -32428,7 +32429,7 @@ const WSApplicationDetails = () => {
|
|
|
32428
32429
|
}
|
|
32429
32430
|
}, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
32430
32431
|
label: t("WS_PROPERTY_ID_LABEL"),
|
|
32431
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
32432
|
+
text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection126 = data.WaterConnection) === null || _data$WaterConnection126 === void 0 ? void 0 : (_data$WaterConnection127 = _data$WaterConnection126[0]) === null || _data$WaterConnection127 === void 0 ? void 0 : _data$WaterConnection127.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect121 = data.SewerageConnections) === null || _data$SewerageConnect121 === void 0 ? void 0 : (_data$SewerageConnect122 = _data$SewerageConnect121[0]) === null || _data$SewerageConnect122 === void 0 ? void 0 : _data$SewerageConnect122.propertyId),
|
|
32432
32433
|
textStyle: {
|
|
32433
32434
|
wordBreak: "break-word"
|
|
32434
32435
|
}
|
|
@@ -32469,7 +32470,7 @@ const WSApplicationDetails = () => {
|
|
|
32469
32470
|
}
|
|
32470
32471
|
}
|
|
32471
32472
|
}), /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
32472
|
-
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
32473
|
+
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection128 = data.WaterConnection) === null || _data$WaterConnection128 === void 0 ? void 0 : (_data$WaterConnection129 = _data$WaterConnection128[0]) === null || _data$WaterConnection129 === void 0 ? void 0 : _data$WaterConnection129.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect123 = data.SewerageConnections) === null || _data$SewerageConnect123 === void 0 ? void 0 : (_data$SewerageConnect124 = _data$SewerageConnect123[0]) === null || _data$SewerageConnect124 === void 0 ? void 0 : _data$SewerageConnect124.propertyId)) + "&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection130 = data.WaterConnection) === null || _data$WaterConnection130 === void 0 ? void 0 : (_data$WaterConnection131 = _data$WaterConnection130[0]) === null || _data$WaterConnection131 === void 0 ? void 0 : _data$WaterConnection131.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect125 = data.SewerageConnections) === null || _data$SewerageConnect125 === void 0 ? void 0 : (_data$SewerageConnect126 = _data$SewerageConnect125[0]) === null || _data$SewerageConnect126 === void 0 ? void 0 : _data$SewerageConnect126.tenantId))
|
|
32473
32474
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
32474
32475
|
style: {
|
|
32475
32476
|
textAlign: "left"
|
|
@@ -32623,15 +32624,15 @@ const WSApplicationDetails = () => {
|
|
|
32623
32624
|
styles: {
|
|
32624
32625
|
fontSize: "28px"
|
|
32625
32626
|
}
|
|
32626
|
-
}, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$
|
|
32627
|
-
var _doc$documentType, _data$
|
|
32627
|
+
}, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$WaterConnection132 = data.WaterConnection) === null || _data$WaterConnection132 === void 0 ? void 0 : (_data$WaterConnection133 = _data$WaterConnection132[0]) === null || _data$WaterConnection133 === void 0 ? void 0 : _data$WaterConnection133.documents) && (data === null || data === void 0 ? void 0 : (_data$WaterConnection134 = data.WaterConnection) === null || _data$WaterConnection134 === void 0 ? void 0 : (_data$WaterConnection135 = _data$WaterConnection134[0]) === null || _data$WaterConnection135 === void 0 ? void 0 : _data$WaterConnection135.documents.map((doc, index) => {
|
|
32628
|
+
var _doc$documentType, _data$WaterConnection136, _data$WaterConnection137, _data$WaterConnection138, _data$WaterConnection139;
|
|
32628
32629
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
32629
32630
|
key: "doc-" + index
|
|
32630
32631
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType = doc.documentType) === null || _doc$documentType === void 0 ? void 0 : _doc$documentType.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
32631
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
32632
|
+
value: data === null || data === void 0 ? void 0 : (_data$WaterConnection136 = data.WaterConnection) === null || _data$WaterConnection136 === void 0 ? void 0 : (_data$WaterConnection137 = _data$WaterConnection136[0]) === null || _data$WaterConnection137 === void 0 ? void 0 : _data$WaterConnection137.documents,
|
|
32632
32633
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
32633
32634
|
index: index
|
|
32634
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
32635
|
+
}), (data === null || data === void 0 ? void 0 : (_data$WaterConnection138 = data.WaterConnection) === null || _data$WaterConnection138 === void 0 ? void 0 : (_data$WaterConnection139 = _data$WaterConnection138[0]) === null || _data$WaterConnection139 === void 0 ? void 0 : _data$WaterConnection139.documents.length) != index + 1 ? /*#__PURE__*/React__default.createElement("hr", {
|
|
32635
32636
|
style: {
|
|
32636
32637
|
color: "#cccccc",
|
|
32637
32638
|
backgroundColor: "#cccccc",
|
|
@@ -32640,15 +32641,15 @@ const WSApplicationDetails = () => {
|
|
|
32640
32641
|
marginBottom: "20px"
|
|
32641
32642
|
}
|
|
32642
32643
|
}) : null)));
|
|
32643
|
-
})), (data === null || data === void 0 ? void 0 : (_data$
|
|
32644
|
-
var _doc$documentType2, _data$
|
|
32644
|
+
})), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect127 = data.SewerageConnections) === null || _data$SewerageConnect127 === void 0 ? void 0 : (_data$SewerageConnect128 = _data$SewerageConnect127[0]) === null || _data$SewerageConnect128 === void 0 ? void 0 : _data$SewerageConnect128.documents) && (data === null || data === void 0 ? void 0 : (_data$SewerageConnect129 = data.SewerageConnections) === null || _data$SewerageConnect129 === void 0 ? void 0 : (_data$SewerageConnect130 = _data$SewerageConnect129[0]) === null || _data$SewerageConnect130 === void 0 ? void 0 : _data$SewerageConnect130.documents.map((doc, index) => {
|
|
32645
|
+
var _doc$documentType2, _data$SewerageConnect131, _data$SewerageConnect132, _data$SewerageConnect133, _data$SewerageConnect134;
|
|
32645
32646
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
32646
32647
|
key: "doc-" + index
|
|
32647
32648
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType2 = doc.documentType) === null || _doc$documentType2 === void 0 ? void 0 : _doc$documentType2.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
32648
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
32649
|
+
value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect131 = data.SewerageConnections) === null || _data$SewerageConnect131 === void 0 ? void 0 : (_data$SewerageConnect132 = _data$SewerageConnect131[0]) === null || _data$SewerageConnect132 === void 0 ? void 0 : _data$SewerageConnect132.documents,
|
|
32649
32650
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
32650
32651
|
index: index
|
|
32651
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
32652
|
+
}), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect133 = data.SewerageConnections) === null || _data$SewerageConnect133 === void 0 ? void 0 : (_data$SewerageConnect134 = _data$SewerageConnect133[0]) === null || _data$SewerageConnect134 === void 0 ? void 0 : _data$SewerageConnect134.documents.length) != index + 1 ? /*#__PURE__*/React__default.createElement("hr", {
|
|
32652
32653
|
style: {
|
|
32653
32654
|
color: "white",
|
|
32654
32655
|
backgroundColor: "white",
|
|
@@ -32657,36 +32658,37 @@ const WSApplicationDetails = () => {
|
|
|
32657
32658
|
marginBottom: "20px"
|
|
32658
32659
|
}
|
|
32659
32660
|
}) : null)));
|
|
32660
|
-
})), (data === null || data === void 0 ? void 0 : (_data$
|
|
32661
|
+
})), (data === null || data === void 0 ? void 0 : (_data$WaterConnection140 = data.WaterConnection) === null || _data$WaterConnection140 === void 0 ? void 0 : (_data$WaterConnection141 = _data$WaterConnection140[0]) === null || _data$WaterConnection141 === void 0 ? void 0 : _data$WaterConnection141.applicationStatus) === "PENDING_FOR_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$WaterConnection142 = data.WaterConnection) === null || _data$WaterConnection142 === void 0 ? void 0 : (_data$WaterConnection143 = _data$WaterConnection142[0]) === null || _data$WaterConnection143 === void 0 ? void 0 : _data$WaterConnection143.applicationStatus) === "PENDING_FOR_FINAL_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$WaterConnection144 = data.WaterConnection) === null || _data$WaterConnection144 === void 0 ? void 0 : (_data$WaterConnection145 = _data$WaterConnection144[0]) === null || _data$WaterConnection145 === void 0 ? void 0 : _data$WaterConnection145.applicationStatus) === "PENDING_FOR_ADDITIONAL_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect135 = data.SewerageConnections) === null || _data$SewerageConnect135 === void 0 ? void 0 : (_data$SewerageConnect136 = _data$SewerageConnect135[0]) === null || _data$SewerageConnect136 === void 0 ? void 0 : _data$SewerageConnect136.applicationStatus) === "PENDING_FOR_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect137 = data.SewerageConnections) === null || _data$SewerageConnect137 === void 0 ? void 0 : (_data$SewerageConnect138 = _data$SewerageConnect137[0]) === null || _data$SewerageConnect138 === void 0 ? void 0 : _data$SewerageConnect138.applicationStatus) === "PENDING_FOR_FINAL_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect139 = data.SewerageConnections) === null || _data$SewerageConnect139 === void 0 ? void 0 : (_data$SewerageConnect140 = _data$SewerageConnect139[0]) === null || _data$SewerageConnect140 === void 0 ? void 0 : _data$SewerageConnect140.applicationStatus) === "PENDING_FOR_ADDITIONAL_PAYMENT" ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
32661
32662
|
to: {
|
|
32662
|
-
pathname: "/digit-ui/citizen/payment/my-bills/" + (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data = paymentDetails.data) === null || _paymentDetails$data === void 0 ? void 0 : (_paymentDetails$data$ = _paymentDetails$data.Bill) === null || _paymentDetails$data$ === void 0 ? void 0 : (_paymentDetails$data$2 = _paymentDetails$data$[0]) === null || _paymentDetails$data$2 === void 0 ? void 0 : _paymentDetails$data$2.businessService) + "/" +
|
|
32663
|
+
pathname: "/digit-ui/citizen/payment/my-bills/" + (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data = paymentDetails.data) === null || _paymentDetails$data === void 0 ? void 0 : (_paymentDetails$data$ = _paymentDetails$data.Bill) === null || _paymentDetails$data$ === void 0 ? void 0 : (_paymentDetails$data$2 = _paymentDetails$data$[0]) === null || _paymentDetails$data$2 === void 0 ? void 0 : _paymentDetails$data$2.businessService) + "/" + stringReplaceAll(paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data2 = paymentDetails.data) === null || _paymentDetails$data2 === void 0 ? void 0 : (_paymentDetails$data3 = _paymentDetails$data2.Bill) === null || _paymentDetails$data3 === void 0 ? void 0 : (_paymentDetails$data4 = _paymentDetails$data3[0]) === null || _paymentDetails$data4 === void 0 ? void 0 : _paymentDetails$data4.consumerCode, "/", "+"),
|
|
32664
|
+
search: "?workflow=WNS&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection146 = data.WaterConnection) === null || _data$WaterConnection146 === void 0 ? void 0 : (_data$WaterConnection147 = _data$WaterConnection146[0]) === null || _data$WaterConnection147 === void 0 ? void 0 : _data$WaterConnection147.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect141 = data.SewerageConnections) === null || _data$SewerageConnect141 === void 0 ? void 0 : (_data$SewerageConnect142 = _data$SewerageConnect141[0]) === null || _data$SewerageConnect142 === void 0 ? void 0 : _data$SewerageConnect142.tenantId)) + "&ConsumerName=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection148 = data.WaterConnection) === null || _data$WaterConnection148 === void 0 ? void 0 : (_data$WaterConnection149 = _data$WaterConnection148[0]) === null || _data$WaterConnection149 === void 0 ? void 0 : (_data$WaterConnection150 = _data$WaterConnection149.connectionHolders) === null || _data$WaterConnection150 === void 0 ? void 0 : _data$WaterConnection150.map(owner => owner.name).join(",")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect143 = data.SewerageConnections) === null || _data$SewerageConnect143 === void 0 ? void 0 : (_data$SewerageConnect144 = _data$SewerageConnect143[0]) === null || _data$SewerageConnect144 === void 0 ? void 0 : (_data$SewerageConnect145 = _data$SewerageConnect144.connectionHolders) === null || _data$SewerageConnect145 === void 0 ? void 0 : _data$SewerageConnect145.map(owner => owner.name).join(",")) || (PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties8 = PTData.Properties) === null || _PTData$Properties8 === void 0 ? void 0 : (_PTData$Properties8$ = _PTData$Properties8[0]) === null || _PTData$Properties8$ === void 0 ? void 0 : (_PTData$Properties8$$ = _PTData$Properties8$.owners) === null || _PTData$Properties8$$ === void 0 ? void 0 : _PTData$Properties8$$.map(owner => owner.name).join(","))) + "&isDisoconnectFlow=" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? true : false) + "&consumerCode=" + (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data5 = paymentDetails.data) === null || _paymentDetails$data5 === void 0 ? void 0 : (_paymentDetails$data6 = _paymentDetails$data5.Bill) === null || _paymentDetails$data6 === void 0 ? void 0 : (_paymentDetails$data7 = _paymentDetails$data6[0]) === null || _paymentDetails$data7 === void 0 ? void 0 : _paymentDetails$data7.consumerCode),
|
|
32663
32665
|
state: {}
|
|
32664
32666
|
}
|
|
32665
32667
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
32666
32668
|
label: t("MAKE_PAYMENT")
|
|
32667
|
-
})) : null, !(data !== null && data !== void 0 && (_data$
|
|
32669
|
+
})) : null, !(data !== null && data !== void 0 && (_data$WaterConnection151 = data.WaterConnection) !== null && _data$WaterConnection151 !== void 0 && (_data$WaterConnection152 = _data$WaterConnection151[0]) !== null && _data$WaterConnection152 !== void 0 && _data$WaterConnection152.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$WaterConnection153 = data.WaterConnection) !== null && _data$WaterConnection153 !== void 0 && (_data$WaterConnection154 = _data$WaterConnection153[0]) !== null && _data$WaterConnection154 !== void 0 && _data$WaterConnection154.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || !(data !== null && data !== void 0 && (_data$SewerageConnect146 = data.SewerageConnections) !== null && _data$SewerageConnect146 !== void 0 && (_data$SewerageConnect147 = _data$SewerageConnect146[0]) !== null && _data$SewerageConnect147 !== void 0 && _data$SewerageConnect147.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$SewerageConnect148 = data.SewerageConnections) !== null && _data$SewerageConnect148 !== void 0 && (_data$SewerageConnect149 = _data$SewerageConnect148[0]) !== null && _data$SewerageConnect149 !== void 0 && _data$SewerageConnect149.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
32668
32670
|
to: {
|
|
32669
|
-
pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
32671
|
+
pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection155 = data.WaterConnection) === null || _data$WaterConnection155 === void 0 ? void 0 : (_data$WaterConnection156 = _data$WaterConnection155[0]) === null || _data$WaterConnection156 === void 0 ? void 0 : _data$WaterConnection156.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect150 = data.SewerageConnections) === null || _data$SewerageConnect150 === void 0 ? void 0 : (_data$SewerageConnect151 = _data$SewerageConnect150[0]) === null || _data$SewerageConnect151 === void 0 ? void 0 : _data$SewerageConnect151.tenantId)),
|
|
32670
32672
|
state: {
|
|
32671
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
32673
|
+
id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection157 = data.WaterConnection) === null || _data$WaterConnection157 === void 0 ? void 0 : (_data$WaterConnection158 = _data$WaterConnection157[0]) === null || _data$WaterConnection158 === void 0 ? void 0 : _data$WaterConnection158.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect152 = data.SewerageConnections) === null || _data$SewerageConnect152 === void 0 ? void 0 : (_data$SewerageConnect153 = _data$SewerageConnect152[0]) === null || _data$SewerageConnect153 === void 0 ? void 0 : _data$SewerageConnect153.applicationNo))
|
|
32672
32674
|
}
|
|
32673
32675
|
}
|
|
32674
32676
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
32675
32677
|
label: t("COMMON_EDIT")
|
|
32676
|
-
})) : null, data !== null && data !== void 0 && (_data$
|
|
32678
|
+
})) : null, data !== null && data !== void 0 && (_data$WaterConnection159 = data.WaterConnection) !== null && _data$WaterConnection159 !== void 0 && (_data$WaterConnection160 = _data$WaterConnection159[0]) !== null && _data$WaterConnection160 !== void 0 && _data$WaterConnection160.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$WaterConnection161 = data.WaterConnection) !== null && _data$WaterConnection161 !== void 0 && (_data$WaterConnection162 = _data$WaterConnection161[0]) !== null && _data$WaterConnection162 !== void 0 && _data$WaterConnection162.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || data !== null && data !== void 0 && (_data$SewerageConnect154 = data.SewerageConnections) !== null && _data$SewerageConnect154 !== void 0 && (_data$SewerageConnect155 = _data$SewerageConnect154[0]) !== null && _data$SewerageConnect155 !== void 0 && _data$SewerageConnect155.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$SewerageConnect156 = data.SewerageConnections) !== null && _data$SewerageConnect156 !== void 0 && (_data$SewerageConnect157 = _data$SewerageConnect156[0]) !== null && _data$SewerageConnect157 !== void 0 && _data$SewerageConnect157.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
32677
32679
|
to: {
|
|
32678
32680
|
pathname: "/digit-ui/citizen/ws/resubmit-disconnect-application",
|
|
32679
32681
|
state: {
|
|
32680
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
32682
|
+
id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection163 = data.WaterConnection) === null || _data$WaterConnection163 === void 0 ? void 0 : (_data$WaterConnection164 = _data$WaterConnection163[0]) === null || _data$WaterConnection164 === void 0 ? void 0 : _data$WaterConnection164.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect158 = data.SewerageConnections) === null || _data$SewerageConnect158 === void 0 ? void 0 : (_data$SewerageConnect159 = _data$SewerageConnect158[0]) === null || _data$SewerageConnect159 === void 0 ? void 0 : _data$SewerageConnect159.applicationNo))
|
|
32681
32683
|
}
|
|
32682
32684
|
}
|
|
32683
32685
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
32684
32686
|
label: t("RESUBMIT_APPLICATION"),
|
|
32685
32687
|
onSubmit: Digit.SessionStorage.set("WS_DISCONNECTION", applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? {
|
|
32686
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
32688
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$SewerageConnect160 = data.SewerageConnections) === null || _data$SewerageConnect160 === void 0 ? void 0 : _data$SewerageConnect160[0],
|
|
32687
32689
|
serviceType: "SEWERAGE",
|
|
32688
32690
|
WSDisconnectionForm: {
|
|
32689
|
-
type: data !== null && data !== void 0 && (_data$
|
|
32691
|
+
type: data !== null && data !== void 0 && (_data$SewerageConnect161 = data.SewerageConnections) !== null && _data$SewerageConnect161 !== void 0 && (_data$SewerageConnect162 = _data$SewerageConnect161[0]) !== null && _data$SewerageConnect162 !== void 0 && _data$SewerageConnect162.isDisconnectionTemporary ? {
|
|
32690
32692
|
code: "type",
|
|
32691
32693
|
value: {
|
|
32692
32694
|
name: "Temporary",
|
|
@@ -32703,18 +32705,18 @@ const WSApplicationDetails = () => {
|
|
|
32703
32705
|
code: "Permanent"
|
|
32704
32706
|
}
|
|
32705
32707
|
},
|
|
32706
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
32708
|
+
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$SewerageConnect163 = data.SewerageConnections) === null || _data$SewerageConnect163 === void 0 ? void 0 : (_data$SewerageConnect164 = _data$SewerageConnect163[0]) === null || _data$SewerageConnect164 === void 0 ? void 0 : _data$SewerageConnect164.dateEffectiveFrom, true),
|
|
32707
32709
|
reason: {
|
|
32708
32710
|
code: "reason",
|
|
32709
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
32711
|
+
value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect165 = data.SewerageConnections) === null || _data$SewerageConnect165 === void 0 ? void 0 : (_data$SewerageConnect166 = _data$SewerageConnect165[0]) === null || _data$SewerageConnect166 === void 0 ? void 0 : _data$SewerageConnect166.disconnectionReason
|
|
32710
32712
|
},
|
|
32711
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
32713
|
+
documents: data === null || data === void 0 ? void 0 : (_data$SewerageConnect167 = data.SewerageConnections) === null || _data$SewerageConnect167 === void 0 ? void 0 : (_data$SewerageConnect168 = _data$SewerageConnect167[0]) === null || _data$SewerageConnect168 === void 0 ? void 0 : _data$SewerageConnect168.documents
|
|
32712
32714
|
}
|
|
32713
32715
|
} : {
|
|
32714
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
32716
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$WaterConnection165 = data.WaterConnection) === null || _data$WaterConnection165 === void 0 ? void 0 : _data$WaterConnection165[0],
|
|
32715
32717
|
serviceType: "WATER",
|
|
32716
32718
|
WSDisconnectionForm: {
|
|
32717
|
-
type: data !== null && data !== void 0 && (_data$
|
|
32719
|
+
type: data !== null && data !== void 0 && (_data$WaterConnection166 = data.WaterConnection) !== null && _data$WaterConnection166 !== void 0 && (_data$WaterConnection167 = _data$WaterConnection166[0]) !== null && _data$WaterConnection167 !== void 0 && _data$WaterConnection167.isDisconnectionTemporary ? {
|
|
32718
32720
|
code: "type",
|
|
32719
32721
|
value: {
|
|
32720
32722
|
name: "Temporary",
|
|
@@ -32731,12 +32733,12 @@ const WSApplicationDetails = () => {
|
|
|
32731
32733
|
code: "Permanent"
|
|
32732
32734
|
}
|
|
32733
32735
|
},
|
|
32734
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
32736
|
+
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$WaterConnection168 = data.WaterConnection) === null || _data$WaterConnection168 === void 0 ? void 0 : (_data$WaterConnection169 = _data$WaterConnection168[0]) === null || _data$WaterConnection169 === void 0 ? void 0 : _data$WaterConnection169.dateEffectiveFrom, true),
|
|
32735
32737
|
reason: {
|
|
32736
32738
|
code: "reason",
|
|
32737
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
32739
|
+
value: data === null || data === void 0 ? void 0 : (_data$WaterConnection170 = data.WaterConnection) === null || _data$WaterConnection170 === void 0 ? void 0 : (_data$WaterConnection171 = _data$WaterConnection170[0]) === null || _data$WaterConnection171 === void 0 ? void 0 : _data$WaterConnection171.disconnectionReason
|
|
32738
32740
|
},
|
|
32739
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
32741
|
+
documents: data === null || data === void 0 ? void 0 : (_data$WaterConnection172 = data.WaterConnection) === null || _data$WaterConnection172 === void 0 ? void 0 : (_data$WaterConnection173 = _data$WaterConnection172[0]) === null || _data$WaterConnection173 === void 0 ? void 0 : _data$WaterConnection173.documents
|
|
32740
32742
|
}
|
|
32741
32743
|
})
|
|
32742
32744
|
})) : null)))));
|
|
@@ -33079,7 +33081,7 @@ const getConnectionDetailsPDF = function (application, property, tenantInfo, t)
|
|
|
33079
33081
|
};
|
|
33080
33082
|
|
|
33081
33083
|
const ConnectionDetails$5 = () => {
|
|
33082
|
-
var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2,
|
|
33084
|
+
var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2, _state5, _state6, _state6$applicationTy, _state7, _state8, _state9, _state0, _state0$applicationTy, _state1, _state10, _state11, _state12, _state12$applicationT, _state13, _state14, _state15, _state16, _state17, _state17$applicationT, _state18, _state18$waterSource, _state18$waterSource$, _state19, _state20, _state20$waterSource, _state20$waterSource$, _state21, _state22, _state23, _state24, _state24$additionalDe, _state25, _state25$applicationT, _state26, _state26$additionalDe, _state26$additionalDe2, _state27, _state27$additionalDe, _state27$additionalDe2, _state28, _state28$additionalDe, _state29, _state29$additionalDe, _state30, _state30$additionalDe, _state30$additionalDe2, _state31, _state31$additionalDe, _state32, _state33, _state34, _state35, _state35$property, _state35$property$own, _PTData$Properties2, _PTData$Properties2$, _PTData$Properties3, _PTData$Properties3$, _PTData$Properties3$$, _PTData$Properties3$$2, _PTData$Properties4, _PTData$Properties4$, _user$info2, _user$info2$userName, _user$info3, _user$info4, _state36, _state36$additionalDe, _state36$additionalDe2, _state37, _state37$additionalDe, _state37$additionalDe2, _state38, _state38$additionalDe, _state39, _state39$additionalDe, _state40, _state40$additionalDe, _state41, _state41$additionalDe, _state42, _state42$additionalDe, _state43, _state44, _state45, _state46, _state46$connectionHo, _state46$connectionHo2, _data$WaterConnection16, _data$WaterConnection17, _data$WaterConnection18, _data$WaterConnection19, _data$SewerageConnect0, _data$SewerageConnect1, _data$SewerageConnect10, _data$SewerageConnect11, _data$WaterConnection20, _data$WaterConnection21, _data$WaterConnection22, _data$WaterConnection23, _data$SewerageConnect12, _data$SewerageConnect13, _data$SewerageConnect14, _data$SewerageConnect15, _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect16, _data$SewerageConnect17, _data$SewerageConnect18, _data$SewerageConnect19, _data$WaterConnection28, _data$WaterConnection29, _data$WaterConnection30, _data$WaterConnection31, _data$SewerageConnect20, _data$SewerageConnect21, _data$SewerageConnect22, _data$SewerageConnect23, _data$WaterConnection32, _data$WaterConnection33, _data$WaterConnection34, _data$WaterConnection35, _data$SewerageConnect24, _data$SewerageConnect25, _data$SewerageConnect26, _data$SewerageConnect27, _data$WaterConnection36, _data$WaterConnection37, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect28, _data$SewerageConnect29, _data$SewerageConnect30, _data$SewerageConnect31, _data$WaterConnection40, _data$WaterConnection41, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect32, _data$SewerageConnect33, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection44, _data$WaterConnection45, _data$WaterConnection46, _data$WaterConnection47, _data$SewerageConnect36, _data$SewerageConnect37, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection48, _data$WaterConnection49, _data$WaterConnection50, _data$WaterConnection51, _data$SewerageConnect40, _data$SewerageConnect41, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection52, _data$WaterConnection53, _data$WaterConnection54, _data$WaterConnection55, _data$SewerageConnect44, _data$SewerageConnect45, _data$SewerageConnect46, _data$SewerageConnect47, _state47, _state47$additionalDe, _state48, _state48$additionalDe, _state49, _state49$additionalDe, _state50, _state50$additionalDe, _state51, _state51$additionalDe, _state52, _state53, _state56, _state57, _state58, _state59, _state60, _state61, _paymentDetails$data17, _paymentDetails$data18;
|
|
33083
33085
|
const _useTranslation = reactI18next.useTranslation(),
|
|
33084
33086
|
t = _useTranslation.t;
|
|
33085
33087
|
const menuRef = React.useRef();
|
|
@@ -33322,6 +33324,11 @@ const ConnectionDetails$5 = () => {
|
|
|
33322
33324
|
function onActionSelectRestoration() {
|
|
33323
33325
|
getRestorationButton();
|
|
33324
33326
|
}
|
|
33327
|
+
function onActionSelectMutation() {
|
|
33328
|
+
var _state3, _state4;
|
|
33329
|
+
let pathname = "/digit-ui/citizen/ws/mutation-application?applicationNumber=" + ((_state3 = state) === null || _state3 === void 0 ? void 0 : _state3.connectionNo) + "&service=" + (isSW ? "SEWERAGE" : "WATER") + "&propertyId=" + ((_state4 = state) === null || _state4 === void 0 ? void 0 : _state4.propertyId) + "&from=WS_COMMON_CONNECTION_DETAIL";
|
|
33330
|
+
history.push(pathname);
|
|
33331
|
+
}
|
|
33325
33332
|
const Close = () => /*#__PURE__*/React__default.createElement("svg", {
|
|
33326
33333
|
xmlns: "http://www.w3.org/2000/svg",
|
|
33327
33334
|
viewBox: "0 0 24 24",
|
|
@@ -33349,8 +33356,8 @@ const ConnectionDetails$5 = () => {
|
|
|
33349
33356
|
if (isLoading || isPTLoading) {
|
|
33350
33357
|
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.Loader, null);
|
|
33351
33358
|
}
|
|
33352
|
-
sessionStorage.setItem("ApplicationNoState", (
|
|
33353
|
-
let serviceType = (
|
|
33359
|
+
sessionStorage.setItem("ApplicationNoState", (_state5 = state) === null || _state5 === void 0 ? void 0 : _state5.applicationNo);
|
|
33360
|
+
let serviceType = (_state6 = state) !== null && _state6 !== void 0 && (_state6$applicationTy = _state6.applicationType) !== null && _state6$applicationTy !== void 0 && _state6$applicationTy.includes("WATER") ? "WATER" : "SEWERAGE";
|
|
33354
33361
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
33355
33362
|
className: "cardHeaderWithOptions",
|
|
33356
33363
|
style: {
|
|
@@ -33374,18 +33381,18 @@ const ConnectionDetails$5 = () => {
|
|
|
33374
33381
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Card, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33375
33382
|
className: "border-none",
|
|
33376
33383
|
label: t("WS_MYCONNECTIONS_CONSUMER_NO"),
|
|
33377
|
-
text: (
|
|
33384
|
+
text: (_state7 = state) === null || _state7 === void 0 ? void 0 : _state7.connectionNo
|
|
33378
33385
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33379
33386
|
className: "border-none",
|
|
33380
33387
|
label: t("WS_SERVICE_NAME_LABEL"),
|
|
33381
|
-
text: t("WS_APPLICATION_TYPE_" + ((
|
|
33388
|
+
text: t("WS_APPLICATION_TYPE_" + ((_state8 = state) === null || _state8 === void 0 ? void 0 : _state8.applicationType)),
|
|
33382
33389
|
textStyle: {
|
|
33383
33390
|
wordBreak: "break-word"
|
|
33384
33391
|
}
|
|
33385
33392
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33386
33393
|
className: "border-none",
|
|
33387
33394
|
label: t("WS_STATUS"),
|
|
33388
|
-
text: ((
|
|
33395
|
+
text: ((_state9 = state) === null || _state9 === void 0 ? void 0 : _state9.status) || "NA",
|
|
33389
33396
|
textStyle: {
|
|
33390
33397
|
whiteSpace: "pre"
|
|
33391
33398
|
}
|
|
@@ -33393,127 +33400,127 @@ const ConnectionDetails$5 = () => {
|
|
|
33393
33400
|
styles: {
|
|
33394
33401
|
fontSize: "28px"
|
|
33395
33402
|
}
|
|
33396
|
-
}, t("WS_COMMON_CONNECTION_DETAIL")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, ((
|
|
33403
|
+
}, t("WS_COMMON_CONNECTION_DETAIL")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, ((_state0 = state) === null || _state0 === void 0 ? void 0 : (_state0$applicationTy = _state0.applicationType) === null || _state0$applicationTy === void 0 ? void 0 : _state0$applicationTy.includes("WATER")) && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33397
33404
|
className: "border-none",
|
|
33398
33405
|
label: t("WS_COMMON_TABLE_COL_CONNECTIONTYPE_LABEL"),
|
|
33399
|
-
text: ((
|
|
33406
|
+
text: ((_state1 = state) === null || _state1 === void 0 ? void 0 : _state1.connectionType) || t("NA"),
|
|
33400
33407
|
textStyle: {
|
|
33401
33408
|
whiteSpace: "pre"
|
|
33402
33409
|
}
|
|
33403
33410
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33404
33411
|
className: "border-none",
|
|
33405
33412
|
label: t("WS_SERV_DETAIL_NO_OF_TAPS"),
|
|
33406
|
-
text: (
|
|
33413
|
+
text: (_state10 = state) === null || _state10 === void 0 ? void 0 : _state10.noOfTaps,
|
|
33407
33414
|
textStyle: {
|
|
33408
33415
|
whiteSpace: "pre"
|
|
33409
33416
|
}
|
|
33410
33417
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33411
33418
|
className: "border-none",
|
|
33412
33419
|
label: t("WS_PIPE_SIZE_IN_INCHES_LABEL"),
|
|
33413
|
-
text: ((
|
|
33420
|
+
text: ((_state11 = state) === null || _state11 === void 0 ? void 0 : _state11.pipeSize) || "NA",
|
|
33414
33421
|
textStyle: {
|
|
33415
33422
|
whiteSpace: "pre"
|
|
33416
33423
|
}
|
|
33417
|
-
})), ((
|
|
33424
|
+
})), ((_state12 = state) === null || _state12 === void 0 ? void 0 : (_state12$applicationT = _state12.applicationType) === null || _state12$applicationT === void 0 ? void 0 : _state12$applicationT.includes("SEWERAGE")) && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33418
33425
|
className: "border-none",
|
|
33419
33426
|
label: t("WS_CONN_DETAIL_WATER_CLOSETS"),
|
|
33420
|
-
text: (
|
|
33427
|
+
text: (_state13 = state) === null || _state13 === void 0 ? void 0 : _state13.proposedWaterClosets,
|
|
33421
33428
|
textStyle: {
|
|
33422
33429
|
whiteSpace: "pre"
|
|
33423
33430
|
}
|
|
33424
33431
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33425
33432
|
className: "border-none",
|
|
33426
33433
|
label: t("WS_SERV_DETAIL_NO_OF_TOILETS"),
|
|
33427
|
-
text: ((
|
|
33434
|
+
text: ((_state14 = state) === null || _state14 === void 0 ? void 0 : _state14.proposedToilets) || t("CS_NA"),
|
|
33428
33435
|
textStyle: {
|
|
33429
33436
|
whiteSpace: "pre"
|
|
33430
33437
|
}
|
|
33431
33438
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33432
33439
|
className: "border-none",
|
|
33433
33440
|
label: t("WS_SERV_DETAIL_CONN_EXECUTION_DATE"),
|
|
33434
|
-
text: (
|
|
33441
|
+
text: (_state15 = state) !== null && _state15 !== void 0 && _state15.connectionExecutionDate ? Digit.DateUtils.ConvertEpochToDate((_state16 = state) === null || _state16 === void 0 ? void 0 : _state16.connectionExecutionDate) : t("CS_NA"),
|
|
33435
33442
|
textStyle: {
|
|
33436
33443
|
whiteSpace: "pre"
|
|
33437
33444
|
}
|
|
33438
|
-
})), ((
|
|
33445
|
+
})), ((_state17 = state) === null || _state17 === void 0 ? void 0 : (_state17$applicationT = _state17.applicationType) === null || _state17$applicationT === void 0 ? void 0 : _state17$applicationT.includes("WATER")) && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33439
33446
|
className: "border-none",
|
|
33440
33447
|
label: t("WS_SERV_DETAIL_WATER_SOURCE"),
|
|
33441
|
-
text: t("WS_SERVICES_MASTERS_WATERSOURCE_" + stringReplaceAll((
|
|
33448
|
+
text: t("WS_SERVICES_MASTERS_WATERSOURCE_" + stringReplaceAll((_state18 = state) === null || _state18 === void 0 ? void 0 : (_state18$waterSource = _state18.waterSource) === null || _state18$waterSource === void 0 ? void 0 : (_state18$waterSource$ = _state18$waterSource.split(".")) === null || _state18$waterSource$ === void 0 ? void 0 : _state18$waterSource$[0], ".", "_")) || t("WS_SERVICES_MASTERS_WATERSOURCE_" + stringReplaceAll((_state19 = state) === null || _state19 === void 0 ? void 0 : _state19.waterSource, ".", "_")) || t("CS_NA"),
|
|
33442
33449
|
textStyle: {
|
|
33443
33450
|
whiteSpace: "pre"
|
|
33444
33451
|
}
|
|
33445
33452
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33446
33453
|
className: "border-none",
|
|
33447
33454
|
label: t("WS_SERV_DETAIL_WATER_SUB_SOURCE"),
|
|
33448
|
-
text: t((
|
|
33455
|
+
text: t((_state20 = state) === null || _state20 === void 0 ? void 0 : (_state20$waterSource = _state20.waterSource) === null || _state20$waterSource === void 0 ? void 0 : (_state20$waterSource$ = _state20$waterSource.split(".")) === null || _state20$waterSource$ === void 0 ? void 0 : _state20$waterSource$[1]) || t("CS_NA"),
|
|
33449
33456
|
textStyle: {
|
|
33450
33457
|
whiteSpace: "pre"
|
|
33451
33458
|
}
|
|
33452
33459
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33453
33460
|
className: "border-none",
|
|
33454
33461
|
label: t("WS_SERV_DETAIL_CONN_EXECUTION_DATE"),
|
|
33455
|
-
text: Digit.DateUtils.ConvertEpochToDate((
|
|
33462
|
+
text: Digit.DateUtils.ConvertEpochToDate((_state21 = state) === null || _state21 === void 0 ? void 0 : _state21.connectionExecutionDate) || t("NA"),
|
|
33456
33463
|
textStyle: {
|
|
33457
33464
|
whiteSpace: "pre"
|
|
33458
33465
|
}
|
|
33459
33466
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33460
33467
|
className: "border-none",
|
|
33461
33468
|
label: t("WS_SERV_DETAIL_METER_ID"),
|
|
33462
|
-
text: (
|
|
33469
|
+
text: (_state22 = state) === null || _state22 === void 0 ? void 0 : _state22.meterId,
|
|
33463
33470
|
textStyle: {
|
|
33464
33471
|
whiteSpace: "pre"
|
|
33465
33472
|
}
|
|
33466
33473
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33467
33474
|
className: "border-none",
|
|
33468
33475
|
label: t("WS_ADDN_DETAIL_METER_INSTALL_DATE"),
|
|
33469
|
-
text: Digit.DateUtils.ConvertEpochToDate((
|
|
33476
|
+
text: Digit.DateUtils.ConvertEpochToDate((_state23 = state) === null || _state23 === void 0 ? void 0 : _state23.meterInstallationDate) || "NA",
|
|
33470
33477
|
textStyle: {
|
|
33471
33478
|
whiteSpace: "pre"
|
|
33472
33479
|
}
|
|
33473
33480
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33474
33481
|
className: "border-none",
|
|
33475
33482
|
label: t("WS_ADDN_DETAILS_INITIAL_METER_READING"),
|
|
33476
|
-
text: ((
|
|
33483
|
+
text: ((_state24 = state) === null || _state24 === void 0 ? void 0 : (_state24$additionalDe = _state24.additionalDetails) === null || _state24$additionalDe === void 0 ? void 0 : _state24$additionalDe.initialMeterReading) || "NA",
|
|
33477
33484
|
textStyle: {
|
|
33478
33485
|
whiteSpace: "pre"
|
|
33479
33486
|
}
|
|
33480
|
-
})), ((
|
|
33487
|
+
})), ((_state25 = state) === null || _state25 === void 0 ? void 0 : (_state25$applicationT = _state25.applicationType) === null || _state25$applicationT === void 0 ? void 0 : _state25$applicationT.includes("WATER")) && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33481
33488
|
className: "border-none",
|
|
33482
33489
|
label: t("WS_WATER_DEMAND_TYPE"),
|
|
33483
|
-
text: (
|
|
33490
|
+
text: (_state26 = state) !== null && _state26 !== void 0 && (_state26$additionalDe = _state26.additionalDetails) !== null && _state26$additionalDe !== void 0 && (_state26$additionalDe2 = _state26$additionalDe.waterDemandType) !== null && _state26$additionalDe2 !== void 0 && _state26$additionalDe2.i18nKey ? t((_state27 = state) === null || _state27 === void 0 ? void 0 : (_state27$additionalDe = _state27.additionalDetails) === null || _state27$additionalDe === void 0 ? void 0 : (_state27$additionalDe2 = _state27$additionalDe.waterDemandType) === null || _state27$additionalDe2 === void 0 ? void 0 : _state27$additionalDe2.i18nKey) : "NA",
|
|
33484
33491
|
textStyle: {
|
|
33485
33492
|
whiteSpace: "pre"
|
|
33486
33493
|
}
|
|
33487
33494
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33488
33495
|
className: "border-none",
|
|
33489
33496
|
label: t("WS_CATEGORY_TYPE"),
|
|
33490
|
-
text: ((
|
|
33497
|
+
text: ((_state28 = state) === null || _state28 === void 0 ? void 0 : (_state28$additionalDe = _state28.additionalDetails) === null || _state28$additionalDe === void 0 ? void 0 : _state28$additionalDe.categoryType) || "NA",
|
|
33491
33498
|
textStyle: {
|
|
33492
33499
|
whiteSpace: "pre"
|
|
33493
33500
|
}
|
|
33494
33501
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33495
33502
|
className: "border-none",
|
|
33496
33503
|
label: t("WS_ZRO_NAME"),
|
|
33497
|
-
text: ((
|
|
33504
|
+
text: ((_state29 = state) === null || _state29 === void 0 ? void 0 : (_state29$additionalDe = _state29.additionalDetails) === null || _state29$additionalDe === void 0 ? void 0 : _state29$additionalDe.zro) || "NA",
|
|
33498
33505
|
textStyle: {
|
|
33499
33506
|
whiteSpace: "pre"
|
|
33500
33507
|
}
|
|
33501
33508
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33502
33509
|
className: "border-none",
|
|
33503
33510
|
label: t("WS_CONNECTION_USAGE_TYPE"),
|
|
33504
|
-
text: ((
|
|
33511
|
+
text: ((_state30 = state) === null || _state30 === void 0 ? void 0 : (_state30$additionalDe = _state30.additionalDetails) === null || _state30$additionalDe === void 0 ? void 0 : (_state30$additionalDe2 = _state30$additionalDe.WaterConnectionUsageType) === null || _state30$additionalDe2 === void 0 ? void 0 : _state30$additionalDe2.name) || "NA",
|
|
33505
33512
|
textStyle: {
|
|
33506
33513
|
whiteSpace: "pre"
|
|
33507
33514
|
}
|
|
33508
33515
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33509
33516
|
className: "border-none",
|
|
33510
33517
|
label: t("WS_TEMPORARY_CONNECTION"),
|
|
33511
|
-
text: ((
|
|
33518
|
+
text: ((_state31 = state) === null || _state31 === void 0 ? void 0 : (_state31$additionalDe = _state31.additionalDetails) === null || _state31$additionalDe === void 0 ? void 0 : _state31$additionalDe.temporaryConnection) || "NA",
|
|
33512
33519
|
textStyle: {
|
|
33513
33520
|
whiteSpace: "pre"
|
|
33514
33521
|
}
|
|
33515
|
-
})), ((
|
|
33516
|
-
to: "/digit-ui/citizen/ws/consumption/details?applicationNo=" + ((
|
|
33522
|
+
})), ((_state32 = state) === null || _state32 === void 0 ? void 0 : _state32.connectionType) === "Metered" && /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
33523
|
+
to: "/digit-ui/citizen/ws/consumption/details?applicationNo=" + ((_state33 = state) === null || _state33 === void 0 ? void 0 : _state33.connectionNo)
|
|
33517
33524
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
33518
33525
|
style: {
|
|
33519
33526
|
textAlign: "left",
|
|
@@ -33528,11 +33535,11 @@ const ConnectionDetails$5 = () => {
|
|
|
33528
33535
|
}, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33529
33536
|
className: "border-none",
|
|
33530
33537
|
label: t("WS_PROPERTY_ID_LABEL"),
|
|
33531
|
-
text: (
|
|
33538
|
+
text: (_state34 = state) === null || _state34 === void 0 ? void 0 : _state34.propertyId
|
|
33532
33539
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33533
33540
|
className: "border-none",
|
|
33534
33541
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
33535
|
-
text: (
|
|
33542
|
+
text: (_state35 = state) === null || _state35 === void 0 ? void 0 : (_state35$property = _state35.property) === null || _state35$property === void 0 ? void 0 : (_state35$property$own = _state35$property.owners) === null || _state35$property$own === void 0 ? void 0 : _state35$property$own.map(owner => owner.name).join(","),
|
|
33536
33543
|
textStyle: {
|
|
33537
33544
|
whiteSpace: "pre"
|
|
33538
33545
|
}
|
|
@@ -33567,33 +33574,33 @@ const ConnectionDetails$5 = () => {
|
|
|
33567
33574
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33568
33575
|
className: "border-none",
|
|
33569
33576
|
label: t("WS_PROPERTY_TYPE"),
|
|
33570
|
-
text: ((
|
|
33577
|
+
text: ((_state36 = state) === null || _state36 === void 0 ? void 0 : (_state36$additionalDe = _state36.additionalDetails) === null || _state36$additionalDe === void 0 ? void 0 : (_state36$additionalDe2 = _state36$additionalDe.propertyType) === null || _state36$additionalDe2 === void 0 ? void 0 : _state36$additionalDe2.name) || "NA"
|
|
33571
33578
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33572
33579
|
className: "border-none",
|
|
33573
33580
|
label: t("WS_PROPERTY_CATEGORY"),
|
|
33574
|
-
text: ((
|
|
33581
|
+
text: ((_state37 = state) === null || _state37 === void 0 ? void 0 : (_state37$additionalDe = _state37.additionalDetails) === null || _state37$additionalDe === void 0 ? void 0 : (_state37$additionalDe2 = _state37$additionalDe.propertyCategory) === null || _state37$additionalDe2 === void 0 ? void 0 : _state37$additionalDe2.name) || "NA"
|
|
33575
33582
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33576
33583
|
className: "border-none",
|
|
33577
33584
|
label: t("WS_PLOT_AREA"),
|
|
33578
|
-
text: ((
|
|
33585
|
+
text: ((_state38 = state) === null || _state38 === void 0 ? void 0 : (_state38$additionalDe = _state38.additionalDetails) === null || _state38$additionalDe === void 0 ? void 0 : _state38$additionalDe.plotArea) || "NA"
|
|
33579
33586
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33580
33587
|
className: "border-none",
|
|
33581
33588
|
label: t("WS_BUILT_UP_AREA"),
|
|
33582
|
-
text: ((
|
|
33589
|
+
text: ((_state39 = state) === null || _state39 === void 0 ? void 0 : (_state39$additionalDe = _state39.additionalDetails) === null || _state39$additionalDe === void 0 ? void 0 : _state39$additionalDe.builtUpArea) || "NA"
|
|
33583
33590
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33584
33591
|
className: "border-none",
|
|
33585
33592
|
label: t("WS_NO_OF_FLOORS"),
|
|
33586
|
-
text: ((
|
|
33593
|
+
text: ((_state40 = state) === null || _state40 === void 0 ? void 0 : (_state40$additionalDe = _state40.additionalDetails) === null || _state40$additionalDe === void 0 ? void 0 : _state40$additionalDe.noOfFloors) || "NA"
|
|
33587
33594
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33588
33595
|
className: "border-none",
|
|
33589
33596
|
label: t("WS_NO_OF_DWELLING_UNITS"),
|
|
33590
|
-
text: ((
|
|
33597
|
+
text: ((_state41 = state) === null || _state41 === void 0 ? void 0 : (_state41$additionalDe = _state41.additionalDetails) === null || _state41$additionalDe === void 0 ? void 0 : _state41$additionalDe.NumberofDwellingUnits) || "NA"
|
|
33591
33598
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33592
33599
|
className: "border-none",
|
|
33593
33600
|
label: t("WS_LOCALITY"),
|
|
33594
|
-
text: ((
|
|
33601
|
+
text: ((_state42 = state) === null || _state42 === void 0 ? void 0 : (_state42$additionalDe = _state42.additionalDetails) === null || _state42$additionalDe === void 0 ? void 0 : _state42$additionalDe.locality) || "NA"
|
|
33595
33602
|
}), /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
33596
|
-
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((
|
|
33603
|
+
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((_state43 = state) === null || _state43 === void 0 ? void 0 : _state43.propertyId) + "&tenantId=" + ((_state44 = state) === null || _state44 === void 0 ? void 0 : _state44.tenantId)
|
|
33597
33604
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
33598
33605
|
style: {
|
|
33599
33606
|
textAlign: "left",
|
|
@@ -33605,10 +33612,10 @@ const ConnectionDetails$5 = () => {
|
|
|
33605
33612
|
styles: {
|
|
33606
33613
|
fontSize: "28px"
|
|
33607
33614
|
}
|
|
33608
|
-
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (
|
|
33615
|
+
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (_state45 = state) !== null && _state45 !== void 0 && _state45.connectionHolders ? /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33609
33616
|
className: "border-none",
|
|
33610
33617
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
33611
|
-
text: (
|
|
33618
|
+
text: (_state46 = state) === null || _state46 === void 0 ? void 0 : (_state46$connectionHo = _state46.connectionHolders) === null || _state46$connectionHo === void 0 ? void 0 : (_state46$connectionHo2 = _state46$connectionHo[0]) === null || _state46$connectionHo2 === void 0 ? void 0 : _state46$connectionHo2.name,
|
|
33612
33619
|
textStyle: {
|
|
33613
33620
|
whiteSpace: "pre"
|
|
33614
33621
|
}
|
|
@@ -33734,32 +33741,32 @@ const ConnectionDetails$5 = () => {
|
|
|
33734
33741
|
}, t("WS_COMMON_BANK_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33735
33742
|
className: "border-none",
|
|
33736
33743
|
label: t("WS_BANK_NAME"),
|
|
33737
|
-
text: ((
|
|
33744
|
+
text: ((_state47 = state) === null || _state47 === void 0 ? void 0 : (_state47$additionalDe = _state47.additionalDetails) === null || _state47$additionalDe === void 0 ? void 0 : _state47$additionalDe.bankName) || "NA"
|
|
33738
33745
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33739
33746
|
className: "border-none",
|
|
33740
33747
|
label: t("WS_BANK_BRANCH_NAME"),
|
|
33741
|
-
text: ((
|
|
33748
|
+
text: ((_state48 = state) === null || _state48 === void 0 ? void 0 : (_state48$additionalDe = _state48.additionalDetails) === null || _state48$additionalDe === void 0 ? void 0 : _state48$additionalDe.bankBranchName) || "NA"
|
|
33742
33749
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33743
33750
|
className: "border-none",
|
|
33744
33751
|
label: t("WS_BANK_ACCOUNT_NUMBER"),
|
|
33745
|
-
text: ((
|
|
33752
|
+
text: ((_state49 = state) === null || _state49 === void 0 ? void 0 : (_state49$additionalDe = _state49.additionalDetails) === null || _state49$additionalDe === void 0 ? void 0 : _state49$additionalDe.accountNumber) || ((_state50 = state) === null || _state50 === void 0 ? void 0 : (_state50$additionalDe = _state50.additionalDetails) === null || _state50$additionalDe === void 0 ? void 0 : _state50$additionalDe.bankAccountNumber) || "NA"
|
|
33746
33753
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
33747
33754
|
className: "border-none",
|
|
33748
33755
|
label: t("WS_BANK_IFSC_CODE"),
|
|
33749
|
-
text: ((
|
|
33756
|
+
text: ((_state51 = state) === null || _state51 === void 0 ? void 0 : (_state51$additionalDe = _state51.additionalDetails) === null || _state51$additionalDe === void 0 ? void 0 : _state51$additionalDe.ifscCode) || "NA"
|
|
33750
33757
|
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
33751
33758
|
styles: {
|
|
33752
33759
|
fontSize: "28px"
|
|
33753
33760
|
}
|
|
33754
|
-
}, t("WS_COMMON_BANK_DETAILS")), ((
|
|
33755
|
-
var _doc$documentType,
|
|
33761
|
+
}, t("WS_COMMON_BANK_DETAILS")), ((_state52 = state) === null || _state52 === void 0 ? void 0 : _state52.documents) && ((_state53 = state) === null || _state53 === void 0 ? void 0 : _state53.documents.map((doc, index) => {
|
|
33762
|
+
var _doc$documentType, _state54, _state55;
|
|
33756
33763
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
33757
33764
|
key: "doc-" + index
|
|
33758
33765
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType = doc.documentType) === null || _doc$documentType === void 0 ? void 0 : _doc$documentType.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
33759
|
-
value: (
|
|
33766
|
+
value: (_state54 = state) === null || _state54 === void 0 ? void 0 : _state54.documents,
|
|
33760
33767
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
33761
33768
|
index: index
|
|
33762
|
-
}), ((
|
|
33769
|
+
}), ((_state55 = state) === null || _state55 === void 0 ? void 0 : _state55.documents.length) != index + 1 ? /*#__PURE__*/React__default.createElement("hr", {
|
|
33763
33770
|
style: {
|
|
33764
33771
|
color: "#cccccc",
|
|
33765
33772
|
backgroundColor: "#cccccc",
|
|
@@ -33768,26 +33775,38 @@ const ConnectionDetails$5 = () => {
|
|
|
33768
33775
|
marginBottom: "20px"
|
|
33769
33776
|
}
|
|
33770
33777
|
}) : null)));
|
|
33771
|
-
})), (((
|
|
33778
|
+
})), (((_state56 = state) === null || _state56 === void 0 ? void 0 : _state56.status) !== "inactive" || ((_state57 = state) === null || _state57 === void 0 ? void 0 : _state57.applicationStatus) !== "Inactive" || ((_state58 = state) === null || _state58 === void 0 ? void 0 : _state58.applicationStatus) !== "INACTIVE") && !isDisconnectionDone ? /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
33772
33779
|
style: {
|
|
33773
33780
|
position: "relative",
|
|
33774
33781
|
boxShadow: "none",
|
|
33775
33782
|
minWidth: "240px",
|
|
33776
|
-
maxWidth: "
|
|
33783
|
+
maxWidth: "620px",
|
|
33777
33784
|
padding: "0px",
|
|
33778
|
-
marginTop: "15px"
|
|
33785
|
+
marginTop: "15px",
|
|
33786
|
+
display: "flex",
|
|
33787
|
+
gap: "10px"
|
|
33779
33788
|
}
|
|
33780
33789
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
33781
33790
|
style: {
|
|
33782
33791
|
width: "100%"
|
|
33783
33792
|
}
|
|
33793
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
33794
|
+
style: {
|
|
33795
|
+
width: "100%"
|
|
33796
|
+
},
|
|
33797
|
+
label: t("WS_MUTATION_BUTTON"),
|
|
33798
|
+
onSubmit: onActionSelectMutation
|
|
33799
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
33800
|
+
style: {
|
|
33801
|
+
width: "100%"
|
|
33802
|
+
}
|
|
33784
33803
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
33785
33804
|
style: {
|
|
33786
33805
|
width: "100%"
|
|
33787
33806
|
},
|
|
33788
33807
|
label: t("WS_DISCONNECTION_BUTTON"),
|
|
33789
33808
|
onSubmit: onActionSelect
|
|
33790
|
-
}))) : ((
|
|
33809
|
+
}))) : ((_state59 = state) === null || _state59 === void 0 ? void 0 : _state59.applicationStatus) == "DISCONNECTION_EXECUTED" && ((_state60 = state) === null || _state60 === void 0 ? void 0 : _state60.status) == "Inactive" && ((_state61 = state) === null || _state61 === void 0 ? void 0 : _state61.isDisconnectionTemporary) && /*#__PURE__*/React__default.createElement(digitUiReactComponents.ActionBar, {
|
|
33791
33810
|
style: {
|
|
33792
33811
|
position: "relative",
|
|
33793
33812
|
boxShadow: "none",
|
|
@@ -33819,8 +33838,8 @@ const ConnectionDetails$5 = () => {
|
|
|
33819
33838
|
actionSingleLabel: t("COMMON_MAKE_PAYMENT"),
|
|
33820
33839
|
hideSubmit: true,
|
|
33821
33840
|
actionSingleSubmit: () => {
|
|
33822
|
-
var
|
|
33823
|
-
history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((
|
|
33841
|
+
var _state62, _state63;
|
|
33842
|
+
history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((_state62 = state) === null || _state62 === void 0 ? void 0 : _state62.connectionNo) + "/" + tenantId + "?consumerCode=" + ((_state63 = state) === null || _state63 === void 0 ? void 0 : _state63.connectionNo) + "&&tenantId=" + tenantId + "&&workflow=WNS");
|
|
33824
33843
|
setshowModal(false);
|
|
33825
33844
|
},
|
|
33826
33845
|
popupStyles: mobileView ? {
|
|
@@ -51891,7 +51910,7 @@ const Step5_Submission = _ref => {
|
|
|
51891
51910
|
};
|
|
51892
51911
|
|
|
51893
51912
|
const MutationApplication = () => {
|
|
51894
|
-
var _state, _details$applicationD, _applicationDetails$a, _applicationDetails$a3, _applicationDetails$a4;
|
|
51913
|
+
var _Digit$SessionStorage, _user$info, _state, _user$info2, _user$info2$userName, _user$info3, _user$info4, _details$applicationD, _applicationDetails$a, _applicationDetails$a3, _applicationDetails$a4;
|
|
51895
51914
|
const _useTranslation = reactI18next.useTranslation(),
|
|
51896
51915
|
t = _useTranslation.t;
|
|
51897
51916
|
let _useLocation = reactRouterDom.useLocation(),
|
|
@@ -51916,13 +51935,46 @@ const MutationApplication = () => {
|
|
|
51916
51935
|
setIsSubmitting = _useState5[1];
|
|
51917
51936
|
const _useState6 = React.useState(new Set()),
|
|
51918
51937
|
setCompletedSteps = _useState6[1];
|
|
51919
|
-
|
|
51938
|
+
const user = Digit.UserService.getUser();
|
|
51939
|
+
let tenantId = (filters === null || filters === void 0 ? void 0 : filters.tenantId) || ((_Digit$SessionStorage = Digit.SessionStorage.get("CITIZEN.COMMON.HOME.CITY")) === null || _Digit$SessionStorage === void 0 ? void 0 : _Digit$SessionStorage.code) || (user === null || user === void 0 ? void 0 : (_user$info = user.info) === null || _user$info === void 0 ? void 0 : _user$info.permanentCity) || Digit.ULBService.getCurrentTenantId();
|
|
51920
51940
|
const applicationNumber = filters === null || filters === void 0 ? void 0 : filters.applicationNumber;
|
|
51921
51941
|
const serviceType = filters === null || filters === void 0 ? void 0 : filters.service;
|
|
51922
|
-
|
|
51923
|
-
|
|
51924
|
-
|
|
51925
|
-
|
|
51942
|
+
const details = cloneDeep_1((_state = state) === null || _state === void 0 ? void 0 : _state.data);
|
|
51943
|
+
const mobileNumber = user !== null && user !== void 0 && (_user$info2 = user.info) !== null && _user$info2 !== void 0 && (_user$info2$userName = _user$info2.userName) !== null && _user$info2$userName !== void 0 && _user$info2$userName.match(/^[0-9]{10}$/) ? user === null || user === void 0 ? void 0 : (_user$info3 = user.info) === null || _user$info3 === void 0 ? void 0 : _user$info3.userName : user === null || user === void 0 ? void 0 : (_user$info4 = user.info) === null || _user$info4 === void 0 ? void 0 : _user$info4.mobileNumber;
|
|
51944
|
+
const hasStateData = !!(details !== null && details !== void 0 && (_details$applicationD = details.applicationData) !== null && _details$applicationD !== void 0 && _details$applicationD.id);
|
|
51945
|
+
const wsSearchNumber = (details === null || details === void 0 ? void 0 : details.applicationNo) || applicationNumber;
|
|
51946
|
+
const businessService = (serviceType === null || serviceType === void 0 ? void 0 : serviceType.toUpperCase()) === "SEWERAGE" ? "SW" : "WS";
|
|
51947
|
+
const _useQuery = reactQuery.useQuery(["WS_MUTATION_DIRECT_SEARCH", wsSearchNumber, tenantId, mobileNumber, businessService], function () {
|
|
51948
|
+
try {
|
|
51949
|
+
if (!wsSearchNumber) return Promise.resolve(null);
|
|
51950
|
+
const params = {
|
|
51951
|
+
connectionNumber: wsSearchNumber
|
|
51952
|
+
};
|
|
51953
|
+
Object.keys(params).forEach(k => params[k] == null && delete params[k]);
|
|
51954
|
+
return Promise.resolve(Digit.WSService.search({
|
|
51955
|
+
tenantId,
|
|
51956
|
+
filters: params,
|
|
51957
|
+
businessService
|
|
51958
|
+
})).then(function (rawData) {
|
|
51959
|
+
var _rawData$WaterConnect, _rawData$SewerageConn;
|
|
51960
|
+
const wsData = businessService === "WS" ? rawData === null || rawData === void 0 ? void 0 : (_rawData$WaterConnect = rawData.WaterConnection) === null || _rawData$WaterConnect === void 0 ? void 0 : _rawData$WaterConnect[0] : rawData === null || rawData === void 0 ? void 0 : (_rawData$SewerageConn = rawData.SewerageConnections) === null || _rawData$SewerageConn === void 0 ? void 0 : _rawData$SewerageConn[0];
|
|
51961
|
+
return wsData ? {
|
|
51962
|
+
applicationData: wsData,
|
|
51963
|
+
WaterConnection: rawData === null || rawData === void 0 ? void 0 : rawData.WaterConnection,
|
|
51964
|
+
SewerageConnections: rawData === null || rawData === void 0 ? void 0 : rawData.SewerageConnections,
|
|
51965
|
+
propertyDetails: null,
|
|
51966
|
+
processInstancesDetails: []
|
|
51967
|
+
} : null;
|
|
51968
|
+
});
|
|
51969
|
+
} catch (e) {
|
|
51970
|
+
return Promise.reject(e);
|
|
51971
|
+
}
|
|
51972
|
+
}, {
|
|
51973
|
+
enabled: !!wsSearchNumber && !hasStateData
|
|
51974
|
+
}),
|
|
51975
|
+
isDetailsLoading = _useQuery.isLoading,
|
|
51976
|
+
fetchedApplicationDetails = _useQuery.data;
|
|
51977
|
+
const applicationDetails = hasStateData ? details : fetchedApplicationDetails;
|
|
51926
51978
|
const _useState7 = React.useState(new URLSearchParams(reactRouterDom.useLocation().search).get("propertyId") || (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.propertyId)),
|
|
51927
51979
|
propertyId = _useState7[0];
|
|
51928
51980
|
const _Digit$Hooks$pt$usePr = Digit.Hooks.pt.usePropertySearch({
|
|
@@ -51983,10 +52035,10 @@ const MutationApplication = () => {
|
|
|
51983
52035
|
waterMutation = _Digit$Hooks$ws$useWa.mutate;
|
|
51984
52036
|
const _Digit$Hooks$ws$useWa2 = Digit.Hooks.ws.useWaterCreateAPI("SEWERAGE"),
|
|
51985
52037
|
sewerageMutation = _Digit$Hooks$ws$useWa2.mutate;
|
|
51986
|
-
const _Digit$Hooks$ws$
|
|
51987
|
-
waterUpdateMutation = _Digit$Hooks$ws$
|
|
51988
|
-
const _Digit$Hooks$ws$
|
|
51989
|
-
sewerageUpdateMutation = _Digit$Hooks$ws$
|
|
52038
|
+
const _Digit$Hooks$ws$useWS = Digit.Hooks.ws.useWSApplicationActions("WATER"),
|
|
52039
|
+
waterUpdateMutation = _Digit$Hooks$ws$useWS.mutate;
|
|
52040
|
+
const _Digit$Hooks$ws$useWS2 = Digit.Hooks.ws.useWSApplicationActions("SEWERAGE"),
|
|
52041
|
+
sewerageUpdateMutation = _Digit$Hooks$ws$useWS2.mutate;
|
|
51990
52042
|
const handleNextStep2 = data => {
|
|
51991
52043
|
setFormData(prev => _extends({}, prev, data));
|
|
51992
52044
|
setCompletedSteps(prev => new Set([...prev, 2]));
|