Employee: Water and Sewerage Disconnection Application Details

Objective

Provide Employee to purpose workflow actions.

Based on the conditions, we are showing the details and actions here.

Application Details:

On click on application number from inbox/search screen, it will route to disconnection application details screen.
Search call is made before render the screen and details populated based on the search response.

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/ApplicationDetails.js

 

Hook Details for application Details search:

let { isLoading, isError, data: applicationDetails, error } = Digit.Hooks.ws.useDisConnectionDetails(t, tenantId, applicationNumber, serviceType);

 

Application Details Screen:

 

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/DisconnectionDetails.js

 

Timeline View:

 

It is common for all modules, find the path here: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/templates/ApplicationDetails/index.js

 

Downloads:

  1. Application:

 

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/DisconnectionDetails.js

 

2. Disconnection Notice

 

File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/ws/src/pages/employee/DisconnectionDetails.js

Localisation :

Localisation keys are added under the ‘rainmaker-ws’ locale module.

 

Water & Sewerage disconnection workflow:

#

Action

Role

From State

To State

1

Initiate Application

Citizen/ Counter Employee

 

Initiated

2

Submit Application

Citizen/ Counter Employee

Initiated

Pending for document verification

3

Verify and Forward

Document Verifier

Pending for document verification

Pending for field inspection

4

Verify and Forward

Field Inspector

Pending for field inspection

Pending approval for disconnection

5

Send Back

Document Verifier

Pending for document verification

Pending for counter employee action

6

Send Back

Field Inspector

Pending for Field inspection

Pending for document verification

7

Send Back

Approver

Pending approval for disconnection

Pending for field inspection

8

Send Back To Citizen

<roles having access>

<Current Status>

Pending for citizen action

9

Re-submit

Citizen/ Counter Employee

Pending for citizen action

OR

Pending for counter employee action

<To the status application was sent back to citizen>

12

Approve

Approver

Pending approval for disconnection

Pending for payment

13

Reject

<roles having access>

<Current Status>

Rejected

14

Payment/ Collection

Citizen/ Counter Employee

Pending for payment

Pending for disconnection execution

15

Execute Disconnection

Clerk

Pending for disconnection execution

Disconnection Executed

 

 

Please find the document attached below:

https://docs.google.com/spreadsheets/d/15p6dmlVUXvopvzyyG06ty2rxtffSMQxN5F2l2FSWoFA/edit#gid=0

 

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

/access/v1/actions/mdms/_get

870

 

2

/user/_search

604

 

3

/localization/messages/v1/_search

1531

 

4

/egov-workflow-v2/egov-wf/businessservice/_search

1743

EMPLOYEE

5

/ws-services/wc/_search

1900

WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

6

/sw-services/swc/_search

1940

SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

7

/property-services/property/_search

1897

PT_CEMP,PT_DOC_VERIFIER,PT_FIELD_INSPECTOR,PT_APPROVER

8

/ws-services/wc/_create

1899

WS_CEMP

9

/filestore/v1/files/url

1528

EMPLOYEE

10

/ws-services/wc/_update

1901

WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

11

/sw-services/swc/_update

1939

SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

12

/ws-calculator/waterCalculator/_estimate and /sw-calculator/sewerageCalculator/_estimate

1966,

1967

WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

13

/egov-hrms/employees/_search

1752