Link. → {base url}/mgramseva/home/dashboard?tab=1.
User will be Landed/Navigated Users are redirected to this screen after selection of when they select the GPWSC Dashboard option on Home Screenthe home screen.
...
User Interaction on Screen
User Users can select the year from the drop-down which contains the list of financial years.
From the text field user , users can search the expenses by using Bill ID or vendor name.
User Users can see the expense data for paid and pending with respective tabs.
Initially, only 10 expenses will be are loaded for the selected tab, by using . The pagination dropdown and right arrow click enable the user can to load and view more expensesexpense records.
By selecting Selecting any Bill ID user will be navigated navigates the users to the Expense update screen.
...
Primary Files: https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/dashboard/Dashboard.dart https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/dashboard/search_expense.dart
API detailsDetails
SL | End Point | Request Method | Request Info |
---|---|---|---|
1 | / | POST | tenantId : {} sortOrder ; {} |
...
1 → Home Screen. + Dashboard expenditure screen + update expense screen.
Pop → Dashboard expenditure screen → Home Screen.
2 → Home Screen. + Dashboard expenditure screen + update expense screen + expense update success.
Pop → Home Screen.
Widgets Utilised from Library
SL No | Widgets | File Path | Description |
---|---|---|---|
1 |
| Pagination | |
2 |
| Text Field | |
3 |
| Table | |
4 |
| Subtitle |
Role access Access Mapping
Code Block |
---|
case Routes.DASHBOARD: return ['SUPERUSER', 'DASHBOARD_VIEWER']; |
...