@mseva/upyog-ui-module-chb 1.0.79 → 1.0.80

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 CHANGED
@@ -43854,8 +43854,9 @@ const ModalConfig = _ref => {
43854
43854
  assigneeLabel,
43855
43855
  businessService
43856
43856
  } = _ref;
43857
+ console.log("action=====", action);
43857
43858
  let checkCondtions = true;
43858
- if ((action === null || action === void 0 ? void 0 : action.action) == "SENDBACKTOCITIZEN" || (action === null || action === void 0 ? void 0 : action.action) == "APPROVE" || (action === null || action === void 0 ? void 0 : action.action) == "REJECT" || (action === null || action === void 0 ? void 0 : action.action) == "SENDBACK") checkCondtions = false;
43859
+ if ((action === null || action === void 0 ? void 0 : action.action) == "SENDBACKTOCITIZEN" || (action === null || action === void 0 ? void 0 : action.action) == "APPROVE" || (action === null || action === void 0 ? void 0 : action.action) == "NOT_VERIFIED" || (action === null || action === void 0 ? void 0 : action.action) == "SENDBACK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFIED") checkCondtions = false;
43859
43860
  if (action.isTerminateState) checkCondtions = false;
43860
43861
  console.log("action=====", action.action);
43861
43862
  return {
@@ -44538,7 +44539,7 @@ const CHBApplicationDetails$1 = () => {
44538
44539
  comment: filtData === null || filtData === void 0 ? void 0 : filtData.comment,
44539
44540
  documents: filtData === null || filtData === void 0 ? void 0 : filtData.wfDocuments
44540
44541
  };
44541
- if (!(filtData !== null && filtData !== void 0 && filtData.assignee) && filtData.action !== "SENDBACKTOCITIZEN" && filtData.action !== "APPROVE" && filtData.action !== "REJECT" && filtData.action !== "SENDBACK") {
44542
+ if (!(filtData !== null && filtData !== void 0 && filtData.assignee) && filtData.action !== "SENDBACKTOCITIZEN" && filtData.action !== "APPROVE" && filtData.action !== "REJECT" && filtData.action !== "SENDBACK" && filtData.action !== "NOT_VERIFIED" && filtData.action !== "VERIFIED") {
44542
44543
  setErrorOne("Assignee is Mandatory");
44543
44544
  setShowErrorToastt(true);
44544
44545
  return Promise.resolve();
@@ -46186,13 +46187,20 @@ const CHBCitizenDetailsNew = _ref => {
46186
46187
  applicantEmailId: data === null || data === void 0 ? void 0 : data.emailId,
46187
46188
  type: user === null || user === void 0 ? void 0 : (_user$info4 = user.info) === null || _user$info4 === void 0 ? void 0 : _user$info4.type
46188
46189
  };
46190
+ const owners = [{
46191
+ name: data === null || data === void 0 ? void 0 : data.name,
46192
+ mobileNumber: data === null || data === void 0 ? void 0 : data.mobileNumber,
46193
+ emailId: data === null || data === void 0 ? void 0 : data.emailId,
46194
+ type: "CITIZEN"
46195
+ }];
46189
46196
  const address = {
46190
46197
  addressLine1: data === null || data === void 0 ? void 0 : data.address
46191
46198
  };
46192
46199
  const payload = {
46193
46200
  hallsBookingApplication: _extends({}, baseApplication, {
46194
46201
  applicantDetail,
46195
- address
46202
+ address,
46203
+ owners
46196
46204
  })
46197
46205
  };
46198
46206
  console.log("final payload", payload);