Search Bill
Objective
Provide Citizen/ Employee to search existing Bill , generate expired bill , pay for the active bill , download bill , download receipt (if paid ) and its current statusbill and Cancel bill.
if tax head information can be wrong in a bill. So the bill needs to be cancelled.
Route - https://qa.digit.org/employee/bills/billSearch
...
Initial MDMS call is being made on page load.
Note: We need to configure cancelBill: true in WS and SW in this path https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/common-masters/uiCommonPay.json
example:
Code Block |
---|
{ |
...
"code": "WS",
"headerBandLabel": "PAYMENT_COMMON_CONSUMER_CODE",
"pdfModule":"WNS",
"receiptKey": "ws-onetime-receipt",
"cancelReceipt":false,
"cancelBill": true,
"billKey": "ws-bill",
"arrears": true,
"buttons": [
{
"label": "COMMON_BUTTON_HOME",
"citizenUrl": "/wns-citizen/home",
"employeeUrl": "/wns/search"
}
]
} |
Form rendering is taken care in https://github.com/egovernments/frontend/treeblob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/billSearchResources path/billSearchCard.js
Table rendering is taken care in https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/billSearchResources/searchResults.js
The Bill search API and formatting data is in done in https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/billSearchResources/function.js
...