Search Expense Bills

Link.→ {base url}/mgramseva/home/searchExpense

Users are redirected to this screen by selecting the Update Expense card on the home screen.

Update Expenses card is available on the home screen for defined roles that have EXPENSE PROCESSING permission.

User Interaction on Screen

  • Users can search the expense bills with the Vendor Name / Type of Expense / Bill ID ( Search with any one of these criteria )

  • Click on Search navigates the user to the expense results screen which lists the expenditure bills matching the search criteria.

 

Files Path

Primary Files: https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/expense/search_expense.dart ,https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/expense/expense_results.dart

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field Validations

SL

Fileds

Validations

SL

Fileds

Validations

1

Owner Mobile Number

r'^(?:[+0]9)?[0-9]{10}$'

2

Name of the Consumer

r'^[A-Za-z ]'

3

Old Connection ID

No Validation

4

New Connection ID

No Validation

API Details

SL

API

Params

Description

SL

API

Params

Description

1

/egov-mdms-service/v1/_search

[{"moduleName": "Expense", "masterDetails": [{"name": "ExpenseType"},]}, {"moduleName": "BillingService", "masterDetails": [{"name": "BusinessService"}, {"name": "TaxHeadMaster"},]}]

To get the Expense Type for the Dropdown

 

Stack

1 → Home Screen. + Search Expense Bills Screen

Pop → Home Screen

Widgets Utilised from Library