FSM Employee UI
There are three main updates in FSM v1.2.1 for employee UI:
Application timeline
Photo viewed by employee/DSO
Payment mode while completing request
1. Application Timeline:
An employee can see the application status in application timeline with provider details.

Technical Implementation Details:
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:

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

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

Technical Implementation Details:
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:

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


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

Technical Implementation Details:
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.

MDMS file fetch for payment mode:
egov-mdms-data/ReceivedPaymentType.json at UAT · egovernments/egov-mdms-data
{
"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
}
]
}
Was this helpful?