Cancel Bill

Objective

To provide users for selecting reasons and options to cancel the bill.

 

Implementation Details:

This screen is developed under the egov-abg-dev folder in the below file:

https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/cancelBill.js

The reasons for bill cancellation options are fetching from mdms service. https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/common-masters/CancelCurrentBillReasons.json

PREVIOUS STEP: on click on this it will go back to bill details screen.

 

CANCEL BILL:

 

On click on cancel bill, cancel bill api (billing-service/bill/v2/_cancelbill )will trigger and after success of cancel bill, it will route to acknowledgement screen.

next step button file present in the below file path:

https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/viewBillResource/viewBillFooter.js

Acknowledgement screen:

file path: https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/acknowledgement.js

Localisation:

for this modules, we are re-using the “rainmaker-ws” and “rainmaker-abg” modules, if they are any new keys, we are adding under “rainmaker-abg”.

 

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

billing-service/bill/v2/_cancelbill

1936

SUPERUSER, SW_CEMP, WS_CEMP

2

egov-mdms-service/v1/_search

954