@mseva/digit-ui-module-mcollect 1.0.8 → 1.0.10

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.
@@ -9928,7 +9928,8 @@ const SearchChallan = ({
9928
9928
  } = useTranslation();
9929
9929
  let validation = {};
9930
9930
  const history = useHistory();
9931
- const tenantId = Digit.ULBService.getCurrentTenantId();
9931
+ const tenantId = window.localStorage.getItem("CITIZEN.CITY");
9932
+ console.log("DEBUG: Citizen SearchChallan rendered, tenantId:", tenantId);
9932
9933
  const [mobileNumber, setMobileNumber] = useState((formData === null || formData === void 0 ? void 0 : formData.mobileNumber) || "");
9933
9934
  const [challanNo, setchallanNumber] = useState((formData === null || formData === void 0 ? void 0 : formData.challanNo) || "");
9934
9935
  const [Servicecateogry, setServicecateogry] = useState((formData === null || formData === void 0 ? void 0 : formData.Servicecateogry) || "");
@@ -11808,9 +11809,6 @@ const MCollectAcknowledgement = () => {
11808
11809
  marginRight: "1rem"
11809
11810
  }
11810
11811
  }, /*#__PURE__*/React.createElement(LinkButton, {
11811
- style: {
11812
- color: "#FF8C00"
11813
- },
11814
11812
  label: t("CORE_COMMON_GO_TO_HOME")
11815
11813
  })), /*#__PURE__*/React.createElement(Link, {
11816
11814
  to: {
@@ -12158,7 +12156,7 @@ const SearchReceipt = () => {
12158
12156
  };
12159
12157
 
12160
12158
  const SearchChallan$2 = props => {
12161
- console.log("props", props);
12159
+ console.log("DEBUG: Employee SearchChallan rendered, props:", props);
12162
12160
  const {
12163
12161
  t
12164
12162
  } = useTranslation();
@@ -13053,14 +13051,14 @@ const MCollectModule = ({
13053
13051
  moduleCode,
13054
13052
  language
13055
13053
  });
13056
- Digit.SessionStorage.set("MCollect_TENANTS", tenants);
13057
- if (isLoading) {
13058
- return /*#__PURE__*/React.createElement(Loader, null);
13059
- }
13060
13054
  const {
13061
13055
  path,
13062
13056
  url
13063
13057
  } = useRouteMatch();
13058
+ Digit.SessionStorage.set("MCollect_TENANTS", tenants);
13059
+ if (isLoading) {
13060
+ return /*#__PURE__*/React.createElement(Loader, null);
13061
+ }
13064
13062
  if (userType === "employee") {
13065
13063
  return /*#__PURE__*/React.createElement(EmployeeApp, {
13066
13064
  path: path,