Cancel Bill UI Flow

Overview

To provide users with the option to select cancel reasons and the options to cancel the bill.

Workflow Details

Implementation Details

The screen development files are available in the egov-abg-dev folder within the below-mentioned link.

frontend/cancelBill.js at master · egovernments/frontend

The reasons for bill cancellation options are fetched from the MDMS service.

egov-mdms-data/CancelCurrentBillReasons.json at QA · egovernments/egov-mdms-data

PREVIOUS STEP: Clicking on the Previous Step option redirects users to the bill details screen.

Cancel Bill

Clicking on the cancel bill option triggers the cancel bill API (billing-service/bill/v2/_cancelbill ). Once the API call is successful it routes to the acknowledgement screen.

The Next Step button file is available in the below-mentioned file path.

frontend/viewBillFooter.js at master · egovernments/frontend

Acknowledgement Screen

file path: frontend/acknowledgement.js at master · egovernments/frontend

Localisation

For localisation, the “rainmaker-ws” and “rainmaker-abg” modules are re-used. In case they are any new keys, these are added under “rainmaker-abg”.

API Call Role Action Mapping

API
Action ID
Roles

billing-service/bill/v2/_cancelbill

1936

SUPERUSER, SW_CEMP, WS_CEMP

egov-mdms-service/v1/_search

954

Was this helpful?