Employee: Ad-hoc Rebate/Penalty and View Breakup in application details.

Ad-hoc Rebate/Penalty:

The Water and Sewerage 'Ad-hoc Rebate/Penalty' is the feature in WS Module. It allows Employee to add Rebate/Penalty for Water and Sewerage Applications.

Once the user login with "WS_APPROVER", "WS_FIELD_INSPECTOR", "SW_FIELD_INSPECTOR", "SW_APPROVER" Roles and if actions buttons are there in the screen, then the User will get the option for Ad-hoc Rebate/Penalty for New WS/SW Application in the Fee Estimate card in the WS/SW application details.

 

WS/SW Application details:

 

Route: https://qa.digit.org/digit-ui/employee/ws/application-details?applicationNumber=WS_AP/107/2022-23/638816&tenantId=pb.amritsar&service=WATER&from=WS_SEWERAGE_APPLICATION_SEARCH


File Path: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/templates/ApplicationDetails/components/WSFeeEstimation.js

 

Clicking of Add Rebate/Penalty, it will opens the popup with the fields.

File Path: and the initial data and logic is from the Application details in

After filling the details, On Clicking on Add button in the pop up screen, the pop up will close and the data will update in the Fee Estimate card.


Popup functionality was present in the

Note: After adding add rebate/penalty, we must perform at least one action, then only it will save the data in WS/SW service. Estimated API will give the results based on the data, presently we are saving the data in the additional details of WS/SW service.


View Breakup:


The Water and Sewerage ‘View Breakup’ is one of the feature in WS Module. It allows Employee to view the details of tax heads for Water and Sewerage Applications.

Once the user login with Water and sewerage employee Roles, then the User will get the option for view breakup for New WS/SW Application in the Fee Estimate card in the WS/SW application details.

WS/SW Application details:

 

Route:

 

File Path: and the initial data and logic is from the Application details in

 

Clicking of View Breakup, it will opens the popup with the updated data.



Popup functionality was present in the

Localisation :

Localisation keys are added under the ‘rainmaker-ws’ locale module.

 

Employee Roles and Credentials:

Please find the document attached below:

 

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

/localization/messages/v1/_search

1531

 

2

/ws-calculator/waterCalculator/_estimate and /sw-calculator/sewerageCalculator/_estimate

1966,

1967

WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

3

/billing-service/bill/v2/_fetchbill

1862

EMPLOYEE

4

collection-services/payments/{businessService}/_search/

 

EMPLOYEE

5

/egov-mdms-service/v1/_search

954