Search Connection

Link → {base url}/mgramseva/home/householdSearch?Mode=collect

→ {base url}/mgramseva/home/consumersearchupdate?Mode=update

→ {base url}/mgramseva/home/householdReceiptsSearch?Mode=receipts

Users are redirected to this screen once they click on the Collect Payment Card or the Update Consumer Details Card or Download Bills and Receipts Card on Home Screen.

 

User Interaction on Screen

  • Users can search the consumer/connection with their Mobile Number / Name / Old Connection ID / New Connection ID ( Search with any one of these)

  • Click on Search to get the household details of the Consumer/Connection

 

Files Path

Primary Files: https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/ConnectionResults/SearchConnection.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

End Point

Request Method

Request Info

SL

End Point

Request Method

Request Info

1

/ws-services/wc/_search

POST

tenantId: {}

oldConnectionNumber: {}

name: {}

connectionNumber: {}

mobileNumber: {}

 

Stack

1 → Home Screen. + Search Connection Screen

Pop → Home Screen

Widgets Utilised from Library