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

Route -https://egov-micro-dev.egovernments.org/employee/bill-amend/apply

Stepper 1 :

Source path : https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-billamend-dev/src/ui-config/screens/specs/bill-amend/apply.js

All the drop down data are mapped through mdms response.

For to display MDMS data we have common container in UI Framework ( “getSelectField“ ).

In Bill Amendment: We used common container for Demand Revison Basis.

Sample JSON for Structure Type and Sub Structure Type :

jsonPath is used to store the data in specified path when clicking event triggers or on handleFieldChange.

sourceJsonPath is the path where the data is fetched to populate in the dropdown.

Mdms data :

Demand Revision Type data is fetched from https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/BillAmendment/DemandRevisionBasis.json

Amount details is the first stepper :

Source Path: https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-billamend-dev/src/ui-config/screens/specs/bill-amend/applyResource/amountDetails.js

Stepper 2 :

Source Path: https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-billamend-dev/src/ui-config/screens/specs/bill-amend/applyResource/documentDetails.js

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

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

Stepper 3 :

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

 

Apply Footer

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

The Next, Previous and submit buttons are configured this json file.

 

Success Screen :

Souce path : https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-billamend-dev/src/ui-config/screens/specs/bill-amend/acknowledgement.js

Search-Preview :

Source Path : https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-billamend-dev/src/ui-config/screens/specs/bill-amend/search-preview.js

 

 

Workflow :

Role

Action

Next State

Status

EMPLOYEE, CITIZEN

null

APPROVALPENDING

INWORKFLOW

EMPLOYEE

APPROVALPENDING

APPROVED/REJECTED

ACTIVE/INACTIVE

 

API Call Role Action mapping:

S.No.

API

Action id

Roles

1

/egov-mdms-service/v1/_search

954

LOA_CREATOR,SUPERUSER,WO_CREATOR,AE_CREATOR,WORKS_MASTER_CREATOR,

2

billing-service/amendment/_create

2047

EMPLOYEE, CITIZEN

3

/billing-service/amendment/_update

2049

EMPLOYEE

4

/filestore/v1/files/url

1528

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO,

5

/billing-service/bill/v2/_fetchbill

1862

EMPLOYEE,CITIZEN

  • No labels