View Attendance
Screen to view muster roll details for selected muster roll.
Last updated
Screen to view muster roll details for selected muster roll.
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Objective:
To view weekly muster roll details/attendance for selected muster roll
To view the workflow history of the muster roll
Users can navigate to this screen by clicking on the muster roll id on the inbox page
The view screen consists of register details on top, Enrolled user details in tabular format, Workflow history and Actions that can be performed on selected muster. Initially, muster has ‘Submitted’ status.
View Attendance screen technical implementation can be found in the below file.
Hooks used
To fetch muster roll details, ‘useViewAttendance’ is used which takes tenant id and muster roll number.
To fetch workflow details, ‘useWorkflowDetails is used which takes tenant id, muster roll number, and business service (muster-roll-approval) as module code and config.
APIs used
Endpoint:
Sample curl for Search muster API:
Wage seeker skills data is fetched from MDMS using 'getMultipleTypesWithFilter' service.
Localisation keys are added under the ‘rainmaker-attendencemgmt’ locale module. In future, if any new labels are implemented in the attendance module they should also be pushed in the locale DB under rainmaker-attendencemgmt locale module. Below is an example of a few locale labels for Hindi and English.
The content on this screen is rendered based on the configuration passed on ApplicationDetails template component. Its implementation can be found in the below file.
/muster-roll/v1/_search
JUNIOR_ENGINEER
View Individual Muster Roll
/muster-roll/v1/_search
MUNICIPAL_ENGINEER
View Individual Muster Roll