The trade license 'apply' is the major feature in TL Module. It allows Citizens or Counter Employees to create TL Applications for the current financial year.
Every application is a part of the workflow.
Once the user login with TL_CEMP
Role, then the User will get the option for creating a New TL Application in the TL card and as well as in the inbox.
File path: digit-ui-internals/TLCard.js at main · egovernments/digit-ui-internals and digit-ui-internals/DesktopInbox.js at main · egovernments/digit-ui-internals
Clicking of New Application it navigates to the New Trade License Application screen.
Route: mSeva
File Path: digit-ui-internals/index.js at main · egovernments/digit-ui-internals
Initial MDMS call is being made on page load like old UI.
Structure Type and Sub Structure Type field data is fetched from egov-mdms-data/StructureType.json at master · egovernments/egov-mdms-data
Trade Category, Trade Type, Trade Sub Type field data is fetched from egov-mdms-data/TradeType.json at master · egovernments/egov-mdms-data
Mohalla Data - egov-mdms-data/boundary-data.json at master · egovernments/egov-mdms-data (For Amritsar)
Accessories - egov-mdms-data/AccessoriesCategory.json at master · egovernments/egov-mdms-data
Type of Ownership and Type of Sub ownership - egov-mdms-data/OwnerShipCategory.json at master · egovernments/egov-mdms-data egov-mdms-data/OwnerType.json at master · egovernments/egov-mdms-data
documents: egov-mdms-data/documentObj.json at master · egovernments/egov-mdms-data
Data fetch, load and render
- Clicking on Submit button,
tl-services/v1/_create
api is called and create the application, after getting success response, we are calling update APItl-services/v1/_update
. - On loading the page,
/tl-calculator/billingslab/_search
api is called for showing the licence type (File Path: digit-ui-internals/TLTradeDetailsEmployee.js at main · egovernments/digit-ui-internals ) and accessories options (File Path: digit-ui-internals/TLAccessoriesEmployee.js at main · egovernments/digit-ui-internals ).
Acknowledgement Screen
After Success of create and update calls, will route to the ****acknowledgement screen.
File Path: digit-ui-internals/getTLAcknowledgementData.js at main · egovernments/digit-ui-internals
S.NO | API | ROLES | ACTION ID |
1 | /egov-mdms-service/v1/_search |
TL_CEMP |
954 |
2 | /tl-services/v1/_create |
TL_CEMP |
1685 |
3 | /tl-services/v1/_update |
TL_CEMP |
1686 |
4 | /tl-calculator/billingslab/_search |
TL_CEMP |
1684 |