Renew/Edit Application

All the fields same as New TL Application only, but the difference is here, max fields are having pre populated data(On Loading the page, search is made for that particular application ).

 

Will get the Renew Trade License option, when the application is in approved state and same financial year application is not present in the workflow.

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

when we click on the Renew Trade License application, it will route to Renew screen,

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

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

 

Direct Renewal: There is no change in any fields and directly clicks on submit application, update api call is made for the respective application wit respective to Direct Renewal (applicationType: RENEWAL, workflowCode: DIRECTRENEWAL, )and it will go into direct renewal flow.

Edit Renewal: If there is any change in any fields and clicks on submit application, update api call is made with respective to edit renewal (applicationType: RENEWAL,workflowCode: EDITRENEWAL )and update the application and it will go into edit renewal flow.

 

Units, Accessories, Owners and documents details in case of Edit/Renewal flow:

  1. Employee can edit units in both cases, employee can add and delete multiple units, please find the file below reg all use cases : https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLTradeUnitsEmployee.js

  2. Employee cannot edit accessories in both cases, employee can not add and delete multiple units and all fields are in disable state, please find the file below reg all use cases : https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLAccessoriesEmployee.js

  3. Employee can edit in both cases, expect ownership details, ownership details field is in disable state in both cases. please find the file below reg all use cases : https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLTradeUnitsEmployee.js

  4. Employee can edit the documents in both cases, please find the file blow reg all use cases: https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/tl/src/pageComponents/TLDocumentsEmployee.js

 

Acknowledgement screen:

After Success of update call, will route to acknowledgement screen.

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

 

EDIT Flow: It is also same like renewal flow only, but we are passing the action action: RESUBMIT on the update call with all the changes.

 

Application/ Trade Details: Application Details/Trade Details

TL Create New Application: New Trade License Application

 

ROLE ACTION MAPPING:

API

ROLES

ACTION ID

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