...
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/digitDIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/blob/main/packages/modules/tl/src/components/TLCard.js and https://github.com/egovernments/digit/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-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/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/blob/main/packages/modules/tl/src/pages/employee/NewApplication/index.js
TL Enhanced Flow :
If the user selects Movable as the structure type, then the commonPT search property incorporation and Building Name in Trade address component as well as “Same as Property Owner’s” check box in owner details component will not be visible.
...
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: https://github.com/egovernments/digit/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLTradeDetailsEmployee.js ) and accessories options (File Path: https://github.com/egovernments/digit/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLAccessoriesEmployee.js ).
Acknowledgement screen:
...
After Success of create and update calls, will route to acknowledgement screen.
File Path: https://github.com/egovernments/digit/DIGIT-Dev/blob/master/frontend/micro-ui/web/micro-ui-internals/blob/main/packages/modules/tl/src/utils/getTLAcknowledgementData.js
ROLE ACTION MAPPING
API | ROLES | ACTION ID | |
---|---|---|---|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
...