diff --git a/frontend/micro-ui/web/docker/Dockerfile b/frontend/micro-ui/web/docker/Dockerfile index 41ee4f31c65..8127782cf39 100644 --- a/frontend/micro-ui/web/docker/Dockerfile +++ b/frontend/micro-ui/web/docker/Dockerfile @@ -12,7 +12,7 @@ RUN yarn add @upyog/digit-ui-module-noc@1.7.0-beta.3 RUN yarn add @upyog/digit-ui-module-engagement@1.7.0-beta.4 RUN yarn add @upyog/digit-ui-module-hrms@1.7.0-beta.3 RUN yarn add @upyog/digit-ui-module-core@1.7.0-beta.3 -RUN yarn add @upyog/digit-ui-module-obps@1.7.0-beta.20 +RUN yarn add @upyog/digit-ui-module-obps@1.7.0-beta.21 RUN yarn add @upyog/digit-ui-module-common@1.7.0-beta.5 RUN yarn add @upyog/digit-ui-module-ws@1.7.0-beta.12 RUN yarn add @upyog/digit-ui-module-commonpt@1.7.0-beta.4 diff --git a/frontend/micro-ui/web/micro-ui-internals/example/devpackage.json b/frontend/micro-ui/web/micro-ui-internals/example/devpackage.json index 55e028aa8d5..f7473e00c05 100644 --- a/frontend/micro-ui/web/micro-ui-internals/example/devpackage.json +++ b/frontend/micro-ui/web/micro-ui-internals/example/devpackage.json @@ -16,7 +16,7 @@ "@upyog/digit-ui-module-fsm":"1.7.0-beta.18", "@upyog/digit-ui-module-mcollect":"1.7.0-beta.4", "@upyog/digit-ui-module-noc":"1.7.0-beta.3", - "@upyog/digit-ui-module-obps":"1.7.0-beta.20", + "@upyog/digit-ui-module-obps":"1.7.0-beta.21", "@upyog/digit-ui-module-pgr":"1.7.0-beta.6", "@upyog/digit-ui-module-pt":"1.7.0-beta.4", "@upyog/digit-ui-module-receipts":"1.7.0-beta.3", diff --git a/frontend/micro-ui/web/micro-ui-internals/example/package.json b/frontend/micro-ui/web/micro-ui-internals/example/package.json index e929e8c7124..f8724cc8b7d 100644 --- a/frontend/micro-ui/web/micro-ui-internals/example/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/example/package.json @@ -16,7 +16,7 @@ "@upyog/digit-ui-module-fsm": "1.7.0-beta.18", "@upyog/digit-ui-module-mcollect": "1.7.0-beta.4", "@upyog/digit-ui-module-noc": "1.7.0-beta.3", - "@upyog/digit-ui-module-obps": "1.7.0-beta.20", + "@upyog/digit-ui-module-obps": "1.7.0-beta.21", "@upyog/digit-ui-module-pgr": "1.7.0-beta.6", "@upyog/digit-ui-module-pt": "1.7.0-beta.4", "@upyog/digit-ui-module-receipts": "1.7.0-beta.3", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/obps/useBPASearch.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/obps/useBPASearch.js index a312324fb52..07da7e0716f 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/obps/useBPASearch.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/obps/useBPASearch.js @@ -18,6 +18,7 @@ const combineResponse = (applications, workflowData) => { const workflowInstances = mapWfBybusinessId(workflowData); return applications.map(application => ({ ...application, + workflowData: workflowData?.[0], assignee: workflowInstances[application?.applicationNo]?.assignes?.[0]?.name, sla: application?.status.match(/^(APPROVED)$/) ? "CS_NA" : convertMillisecondsToDays(workflowInstances[application?.applicationNo].businesssServiceSla), state: workflowInstances[application?.applicationNo]?.state?.state, diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/response/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/response/index.js index 36bd0fc1e8e..c6f3cd95dd8 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/response/index.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/src/payments/citizen/response/index.js @@ -308,10 +308,11 @@ export const convertEpochToDate = (dateEpoch) => { } }; // let workflowDetails = Digit.Hooks.useWorkflowDetails({ - // tenantId: data?.[0]?.tenantId, - // id: data?.[0]?.applicationNo, + // tenantId: "pg.citya", + // id: "PG-BP-2024-09-23-001337", // moduleCode: "OBPS", // }); + // console.log("workflowDetails",workflowDetails) const getPermitOccupancyOrderSearch = async(order, mode="download") => { let queryObj = { applicationNo: bpaData?.[0]?.applicationNo }; let bpaResponse = await Digit.OBPSService.BPASearch(bpaData?.[0]?.tenantId, queryObj); @@ -325,9 +326,8 @@ export const convertEpochToDate = (dateEpoch) => { const state = Digit.ULBService.getStateId(); let count=0; - // console.log("workflowDetails",workflowDetails) - // debugger - // for(let i=0;i