Search Tradelicence
Objective
Provide Citizen/Employee to search existing tradelicence and its current status.
Route - https://egov-micro-dev.egovernments.org/employee/tradelicence/search
Technical Implementation Details
Initial MDMS call is being made on page load.
All the Forms and its functionality are in https://github.com/egovernments/frontend/tree/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/searchResource path.
Table rendering is taken care in https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/searchResource/searchResults.js
The TL search API and formatting data is in done in https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/searchResource/functions.js
Table Structure
MUIDataTable
is used to implement Table component.Every columns are entry given as an Object
{ labelName: "Application No", labelKey: "TL_COMMON_TABLE_COL_APP_NO" },
Any customizations at column level is by
customBodyRender
hook available in all the colums ‘option’ property.