Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 Cancel Bill

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

Localisation:

Localisation keys used in the ViewBill page are added under “rainmaker-ws” locale module and the same should be used if any new keys are added in this page.

API Call Role Action mapping:

S.No.

API

Action id

Roles

1

/ws-calculator/meterConnection/_search

1936

WS_CEMP,EMPLOYEE

2

/billing-service/bill/v2/_fetchbill

1862

CITIZEN,EMPLOYEE

3

/ws-services/wc/_search

1900

CITIZEN,WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

4

/sw-services/swc/_search

1940

CITIZEN,SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

5

/property-services/property/_search

1897

CITIZEN, PT_CEMP,PT_DOC_VERIFIER,PT_FIELD_INSPECTOR,PT_APPROVER

 

  • No labels