Current Bill Cancellation UI Flow
Frontend Repo
Last updated
Frontend Repo
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Once the user login with WS_CEMP
or SW_CEMP
Roles, then the User will get the BillGenie tree option on the left side.
on click on BillGenie will get two options like below
on clicking on bill Cancellation, it will route to the search bill screen.
Provide Employee to search active bill, download bill and Cancel bill.
if tax head information can be wrong in a bill. So the bill needs to be cancelled.
Route - mSeva
Initial MDMS call is being made on page load
Note: 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
example:
Table Structure
MUIDataTable
is used to implement the Table component
Every column entry is given as an Object
Any customizations at column level are by customBodyRender
hook available in all the columns ‘option’ property.
Once the data is fetched using egov-searcher/bill-genie/billswithaddranduser/_get
API, the returned data is formatted and dispatched to redux
As we can see from the image above, the data is put to a specific path inside props.
The table component now fetches the data from its props as shown below.
Bill details document is available here Bill Details
egov-mdms-service/v1/_search,
egov-searcher/bill-genie/billswithaddranduser/_get
1
egov-mdms-service/v1/_search
954
2
egov-searcher/bill-genie/billswithaddranduser/_get
SUPERUSER
, EMPLOYEE
1804
Initial page - frontend/billSearch.js at master · egovernments/frontend
Form rendering is taken care of in frontend/billSearchCard.js at master · egovernments/frontend
Table rendering is taken care of in frontend/searchResults.js at master · egovernments/frontend
The Bill search API and formatting data is in done in frontend/function.js at master · egovernments/frontend
For employee Action as “cancel bill “ so that employee can cancel the active bill on click 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 Cancel. frontend/viewBill.js at master · egovernments/frontend