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.
Once the user clicks on View Details Button, the Application Details Page will be displayed with all the necessary information about the application.
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.
The template for My Application is present under
and Application Details page is present inside
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 |
---|---|---|
|
|
|
|
| |
|
| |
|
|
|
|
|
|
|
|
|