Current Bill Cancellation UI Flow
Frontend Repo
Frontend Repo
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Once the user logs in with WS_CEMP
or SW_CEMP
roles the BillGenie tree option is available on the left panel of the screen.
Clicking on the BillGenie displays two options as seen in the screenshot below.
Click on the Bill Cancellation option. This routes the user to the search bill screen.
Objective: This option allows employees to search for active bills, download bills, or cancel bills.
For instance, a bill can be cancelled if the tax head information is entered wrong in a bill.
Route - mSeva
Initial MDMS call is made on page load
Note: The search, cancel bill and service category options are available only for enabled services. This is configured in uiCommonPay config by marking the followingcancelBill
path as true.
Example:
Table Structure
MUIDataTable
is used to implement the table component.
Every column entry is treated as an object.
Any customizations at column level are done through the customBodyRender
hook available with the option property of the columns.
Once the data is fetched using egov-searcher/bill-genie/billswithaddranduser/_get
API, the returned data is formatted and dispatched to redux.
As seen in the above screenshot, the data is assigned to a specific path inside props.
The table component now fetches the data from its props as shown below.
To cancel bills, employees have to click on the Cancel Bill option. The system navigates to the Bill Details page that displays the bill amount and other details. The bill can be cancelled from this page.
For bill details refer to the document here - Bill Details.
egov-mdms-service/v1/_search,
egov-searcher/bill-genie/billswithaddranduser/_get
Initial page - frontend/billSearch.js at master · egovernments/frontend
Form rendering details available in frontend/billSearchCard.js at master · egovernments/frontend
Table rendering details available in frontend/searchResults.js at master · egovernments/frontend
The Bill Search API and formatting data is available in frontend/function.js at master · egovernments/frontend
API | Roles | Action ID |
---|---|---|
egov-mdms-service/v1/_search
954
egov-searcher/bill-genie/billswithaddranduser/_get
SUPERUSER
, EMPLOYEE
1804