Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Every application is a part of the workflow.

Stepper 1:

When user tries to create new TradeLicence, a popup comes upfront before navigating to the creation form. This popup tells about documents required to upload in the process so that user can collect those in advance.

This popup data is configurable in MDMS. On clicking Apply a MDMS call is made to get the required document information. This information is passed to the Popup.

...

An Apply button is located at the footer of this popup. Users can proceed to fill a new TradeLicence application on the clicking of this apply button. The code related to this popup is written in the apply.js file. below is the link to the file. This popup is integrated in search.js file please refer the below link and below image code.

Link :https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/search.js

...

In this configuration we need are triggering also from the side menu and quick action so for this cases we need a mdms configuration please refer the below mdms file.

link:https://github.com/egovernments/punjab-mdms-data/blob/master/data/pb/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
please check the below image for the mdms config to trigger the ashocDialog for the quick action and side menu action click.

...


Below is the MDMS call configuration is in the beforeInitScreen method of the search page you have to import the common util method of getRequiredDocData from the common.js file and has to call from the beforeInitScreen with the required document as mention in the image below.

...

Stepper 2:

https://egov-micro-qa.egovernments.org/employee/tradelicence/apply?tenantId=pb.amritsar

...

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

Stepper

...

3:

Source path: https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/applyResource/tradeOwnerDetails.js

...

Tradelicence create call is triggered on 2nd stepper’s Next button onclick().

...

Stepper

...

4 :

Source Path : https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicencebpa-dev/src/ui-config/screens/specs/tradelicenceegov-bpa/applyResource/documentListdocumentDetails.js

...

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

The data formatting logic is as shown below. getDocList(state, dispatch); in https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/utils/index.js

...

Stepper

...

5 :

This is the Review/Summary screen - https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-tradelicence-dev/src/ui-config/screens/specs/tradelicence/applyResource/tradeReviewDetails.js

...

S.No.

API

Action id

Roles

1

/egov-mdms-service/v1/_search

954

LOA_CREATOR,SUPERUSER,WO_CREATOR,AE_CREATOR,WORKS_MASTER_CREATOR,

2

/tl-calculator/billingslab/_search

1684

SUPERUSER,EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP

3

/egov-location/location/v11/boundarys/_search

1429

EMPLOYEE,CITIZEN,GRO,PGR-ADMIN,CSR,TL_APPROVER,TL_CEMP,SUPERUSER,DE_CREATOR,

4

/user/_search

604

SUPERUSER,SYS_INTEGRATOR_FINANCE,SYS_INTEGRATOR_WATER_SEW,EGF_BILL_CREATOR,EMPLOYEE,EMPLOYEE_FINANCE,

5

/tl-services/v1/_create

1685

EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP

6

/filestore/v1/files/url

1528

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO,

7

/billing-service/bill/v2/_fetchbill

1862

EMPLOYEE,CITIZEN

8

/tl-calculator/v1/_getbill

1688

EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP

9

/tl-calculator/billingslab/_search

1684

SUPERUSER,EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP

10

/tl-services/v1/_update

1686

EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP,TL_DOC_VERIFIER,TL_FIELD_INSPECTOR

11

"tradelicence/search?action=showRequiredDocuments"

1841, 1929

ALL