Skip to content

Commit

Permalink
Merge pull request #163 from egovernments/ISNE-555
Browse files Browse the repository at this point in the history
Solved tenantId problem in bill-gen
  • Loading branch information
vinothrallapalli-eGov authored Jan 29, 2025
2 parents 1df8df0 + ed8535f commit 8586eaf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions frontend/micro-ui/web/micro-ui-internals/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"@egovernments/digit-ui-module-engagement": "1.7.0-beta.5",
"@egovernments/digit-ui-module-fsm": "1.7.0-beta.6",
"@egovernments/digit-ui-module-mcollect": "1.7.0-beta.3",
"@egovernments/digit-ui-module-noc": "1.7.0-beta.2",
"@egovernments/digit-ui-module-noc": "1.7.0-beta.2",
"@egovernments/digit-ui-module-obps": "1.7.0-beta.10",
"@egovernments/digit-ui-module-pgr": "1.7.0-beta.2",
"@egovernments/digit-ui-module-pt": "1.7.0-beta.4",
"@egovernments/digit-ui-module-receipts": "1.7.0-beta.2",
"@egovernments/digit-ui-module-tl": "1.7.0-beta.9",
"@egovernments/digit-ui-module-ws": "1.7.0-beta.4",
"@egovernments/digit-ui-module-bills": "1.7.0-beta.2",
"@egovernments/digit-ui-module-bills": "1.7.0-beta.4",
"@egovernments/digit-ui-module-commonpt": "1.7.0-beta.2",
"@egovernments/digit-ui-module-hrms":"1.7.0-beta.2",
"@egovernments/digit-ui-module-core":"1.7.0-beta.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-bills",
"version": "1.7.0-beta.3",
"version": "1.7.0-beta.4",
"description": "BILLS",
"license": "MIT",
"main": "dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ const DownloadBillInbox = () => {
const [pageSize, setPageSize] = useState(10);

const filters = {
// offset: 0,
// limit: 100,
tenantId: Digit.ULBService.getCurrentTenantId(),
};

const { data, isLoading, isError, error } = Digit.Hooks.useBulkPdfDetails({ filters: filters });
const showingToastMessage = (message) => {
setShowToast(message);
};
const columns = useSearchApplicationTableConfig(showingToastMessage,data,isLoading,isMobile);
const columns = useSearchApplicationTableConfig(showingToastMessage, data, isLoading, isMobile);

useEffect(() => {
setTotalRecords(data?.groupBillrecords.length);
Expand All @@ -41,9 +40,6 @@ const DownloadBillInbox = () => {
setPageOffset((prevState) => prevState - pageSize);
};




const TableComponent = useCallback(() => {
if (isLoading) {
return <Loader />;
Expand All @@ -58,16 +54,16 @@ const DownloadBillInbox = () => {
</p>
))}
</Card>
) :
isMobile ? ( <DetailsCard
{...{
) : isMobile ? (
<DetailsCard
{...{
handleSelect: (e) => {},
handleDetailCardClick : (e) => {},
handleDetailCardClick: (e) => {},
data: [...columns],
serviceRequestIdKey: t("TL_DATE_LABEL"),
}}
/>) :
(
}}
/>
) : (
<>
<Table
t={t}
Expand Down
2 changes: 1 addition & 1 deletion frontend/micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@egovernments/digit-ui-module-receipts": "1.7.0-beta.2",
"@egovernments/digit-ui-module-tl": "1.7.0-beta.9",
"@egovernments/digit-ui-module-ws": "1.7.0-beta.4",
"@egovernments/digit-ui-module-bills": "1.7.0-beta.2",
"@egovernments/digit-ui-module-bills": "1.7.0-beta.4",
"@egovernments/digit-ui-module-commonpt": "1.7.0-beta.2",
"@egovernments/digit-ui-module-hrms":"1.7.0-beta.2",
"@egovernments/digit-ui-module-core":"1.7.0-beta.5",
Expand Down

0 comments on commit 8586eaf

Please sign in to comment.