Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Objective

The Water and Sewerage 'apply modify' is the major feature in WS Module. It allows Counter Employee to create Water and Sewerage Applications.

Every application is a part of the workflow.

Once the user login with "WS_CEMP", "SW_CEMP" Roles, then the User will get the option for creating New WS Application in the WS card and as well as in the inbox.

Validations:

  • To disconnect, connection should be in ACTIVE state. Connections which are under WORKFLOW or INACTIVE are not eligible for Modify.



Connection details:Employee: Water and Sewerage Connection Details

Once new application connection is activated, then system will generate the consumer code, by using that code we will route to connection details screen from search/connection screen.

On click on take action button, we will get multiple options based on conditions, once we will click on Modify Connection, it will route to modify screen.

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

Data fetch , load and render :

ws-services/wc/_create

sw-services/swc/_create

Case 1: If it is Water connection:

  • Clicking on Submit button, ws-services/wc/_create api is called and create the application, after getting success response, we are calling update API ws-services/wc/_update.

Case 2: If it is Sewerage connection:

  • Clicking on Submit button, sw-services/swc/_create api is called and create the application, after getting success response, we are calling update API sw-services/swc/_update.

Acknowledgement screen:

After Success of create and update calls, will route to acknowledgement screen.

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

W&S-Application:

In Water & Sewerage Module, while creating a Application user will get Acknowledgement form for creating application, Similarly after doing pending for field inspection and payment user can download the estimation letter and sanction letter.

Here we see more about the configuration involved in each document downloads.

 

  1. Acknowledgement Download,

After Submitting the W&S Create Application user can download the Acknowledgement .

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

for application PDF, all related code written related to W&S in below mentioned file.

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

ROLE ACTION MAPPING

S.NO

API

ROLES

ACTION ID

1

/egov-mdms-service/v1/_search

WS_CEMP, SW_CEMP

954

2

/ws-services/wc/_create

WS_CEMP, SW_CEMP

1899, 1917

3

/sw-services/swc/_create

WS_CEMP, SW_CEMP

1899, 1917

4

/ws-services/wc/_update

WS_CEMP, SW_CEMP

1899, 1917

5

/sw-services/swc/_update

WS_CEMP, SW_CEMP

1899, 1917

6

/filestore/v1/files/url

EMPLOYEE

  • No labels