Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 5.28 KB

new-trade-license-ui-flow.md

File metadata and controls

64 lines (36 loc) · 5.28 KB

New Trade License UI Flow

Objective

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

Technical Implementation Details

Initial MDMS call is being made on page load like old UI.

MDMS Data

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

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

Role Action Mapping

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