> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/sanitation/water-sanitation-product-suite/waste-management-system/faecal-sludge-management-fsm/fsm-functional-specification/fsm-ui-docs/fsm-employee-ui.md).

# FSM Employee UI

There are three main updates in FSM v1.2.1 for employee UI:

1. Application timeline
2. Photo viewed by employee/DSO
3. Payment mode while completing request

### 1. Application Timeline: <a href="#id-1.-application-timeline" id="id-1.-application-timeline"></a>

An employee can see the application status in application timeline with provider details.

![](/files/9Hcb4ThxRj4q9pvTgTMj)

#### Technical Implementation Details: <a href="#technical-implementation-details" id="technical-implementation-details"></a>

The path for the code:

**frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js**

The code snippet to render application timeline:

![](/files/wlhyg7CReFd672cPtYoT)

The code snippet for extracting the provider info for each status:

![](/files/y8YxY8Fpd9YgY6YMGJmM)

### 2. Photo viewed by employee/DSO <a href="#id-2.-photo-viewed-by-employee-dso" id="id-2.-photo-viewed-by-employee-dso"></a>

An employee/DSO can view the photo uploaded by the employee/DSO in complete request action.

![](/files/MLmKYrk3avQLWbnzmZFT)

#### Technical Implementation Details: <a href="#technical-implementation-details-.1" id="technical-implementation-details-.1"></a>

The path for the code:

**frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/index.js**

The code snippets to render the field:

![](/files/cctQqkEdXBlQSUIu3cXk)

ViewImages.js are the common component used to fetch and render the Image file id. The path is shown below:

**frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/components/ViewImages.js**

![](/files/yzHZdhUYsrqtCaV9GuvF)

![](/files/LSO7C5DayZyGwEP64REc)

### 3. Payment mode while completing request <a href="#id-3.-payment-mode-while-completing-request" id="id-3.-payment-mode-while-completing-request"></a>

An employee has to select the payment mode while completing the request.

![](/files/1jcpELZXlFCALyl9DnJD)

#### Technical Implementation Details: <a href="#technical-implementation-details-.2" id="technical-implementation-details-.2"></a>

File path:

**frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/ApplicationDetails/config/CompleteApplication.js**

The code snippet to render the field.

![](/files/XFrZAQMriqcjbtMvJksQ)

MDMS file fetch for payment mode:

[egov-mdms-data/ReceivedPaymentType.json at UAT · egovernments/egov-mdms-data](https://github.com/egovernments/egov-mdms-data/blob/UAT/data/pg/FSM/ReceivedPaymentType.json)

```
{
    "tenantId": "pg",
    "moduleName": "FSM",
    "ReceivedPaymentType": [
        {
            "name": "Payed in Cash",
            "code": "PAYED_IN_CASH",
            "active": true
        },
        {
            "name": "Payed in Counter",
            "code": "PAYED_IN_COUNTER",
            "active": true
        },
        {
            "name": "Netbanking",
            "code": "NETBANKING",
            "active": true
        }
    ]
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digit.org/sanitation/water-sanitation-product-suite/waste-management-system/faecal-sludge-management-fsm/fsm-functional-specification/fsm-ui-docs/fsm-employee-ui.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
