/
PT reassessment

PT reassessment

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

dev-packages/egov-ui-kit-dev/src/common/propertyTax/DemandCollection/index.js

if(isAssesment){ if ( (taxData.code === "PT_TAX") && get(preparedFinalObject, `DemandPropertiesResponse.Demands[${index}].demandDetails[0].taxAmount`) > e.target.value ) { alert("Tax value cannot be decrease"); } }

 

dev-packages/pt-employee-dev/src/Screens/DCB/index.js

if (isAssesment) { errorCode = "FINE"; let demandResponse = DemandPropertiesResponse.Demands demand.map((item,index)=>{ let data = item.demand[Object.keys(item.demand)] data.map((ele,i)=>{ if(ele.PT_TAXHEAD === "PT_TAX" || ele.PT_TAXHEAD ==="SWATCHATHA_TAX" || ele.PT_TAXHEAD === "PT_TIME_INTEREST"){ try{ if(i < demandResponse[index].demandDetails.length && ele.PT_DEMAND < demandResponse[index].demandDetails[i].taxAmount){ errorCode = "ERR09_DEMAND_ENTER_THE_DATA"; } }catch(e){ errorCode = "ERR09_DEMAND_ENTER_THE_DATA"; } } }) }) }

 

Add label

Related content

UKD Customization and future Enhancement details
UKD Customization and future Enhancement details
Read with this
Property Tax - Edit/Update Property
Property Tax - Edit/Update Property
More like this
search property
search property
Read with this
Property Tax - UI
Property Tax - UI
More like this
PT Employee UI/UX revamp - Create Application
PT Employee UI/UX revamp - Create Application
More like this
PT Update Number and Alternate Number
PT Update Number and Alternate Number
More like this