PT Employee UI/UX revamp - Create Application

Objective: To provide the employees involved in PT workflow, the functionalities to create a property Application in create workflow.

 

Create Application :

A counter employee can use create application form , to register a citizen’s property.

 

 

Technical Implementation

The file for create Application form for PT can be found in :-

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

 

for creating application employee enters all the details of the form manually, and Documents are uploaded based on the MDMS configuration found in file:

https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/Documents.json

 

MDMS Data

  1. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/Floor.json

  2. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OccupancyType.json

  3. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OwnerShipCategory.json

  4. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OwnerType.json

  5. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/PropertyType.json

  6. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/UsageCategory.json

  7. https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/SubOwnerShipCategory.json

 

The mdms data for documents is similar to that found in :

Property Tax Document MDMS configuration

 

 

**with the noted addition of formDataPath, formArrayAttrPath, in filterCondition and dropdownFilter .

formDataPath path is the form path in form of array of keys that requires to be followed to new UI form to check the entered value. similar to jsonPath and parentJsonpath in old UI, While the formArrayAttrPath replaces the arrayAttribute.

The use of the MDMS data within the component can be found in :

https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/pt/src/pageComponents/SelectDocuments.js

 

After adding all the valid documents and form values in the form , user is allowed to submit the form

which calls the property create API:

property-services/property/_create

 

Acknowledgement Screen:

If the Property creation is successful. then the employee is directed to this screen. Which shows Acknowledgement Id and option to download a hardcopy of the acknowledgement containing property details.

 

Role Mapping:

Url

ROLE

Action ID

Url

ROLE

Action ID

property-services/property/_create

PT-CEMP

1895