Pay button in PT configuration from mdms

The pay button is config in the mdms on basis of the login as employee, citizen or not login

the pay button is on the various screen

  1. search screen pay button is there

  2. the pt details screen

Technical Implementation Details:

the paybuttonconfig is stored in the state and get it from there using

const disablepaybutton = get( state.screenConfiguration.preparedFinalObject, "paybuttonconfig", {} )

for the different login used it for the pay button

https://github.com/eNagarsewaU/DIGIT-UKD/blob/439e381e5ba6a1f8ff5f0659cc1b6392ea2acc6b/frontend/mono-ui/web/rainmaker/dev-packages/egov-pt-dev/src/ui-config/screens/specs/pt-mutation/iFunctions.js

https://github.com/eNagarsewaU/DIGIT-UKD/blob/439e381e5ba6a1f8ff5f0659cc1b6392ea2acc6b/frontend/mono-ui/web/rainmaker/dev-packages/egov-pt-dev/src/ui-config/screens/specs/pt-mutation/publicSearchFunctions.js

https://github.com/eNagarsewaU/DIGIT-UKD/blob/b8dde2b2bb7f6d3f2498332ccdedb795ea3dcd97/frontend/mono-ui/web/rainmaker/dev-packages/egov-ui-kit-dev/src/common/propertyTax/Property/components/TotalDues/index.js

MDMS:

Mdms file found in

here if the value is true means button will be not visible.

{ "tenantId": "uk", "moduleName": "tenant", "paybuttonconfig":[ { "citizen": true, "employee": false, "open" : true } ]}

for eg, in above JSON the citizen is set true means for the citizen the pay button is not enable or the citizen will not able to the tax with citizen login