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

1const disablepaybutton = get( 2 state.screenConfiguration.preparedFinalObject, 3 "paybuttonconfig", 4 {} 5 )

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

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