FSM v1.3 Citizen: Faecal Sludge Management: My Applications

My Applications 

Users can review the list of applications and their status registered under their mobile number in My Applications tab. Each Application for the initial view will display Application No, Service Category and Status with View Details option, through which User can look up more details about the Application.

My Applications Page

Once the user clicks on View Details Button, the Application Details Page will be displayed with all the necessary information about the application.

Application details page

there is a button provided in the application details screen, where user can download either the acknowledgement receipt or the payment receipt as per the application status

Timeline Component :

Timeline component is present at the end of the application details which tells about the current status and history of the application being open to edit, approved, rejected, closed etc.

Rate Application:

Once the ULB has completed the application request, citizens can provide feedback at the end by rating the application.

Technical Implementation Details:

The path for the My Applications and Application Details common Index is given below, it can be used to understand the working of the code, Below is the file path.

https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/citizen/ApplicationDetails.js

The template for My Application is present under

https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/citizen/MyApplications/MyApplication.js

and Application Details page is present inside

https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/citizen/MyApplications/index.js

All the Application list is being retrieved by calling the search API

"/fsm/v1/_search"

Hooks used for fetching the applications for Faecal Sludge Management are :

const { isLoading, isError, error, data: { data: { table: applicationsList } = {} } = {} } = Digit.Hooks.fsm.useSearchAll(tenantId, { uuid: userInfo.uuid, limit: 100, });

 

MDMS:

No MDMS data being used here, all the data is being loaded from Search API.

 

Localization :

For My Applications also the Localization keys are being added in the ‘rainmaker-fsm’ locale module same as My connections and create. To change, update or of adding  any new localization key will be done in the same locale module only.

 

Role Actions:

Url

Roles

Action Id

Url

Roles

Action Id

/collection-services/payments/FSM.TRIP_CHARGES/_search

FSM_ADMIN,FSM_DSO,FSM_DRIVER,FSM_COLLECTOR,CITIZEN,FSM_EDITOR_EMP,FSM_VIEW_EMP

2054

/fsm/v1/_search

FSM_VIEW_EMP,FSM_DSO,FSM_DRIVER,FSM_EMP_FSTPO,FSM_COLLECTOR,CITIZEN,FSM_CREATOR_EMP,FSM_EDITOR_EMP

 2044

/vendor/v1/_search

FSM_ADMIN,FSM_CREATOR_EMP,FSM_CREATOR_EMP,FSM_DSO,FSM_EDITOR_EMP,FSM_VIEW_EMP,FSM_EMP_FSTPO,CITIZEN

 2053

/billing-service/demand/_search

SUPERUSER,ULB Operator,Property Verifier,Property Approver,CITIZEN,TL_ADMIN,TL_CREATOR,TL_APPROVER,EMPLOYEE,FSM_ADMIN,FSM_DSO,FSM_DRIVER,FSM_COLLECTOR,CITIZEN,FSM_EDITOR_EMP,UC_EMP,PT_FIELD_INSPECTOR

706

/egov-workflow-v2/egov-wf/process/_search

EMPLOYEE,GRO,CITIZEN,FSM_DSO,FSM_EMP_FSTPO,PT_FIELD_INSPECTOR,TL_CEMP,TL_FIELD_INSPECTOR,TL_CREATOR,TL_APPROVER,TL_DOC_VERIFIER

1730

/egov-workflow-v2/egov-wf/businessservice/_search

SUPERUSER,EMPLOYEE,CITIZEN,FSM_DSO,FSM_EMP_FSTPO,PT_FIELD_INSPECTOR,TL_CEMP,TL_FIELD_INSPECTOR,TL_CREATOR,TL_APPROVER,TL_DOC_VERIFIER

1743