@mseva/digit-ui-module-noc 1.0.79-dev.19 → 1.0.79-dev.20

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.
@@ -7713,6 +7713,7 @@ const Response = props => {
7713
7713
  };
7714
7714
  const onGoToNOC = () => {
7715
7715
  history.push(`/digit-ui/employee/noc/inbox`);
7716
+ window.location.reload();
7716
7717
  };
7717
7718
  const onViewApplication = () => {
7718
7719
  history.push(`/digit-ui/citizen/noc/search/application-overview/${nocCode}`);
@@ -8325,9 +8326,9 @@ const configBPAApproverApplication = ({
8325
8326
  },
8326
8327
  form: [{
8327
8328
  body: [{
8328
- label: action.isTerminateState || isRejectOrRevocate || (action === null || action === void 0 ? void 0 : action.action) == "BLOCK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFY" || (action === null || action === void 0 ? void 0 : action.action) == "SEND_FOR_INSPECTION_REPORT" || (action === null || action === void 0 ? void 0 : action.action) == "ESIGN" ? null : t(assigneeLabel || `WF_ROLE_${(_action$assigneeRoles = action.assigneeRoles) === null || _action$assigneeRoles === void 0 ? void 0 : _action$assigneeRoles[0]}`),
8329
+ label: action.isTerminateState || isRejectOrRevocate || (action === null || action === void 0 ? void 0 : action.action) == "BLOCK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFY" || (action === null || action === void 0 ? void 0 : action.action) == "SEND_FOR_INSPECTION_REPORT" || (action === null || action === void 0 ? void 0 : action.action) == "ESIGN" || (action === null || action === void 0 ? void 0 : action.action) == "UPDATE_FEE" ? null : t(assigneeLabel || `WF_ROLE_${(_action$assigneeRoles = action.assigneeRoles) === null || _action$assigneeRoles === void 0 ? void 0 : _action$assigneeRoles[0]}`),
8329
8330
  type: "dropdown",
8330
- populators: action.isTerminateState || isRejectOrRevocate || (action === null || action === void 0 ? void 0 : action.action) == "BLOCK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFY" || (action === null || action === void 0 ? void 0 : action.action) == "SEND_FOR_INSPECTION_REPORT" || (action === null || action === void 0 ? void 0 : action.action) == "ESIGN" ? null : /*#__PURE__*/React.createElement(DropdownWithDesignation, {
8331
+ populators: action.isTerminateState || isRejectOrRevocate || (action === null || action === void 0 ? void 0 : action.action) == "BLOCK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFY" || (action === null || action === void 0 ? void 0 : action.action) == "SEND_FOR_INSPECTION_REPORT" || (action === null || action === void 0 ? void 0 : action.action) == "ESIGN" || (action === null || action === void 0 ? void 0 : action.action) == "UPDATE_FEE" ? null : /*#__PURE__*/React.createElement(DropdownWithDesignation, {
8331
8332
  option: approvers,
8332
8333
  autoComplete: "off",
8333
8334
  optionKey: "name",
@@ -8348,6 +8349,13 @@ const configBPAApproverApplication = ({
8348
8349
  selected: selectedBlockReason,
8349
8350
  isMandatory: true
8350
8351
  }) : null
8352
+ }, {
8353
+ label: t("WF_COMMON_COMMENTS"),
8354
+ type: "textarea",
8355
+ isMandatory: true,
8356
+ populators: {
8357
+ name: "comments"
8358
+ }
8351
8359
  }, ...(isCondittionalComentsRequired ? [{
8352
8360
  label: t("WF_CONDITIONAL_COMMENTS_LABEL"),
8353
8361
  type: "textarea",
@@ -8355,13 +8363,6 @@ const configBPAApproverApplication = ({
8355
8363
  name: "conditionalComments"
8356
8364
  }
8357
8365
  }] : []), {
8358
- label: t("WF_COMMON_COMMENTS"),
8359
- type: "textarea",
8360
- isMandatory: true,
8361
- populators: {
8362
- name: "comments"
8363
- }
8364
- }, {
8365
8366
  label: `${t("WF_APPROVAL_UPLOAD_HEAD")}`,
8366
8367
  populators: /*#__PURE__*/React.createElement(UploadFile, {
8367
8368
  id: "workflow-doc",