Current Bill Cancellation UI Flow
Frontend Repo
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.
Search Bill
Objective
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
Technical Implementation Details
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 componentEvery column entry is given as an Object
Any customizations at column level are by
customBodyRender
hook available in all the columns ‘option’ property.
Data fetch, load and render
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
API Used
egov-mdms-service/v1/_search,
egov-searcher/bill-genie/billswithaddranduser/_get
Role Action Mapping
API | ROLES | ACTION ID | |
1 |
|
| |
2 |
|
|
|
Last updated