BillGenie

Search Bill

Objective

Provide Citizen/Employee to search existing Bill , generate expired bill ,

pay for the active bill, download bill , download receipt (if paid ) and its current status.

Route - https://egov-micro-dev.egovernments.org/employee/abg/billSearch

Technical Implementation Details

 

Table Structure

  • MUIDataTable is used to implement Table component.

  • Every columns are entry given as an Object

{  labelName: "Bill No.",    labelKey: "ABG_COMMON_TABLE_COL_BILL_NO" }

,

  • Any customizations at column level is by customBodyRender hook available in all the colums ‘option’ property.

 

 

Data fetch,load and render :

Once the data is fetched using egov-searcher/bill-genie/billswithaddranduser/_get API, the returned data is formatted and dispatched to redux

As we can see from the image above, the data is put to specific path inside props.

Table component now fetches the data from its props as shown below.

Api Used :

  1.   egov-mdms-service/v1/_search,

  2. egov-searcher/bill-genie/billswithaddranduser/_get

 

ROLE ACTION MAPPING

API

ROLES

ACTION ID

API

ROLES

ACTION ID

1

egov-mdms-service/v1/_search

SUPERUSER , LOA_CREATOR , WO_CREATOR , AE_CREATOR , WORKS_MASTER_CREATOR

954

2

egov-searcher/bill-genie/billswithaddranduser/_get

SUPERUSER , EMPLOYEE , CITIZEN

1804