Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table has few features like sorting, pagination, table search, rows limit. All these features are configurable. Default no of rows in the table configured as 10.

...

 For Employee:

 In above search connection table consumer No and Action are clickable link. If we click on consumer No it will navigate to the Connection details page. https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-wns-dev/src/ui-config/screens/specs/wns/connection-details.js .

Connection details document is available here Water & Sewerage - Connection Details

For employee Action as “Collect “ so that employee can collect the amount from customer for particular Connection. onclick of collect it will navigate to the Bill details page where we can see the bill amount from there we can do the PAY.https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-wns-dev/src/ui-config/screens/specs/wns/viewBill.js

Bill details document is available here Water & Sewerage- Bill Details

For Citizen:

The only difference between employee search connection table and citizen search connection table Consumer No are non-clickable event. Citizen can only Pay the bill. onclick of PAY button it will navigate to the employee Bill Details page we can find above.

Technical Implementation Details:

...

Locale keys for table headers are pushed in the ‘rainmaker-common’ locale module. These locale keys are available in the localStorage. We map the Table header text to the locale keys obtained from locale DB.

...

 

API Call Role Action mapping:

S.No.

API

Action id

Roles

1

/access/v1/actions/mdms/_get

870

CSR, GRO,DGRO,EMPLOYEE,CITIZEN,PGR-ADMIN,EMPLOYEE_FINANCE,TL_APPROVER,TL_CEMP,SUPERUSER,COLL_OPERATOR,BANK_COLL_OPERATOR,CSC_COLL_OPERATOR,DMA OFFICE OFFICER,ULB OFFICER,COMMISSIONER

2

/egov-mdms-service/v1/_search

954

LOA_CREATOR,SUPERUSER,WO_CREATOR,AE_CREATOR,WORKS_MASTER_CREATOR

3

/user/_search

604

SUPERUSER,SYS_INTEGRATOR_FINANCE,SYS_INTEGRATOR_WATER_SEW,EGF_BILL_CREATOR,EMPLOYEE,EMPLOYEE_FINANCE

4

/localization/messages/v1/_search

1531

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO

5

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

1743

EMPLOYEE,CITIZEN,SUPERUSER

6

/ws-services/wc/_search

1900

CITIZEN,EMPLOYEE,WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

7

/sw-services/swc/_search

1919

CITIZEN,EMPLOYEE,SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

8

/property-services/property/_search

1897

CITIZEN,EMPLOYEE