FSM v1.2.1 - Employee UI

There are Mainly three 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:

Employee can see the application status in application timeline with provider details.

Technical Implementation Details:

Below are the path for the code:

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

Below are the code snippet to render application timeline:

Below are the code snippet for extracting the provider info for each status.

2. Photo viewed by Employee/DSO

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

Technical Implementation Details:

Below are the path for the code:

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

Below are the code snippets to render the field:

ViewImages.js are the common component used to fetch and render the Image file id.

Below are the path:

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

3. Payment mode while completing request

Employee have 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

Below are the code snippet to render the field.

MDMS file fetch for payment mode:

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 } ] }

 

PR:

https://github.com/egovernments/DIGIT-Dev/pull/3290

https://github.com/egovernments/DIGIT-Dev/pull/3334

https://github.com/egovernments/DIGIT-Dev/pull/3295

https://github.com/egovernments/DIGIT-Dev/pull/3388

https://github.com/egovernments/DIGIT-Dev/pull/3336

https://github.com/egovernments/DIGIT-Dev/pull/3357

https://github.com/egovernments/DIGIT-Dev/pull/3373