Users are redirected to this screen when they select the GPWSC Dashboard option on the home screen.
Link → {base url}/mgramseva/home/dashboard?tab=1
- Users can select the year from the drop-down which contains the list of financial years.
- From the text field, users can search for the expenses using Bill ID or vendor name.
- Users can see the expense data for paid and pending with respective tabs.
- Initially, only 10 expenses are loaded for the selected tab. The pagination dropdown and right arrow click enable the user to load and view more expense records.
- Selecting any Bill ID navigates the users to the Expense update screen.
Primary Files:punjab-mgramseva/Dashboard.dart at develop · egovernments/punjab-mgramsevapunjab-mgramseva/search_expense.dart at develop · egovernments/punjab-mgramseva
End Point | Request Method | Request Info |
---|---|---|
/echallan-services/eChallan/v1/_create |
POST | tenantId : {} sortOrder ; {} |
Stack
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
Widgets | File Path | Description |
---|---|---|
Pagination |
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/pagination.dart | Pagination |
BuildTextField |
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/TextFieldBuilder.dart | Text Field |
BillsTable |
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/components/Dashboard/BillsTable.dart | Table |
LabelText |
https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/widgets/LabelText.dart | Subtitle |
case Routes.DASHBOARD:
return ['SUPERUSER', 'DASHBOARD_VIEWER'];
Model → punjab-mgramseva/expenses_details.dart at develop · egovernments/punjab-mgramseva
View → punjab-mgramseva/Dashboard.dart at develop · egovernments/punjab-mgramseva
punjab-mgramseva/search_expense.dart at develop · egovernments/punjab-mgramseva
Controller → punjab-mgramseva/dashboard_provider.dart at develop · egovernments/punjab-mgramseva
punjab-mgramseva/expenses_repo.dart at develop · egovernments/punjab-mgramseva