Once the user login with WS_CEMP
or SW_CEMP
Roles, then the User will get the BillGenie tree option of left side.
...
on click on BillGenie will get two options like below.
...
onClick on bill Cancellation, it will route to search bill screen.
Search Bill
Objective
Provide Employee to search active bill , download bill and Cancel bill.
...
Initial MDMS call is being made on page load.
Note: We need to configure cancelBill: true in WS and SW in only for the enabled service we can search, cancel the bill and serviceCategory drop downs options .it can be configured in uiCommonPay config by setting true to cancelBill
this path https://github.com/egovernments/egov-mdms-data/blob/DEVQA/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" } ] } |
...
Table component now fetches the data from its props as shown below.
...
For employee Action as “cancel bill “ so that employee can cancel the active bill onclick of cancel bill it will navigate to the Bill details page where we can see the bill amount and other details from there we can do the Cancell. https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-abg-dev/src/ui-config/screens/specs/bills/viewBill.js
Bill details document is available here Bill Details
Api Used :
egov-mdms-service/v1/_search,
egov-searcher/bill-genie/billswithaddranduser/_get
...
API | ROLES | ACTION ID | ||
---|---|---|---|---|
1 |
|
|
| |
2 |
|
|
|