Muster Roll

Muster Roll UI Tech Documentation

Overview

This module helps in processing muster rolls through the workflow. Muster rolls created from SHG app end up in the web interface for workflow approval.

This module has 5 associated screens :

  1. Inbox

  2. Edit

  3. View

  4. Search

Module enablement configuration

  1. Set module code as "AttendenceMgmt" in Module.js of AttendenceMgmt Module. Refer https://github.com/egovernments/works-mdms-data/blob/DEV/data/pg/tenant/citymodule.json

{
            "module": "AttendenceMgmt",
            "code": "AttendenceMgmt",
            "active": true,
            "order": 4,
            "tenants": [
                {
                    "code": "statea.citytwo"
                },
                {
                    "code": "statea.citythree"
                },
                {
                    "code": "statea.cityone"
                }
            ]
}
  1. Enable Module in App.js. Update the object ‘enabledModules’. Use the code “AttendenceMgmt”. This code should match with the code of the cityModule.json, mentioned above.

Role-action mapping

{
      "id": 59,
      "name": "ATTENDENCEMGMT",
      "url": "url",
      "displayName": "ATTENDENCEMGMT Inbox",
      "orderNumber": 2,
      "parentModule": "",
      "enabled": true,
      "serviceCode": "ATTENDENCEMGMT",
      "code": "null",
      "navigationURL": "/works-ui/employee/attendencemgmt/inbox",
      "path": "4ATTENDENCEMGMT.Inbox",
      "leftIcon": "dynamic:AttendanceIcon"
}

Screen configuration

Localization Configuration and Modules

Workflow Configuration

Customization

1. API-based Data -

  • The amountTotal Wage Amount - Amount shown in the view muster roll screen is fetched from expense-calculator

2. Inbox / Search Screen :

  1. Please use the common utility “preProcessMDMSConfigInboxSearch”.

  2. Pass the associated dependencies for the config.

  3. The utility will return a config that will run through RenderFormFields.

  4. Refer to docs for Pre-Process config in Component comments.

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.