DIGIT Works
Public FinanceSanitationUrbanHealth
Works v0.1
Works v0.1
  • Introducing DIGIT Works Platform
  • Platform
    • Release Notes
      • Service Build Updates
      • MDMS & Configuration Updates
      • Test cases
    • Platform Capabilities
    • Architecture
      • High Level Design
      • Low Level Design
        • Registries
          • Individual
          • Bank Account
          • Organisation
        • Services
          • Project
          • Estimates
          • Contracts
          • Attendance
          • Muster Roll
          • Expense
    • Functional Specifications
      • Project
      • Estimates
      • Organisation
      • Attendance Management
      • Muster Roll
      • Expenditure / Billing
      • Contracts
    • Platform Services
      • Project
      • Estimates
      • Contracts
      • Attendance
      • Muster Roll
      • Expense
      • Bank Account
      • Organisation
    • Source Code
    • Roadmap
    • Installation
    • Configuration
      • Service Configuration
        • Project
        • Estimate
        • Contract
        • Attendance
        • Muster Roll
        • Expense
        • Bank accounts
        • Organisation
        • Individual
  • Products
    • Works App
      • UX Design
      • Technical Design
      • Field App User Manual
      • Configuration Manual
      • Technical Manual
  • Programmes
    • MuktaSoft (v1.0)
      • Specifications
        • User Persona
        • Functional Requirements
          • Product Requirements Document
          • User Stories
            • User Creation & Role Mapping
            • Employee Login
            • Employee Home Page
            • Project User Stories
              • Create Project
              • Search Project
              • View Project Details
              • Modify Project Details
            • Estimate User Stories
              • Create Estimate
              • Estimate Workflow (Role Action Mapping)
              • Estimate Inbox
              • Estimate Create/Submit Workflow
              • Estimate Edit/Submit Workflow
              • Estimate Verify & Forward Workflow
              • Estimate Reject Workflow
              • Estimate Send Back Workflow
              • Estimate Send Back To Originator Workflow
              • Estimate Technical Sanction
              • Estimate Approve Workflow
              • Search Estimate
              • View Estimate
            • Contracts User Stories
              • Create Work Order
              • Work Order Workflow
              • Work Order Inbox Page
              • Create/ Submit Work Order
              • Edit/Submit Work Order
              • Verify & Forward
              • Send Back
              • Send Back To Originator
              • Reject Work Order
              • Approve
              • Work Order PDF
              • Search Work Order
              • View Work Order
            • Muster Roll User Stories
              • Inbox Page
              • Muster Roll Workflow
              • Muster Rolls - Verify & Forward
              • Muster Roll - Send Back
              • Muster Rolls - Send Back To CBO
              • Muster Roll - Edit/Submit
              • Muster Roll - Approve
              • Search Muster Roll
              • View Muster Roll
            • Bill User Stories
              • Create Purchase Bill
              • Create Wage Bill
              • Create Supervision Bill
              • Bill Workflow
              • Bill Inbox
              • Edit Purchase Bills
              • Verify & Forward
        • Roadmap
      • Deployment
        • Release Notes
          • Service Build Updates
          • MDMS & Configuration Updates
          • Gate 2 Release Checklist
          • Test Cases
        • MuktaSoft Services
          • IFMS Adapter
          • Expense Calculator
          • Works PDF
          • Works UI
            • UI Tech Flow Diagrams
          • Bill Scheduler
        • Deployment Guide
        • Configuration
          • Master Data Templates
            • Project Type
            • Target Demography
            • Unit Of Measurement (Units)
            • Overheads
            • Skill Category & Skills
            • Community-Based Organisation Roles
            • Scheme
            • Expense Heads
            • Standard Deductions
            • Organisation Type
            • Organisation Sub Type
            • Organisation Functional Category
            • Organisation Class/Rank
            • HRMS Sections/Departments
            • HRMS Designation
            • HRMS Employment Type
            • User Role
            • Organization
            • Wage Seeker
            • Tenants
            • Ward Boundary
            • Locality Boundary
            • Payment Advice Format
            • Users Data
          • Notifications & SMS Templates
          • Localisation
          • Service Configuration
          • UI Configuration
            • Common Configurations
              • Role Configuration
              • MDMS Configuration
              • APK Generation
            • Modules
              • Project
              • Estimate
              • Workorder
              • Muster Roll
              • Bill
              • Organization
              • WageSeeker
              • WageSeeker (CBO Application)
              • Attendance (CBO Application)
              • MusterRoll (CBO Application)
            • Drafts
              • Contracts
                • Create Contract
                • Contract Workflow
                • Modify Contract
              • Estimate
                • Create Estimate
                • Estimate Worflow
                • Modify Estimate
              • Attendance Management
                • Inbox
                • View Attendance
                • Modify Attendance
        • Customisation
          • UI Screens Customisation
            • Document Upload Container
            • CSS Customisation
            • Inbox/Search Screen
      • Implementation
        • Programme Details
          • Pilot Roll Out Plan
          • Pilot Go Live Definition
          • Pilot Sucess Metrics
          • Adoption Metrics
          • Implementation Plan
          • Implementation Checklist
          • Issue Management - Standard Operating Procedures
          • UAT Test Planning
            • Test Case Scenarios
            • UAT Test Case Scenarios
            • Issue Reporting Template
        • Training Resources
          • User Manual
            • Getting Started
            • CBO User Manual
              • CBO - Getting Started
              • My Works
              • Track Attendance
              • Muster Rolls
              • My Bills
            • Employee User Manual
              • Project
              • Estimate
                • Technical Sanctioner
              • Work Order
              • Workflow
              • Billing
              • Payment
              • Registries
              • Organizations
  • COMMUNITY
    • Discussion Board
    • Issues
Powered by GitBook

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

On this page
  • Workflow Details
  • Technical Implementation Details
  • MDMS Used
  • Localisation
  • Customisation
  • API Role Action Mapping

Was this helpful?

Export as PDF
  1. Programmes
  2. MuktaSoft (v1.0)
  3. Deployment
  4. Configuration
  5. UI Configuration
  6. Drafts
  7. Attendance Management

Inbox

Inbox screen for Attendance Management Module

PreviousAttendance ManagementNextView Attendance

Last updated 2 years ago

Was this helpful?

Overview:

  • Lists all the musters submitted by SHG

  • To search/filter the muster list based on various criteria

  • To navigate to Muster details/View Attendance page

Workflow Details

The employee home screen will have a link to navigate to the Attendance Inbox screen

The inbox screen consists of a list of muster rolls created/submitted by SHG in tabular format. This table supports pagination and the number of records displayed per page can be editable

A minimum of 1 search criterion is required based on which the list will be populated with search results. Search parameters are as below:

  • Name of the work

  • Implementing Agency/Partner

This list can be filtered based on below parameters:

  • Date range

  • Muster roll status

A ‘No results found’ message is displayed if no records are found for the given search/filter criteria.

Both search and filter criteria can be cleared using the ‘Clear Search’ and ‘refresh’ buttons respectively. Muster Roll ID is a clickable link that navigates the user to the View Attendance screen (Muster Details).

Technical Implementation Details

Inbox screen technical implementation can be found in the file below.

Hooks used

To fetch inbox details, ‘useCustomAPIHook’ is used which takes all the API details like URL, query params and body from config (defined in MDMS).

To fetch inbox config, ‘useCustomMDMS’ hook is used which takes the module name, master details and config.

APIs used

Endpoint:

/inbox/v2/_search

Sample curl for Inbox API:

curl --location --request POST 'https://works-dev.digit.org/inbox/v2/_search' \
--header 'Content-Type: application/json' \
--data-raw '{
    "RequestInfo": {
        "ts": 0,
        "action": "string",
        "key": "string",
        "msgId": "string",
        "authToken": "ea4069c7-c2a8-4def-a216-ce67352f980d",
        "userInfo": {
            "id": 107,
            "uuid": "c8d0093a-4d2b-495f-8bdf-fd9d3594e43f",
            "userName": "super",
            "name": "Super User",
            "mobileNumber": "1234567890",
            "emailId": null,
            "type": "EMPLOYEE",
            "roles": [
                {
                    "name": "SUPER USER",
                    "code": "SUPERUSER",
                    "tenantId": "pb"
                }
            ],
            "tenantId": "pb.amritsar"
        }
    },
    "inbox": {
        "tenantId": "pb.amritsar",
        "processSearchCriteria": {
            "tenantId": "pb.amritsar",
            "businessService": [
                "muster-roll-approval"
            ],
            "moduleName": "muster-roll-service"
        },
        "moduleSearchCriteria": {
            "tenantId":"pb.amritsar",
            "attendanceRegisterName":"Construct Roads",
            "musterRollStatus":"SUBMITTED",
            "startDate":1670178600000,
            "endDate":1670697000000
        },
        "limit": 10,
        "offset": 0
    }
}'

MDMS Used

Inbox screen config is fetched from MDMS using 'useCustomMDMS' hook.

const { isLoading, data } = Digit.Hooks.useCustomMDMS(
        tenant,
        "commonUiConfig",
        [
            {
                "name": "musterInboxConfig"
            }
        ]
    )

Localisation

Localisation keys are added under the ‘rainmaker-attendencemgmt’ locale module. In future, if any new labels are implemented in the attendance module they should be pushed to the locale DB under rainmaker-attendencemgmt locale module. Below is an example of a few locale labels for Hindi and English.

{
    "code": "ATM_ACTUAL_WORKING_DAYS",
    "message": "वास्तविक कार्य दिवस",
    "module": "rainmaker-attendencemgmt",
    "locale": "hi_IN"
}
{
    "code": "ATM_ACTUAL_WORKING_DAYS",
    "message": "Actual Working Days",
    "module": "rainmaker-attendencemgmt",
    "locale": "en_IN"
}

Customisation

The content on this screen is rendered based on configuration passed via MDMS. Its implementation can be found in the below file.

API Role Action Mapping

API
Role Code
Action Id
Actions

/inbox/v2/_search

JUNIOR_ENGINEER

65
  • View inbox for Muster Rolls

/inbox/v2/_search

MUNICIPAL_ENGINEER

65
  • View inbox for Muster Rolls

Inbox/Search Screen
DIGIT-Works/index.js at develop · egovernments/DIGIT-WorksGitHub
DIGIT-Works/useCustomAPIHook.js at develop · egovernments/DIGIT-WorksGitHub
DIGIT-Works/useCustomMDMS.js at develop · egovernments/DIGIT-WorksGitHub
Logo
Logo
Logo
Home Screen
Attendance Inbox Screen
Inbox with 'No Results Found'