@mseva/upyog-ui-module-chb 1.1.3 → 1.1.4
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 +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -47726,9 +47726,11 @@ const CHBCitizenDetailsNew = ({
|
|
|
47726
47726
|
var _currentStepData$venu3;
|
|
47727
47727
|
const formattedData = currentStepData === null || currentStepData === void 0 ? void 0 : (_currentStepData$venu3 = currentStepData.venueDetails) === null || _currentStepData$venu3 === void 0 ? void 0 : _currentStepData$venu3[0];
|
|
47728
47728
|
if (formattedData) {
|
|
47729
|
-
var _formattedData$addres, _formattedData$applic;
|
|
47729
|
+
var _formattedData$addres, _formattedData$applic, _formattedData$applic2, _formattedData$applic3;
|
|
47730
47730
|
setValue("address", formattedData === null || formattedData === void 0 ? void 0 : (_formattedData$addres = formattedData.address) === null || _formattedData$addres === void 0 ? void 0 : _formattedData$addres.addressLine1);
|
|
47731
47731
|
setValue("emailId", formattedData === null || formattedData === void 0 ? void 0 : (_formattedData$applic = formattedData.applicantDetail) === null || _formattedData$applic === void 0 ? void 0 : _formattedData$applic.applicantEmailId);
|
|
47732
|
+
setValue("mobileNumber", formattedData === null || formattedData === void 0 ? void 0 : (_formattedData$applic2 = formattedData.applicantDetail) === null || _formattedData$applic2 === void 0 ? void 0 : _formattedData$applic2.applicantMobileNo);
|
|
47733
|
+
setValue("name", formattedData === null || formattedData === void 0 ? void 0 : (_formattedData$applic3 = formattedData.applicantDetail) === null || _formattedData$applic3 === void 0 ? void 0 : _formattedData$applic3.applicantName);
|
|
47732
47734
|
}
|
|
47733
47735
|
}, [currentStepData, setValue]);
|
|
47734
47736
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("form", {
|
|
@@ -48677,6 +48679,9 @@ const CHBResponseCitizen = props => {
|
|
|
48677
48679
|
const onGoToCHB = () => {
|
|
48678
48680
|
if (isCitizen) history.push(`/digit-ui/citizen/chb-home`);else history.push(`/digit-ui/employee/chb/inbox`);
|
|
48679
48681
|
};
|
|
48682
|
+
const handleMakePayment = async () => {
|
|
48683
|
+
if (isCitizen) history.push(`/digit-ui/citizen/payment/collect/chb-services/${ndcCode}/${tenantId}?tenantId=${tenantId}`);else history.push(`/digit-ui/employee/payment/collect/chb-services/${ndcCode}/${tenantId}?tenantId=${tenantId}`);
|
|
48684
|
+
};
|
|
48680
48685
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(Banner, {
|
|
48681
48686
|
message: t("CHB_APPLICATION_CREATED"),
|
|
48682
48687
|
applicationNumber: ndcCode,
|
|
@@ -48702,6 +48707,9 @@ const CHBResponseCitizen = props => {
|
|
|
48702
48707
|
}), /*#__PURE__*/React.createElement(SubmitBar, {
|
|
48703
48708
|
label: t("CORE_COMMON_GO_TO_CHB"),
|
|
48704
48709
|
onSubmit: onGoToCHB
|
|
48710
|
+
}), /*#__PURE__*/React.createElement(SubmitBar, {
|
|
48711
|
+
label: t("CS_APPLICATION_DETAILS_MAKE_PAYMENT"),
|
|
48712
|
+
onSubmit: handleMakePayment
|
|
48705
48713
|
}))));
|
|
48706
48714
|
};
|
|
48707
48715
|
|