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 Restore this Version View Page History

Version 1 Current »

Objective:- To provide employees(Admin) with the functionality to change the property details or to change the demand.

  1. only user with the PTADMIN role has the right to change the property

  2. the Property should be in active state

Change the property details

  1. login with Admin employee

  2. goto property details page if role is “PTADMIN“ and property is active you will get two action button “EDIT PROPERTY” and “EDIT DEMAND”

  3. click on the “EDIT PROPERTY” and update the property details.

Change the demand

  1. login with Admin employee

  2. goto property details page if role is “PTADMIN“ and property is active you will get two action button “EDIT PROPERTY” and “EDIT DEMAND”

  3. click on the “EDIT DEMAND” and update the property demand.

Technical Implementation Details:

Update property and edit demand button can be found in the link given below:

DIGIT-UKD/index.js

here the main changes are ifUserRoleExists("PTADMIN") then show the button visibility and on click redirect to specific page and add the assessment as true as shown below.

if (ifUserRoleExists("PTCEMP")) {
        redirectTo = redirectTo + "&assessment=true";
      }

if click on the “EDIT PROPERTY“ will redirect to

https://github.com/eNagarsewaU/DIGIT-UKD/blob/bdd6617e235013725189c0565e358870cdbbfd2e/frontend/mono-ui/web/rainmaker/dev-packages/pt-employee-dev/src/Screens/FormWizard/index.js

It works same as update property

if click on the “EDIT DEMAND“ will redirect to

https://github.com/eNagarsewaU/DIGIT-UKD/blob/b18975b569441c8b838a142373eaa1f6aa1f57ff/frontend/mono-ui/web/rainmaker/dev-packages/pt-employee-dev/src/Screens/DCB/index.js

here if the assessment is true then we can only change the property tax, swachata tax and interest only

we cannot decrease the all three fields on decreasing it will pop the alert. and validation are added when we click on update for same

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.