Bill Details

Objective

To provide users the details of the Bills 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/viewBill.js

The details of the Bill is fetched by calling BillingService fetchBill API and the Consumer.No is used to in the query param.

FetchBill API returns the Bill Object which contains all the details about the bill including Billing Period, Due Amount, Due Date, and information about the Tax, Cess, Rebate, Penalty applied in this bill.

NextStep:

On click on next step, it will go to cancel bill screen, there we need to select the options for reason for bill cancellation. find here for cancel bill 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

 

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

/ws-calculator/meterConnection/_search

1936

EMPLOYEE

2

/billing-service/bill/v2/_fetchbill

1862

EMPLOYEE

3

/ws-services/wc/_search

1900

SW_CEMP , WS_CEMP

4

/sw-services/swc/_search

1940

SW_CEMP , WS_CEMP

5

/property-services/property/_search

1897

SW_CEMP , WS_CEMP