EDIT PROPERTY

the user cannot change the property if user is in the workflow or the payment is done for that property

  1. If payment is done the employee cannot change the property details

  2. the property is in workflow the user cannot change the property details

Technical Implementation Details:

Edit/Update property main index can be found in the link given below:

/DIGIT-Dev/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/src/pages/citizen/EditProperty/index.js

here the main code consist of the function which results in transforming the property object received in Search API to the object mainly Assessment flow units that is suitable for the create flow, as the user need to go through create flow again with pre-populated details and update the value of any accordingly. it also consist of the routing for the pages in the create flow.

Update Util function: this function did the exact opposite of create util function (refer Property Tax - My Applications ), the property object which is received from the Property Search API, is converted to the create flow relevant structure so that the values can be pre-populated for the user convenience, on completing the flow, application is updated. Link for the same can be found below:

/DIGIT-Dev/frontend/micro-ui/web/micro-ui-internals/modules/pt/src/utils