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 »

Group Bills

Objective

Provide Citizen/Employee to search existing Bill ,its current status , merge bills and download.

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

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

https://github.com/egovernments/frontend/blob/80c5bff5b0869ba44f1626fabe4a5a6133afa558/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/abg/groupBillResource/functions.js

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.

  • No labels