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 3 Next »

Objective

The trade license 'apply' is the major feature in TL Module. It allows Citizen or Counter Employee 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 New TL Application in the TL card and as well as in the inbox..

File path: https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/components/TLCard.js and https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/components/inbox/DesktopInbox.js

Clicking of New Application it navigates to the New Trade License Application screen.

Route: https://qa.digit.org/digit-ui/employee/tl/new-application

File Path: https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/pages/employee/NewApplication/index.js

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 https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/StructureType.json

Trade Category , Trade Type , Trade Sub Type field data is fetched from https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/TradeLicense/TradeType.json

Mohalla Data - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/amritsar/egov-location/boundary-data.json (For Amritsar)

Accessories - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/TradeLicense/AccessoriesCategory.json

Type of Ownership and Type of Sub ownership - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/OwnerShipCategory.json https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/OwnerType.json

documents: https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/TradeLicense/documentObj.json

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 API tl-services/v1/_update.

  • On loading the page, /tl-calculator/billingslab/_search api is called for showing the licence type and accessories optons.

Acknowledgement screen:

After Success of create and update calls, will route to acknowledgement screen.

File Path: https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/utils/getTLAcknowledgementData.js

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

  • No labels