Attendance (CBO Application)

Overview

This module helps in logging the attendance of each individual in a register and creating the muster roll for a particular week.

ROLE: ORG_ADMIN

This module has 2 associated screens : View Register Inbox Track Attendance Table Screen

MDMS Configurations

S.No.

Data

MDMS Link

1

AttendanceHours

2

WageSeekerSkills

3

CBOMusterSubmission

User actions

On this page, the following actions need to be performed: The CBO Admin needs to select the date range from the Date Picker.

On the Selection of any date from the Picker, the whole week gets selected by default. On Selecting the particular week, and Clicking on Apply, the user can view the pre-saved attendance log for the respective week User can change the attendance log for each individual, And then click on the Save as Draft button to save the attendance log,

The user can submit the muster roll, On Click of submit the muster roll, the user will be asked to fill in the skills for each individual, After filling skills of each individual, the user can submit the muster roll for that particular week

Validations If a Date range is not selected or cleared, the Save as Draft Button will throw an error to select the date range Submission of muster roll depends upon the CBOMusterSubmission MDMS Config

isEndOfWeek && selectedDateRange!.endDate > DateTime.now().millisecondsSinceEpoch


code": "END_OF_WEEK",            "value": "end of week",            "active": false

If END_OF_WEEK is false, the user can create the muster roll on any day of the week, else user can submit the muster roll on or after the last day of the week (i.e. Sunday) If there is an existing muster roll for the selected range, and the muster is in workflow,

Track Attendance page will be a view page, else it will allow to log attendance and submit muster roll Based on the Attendance Hours list, users will be allowed to mark the attendance as Full Day, Half Day, or absent. If the list is of length 2, users will be allowed to mark only Full and Absent, Else, users can mark half-day as well.

API Details

S.No

API

Body / Query Params

Description

1

attendance/v1/_search

{

"tenantId":””,

"ids":””

}

Gives the list of registers linked to the org

2

muster-roll/v1/_estimate

{

"musterRoll": {

"tenantId":,

"registerId":,

"startDate":,

"endDate":

}

}

To get the attendance log for the selected Date range

3

attendance/log/v1/_create

{"attendance": []}

To log the attendance of the individuals for the week

4

attendance/log/v1/_update

To update the attendance log of the individuals for Sent Back To CBO Muster Rolls

5

muster-roll/v1/_search

To check if any existing muster rolls present for the selected week

6

egov-workflow-v2/egov-wf/businessservice/_search

{

"tenantId":,

"businessServices": “musterRollId”,

}

To check the workflow status of the Muster Roll

<details>

DIGIT Components and Custom Components Used

S.No

Component

Path

Description

1

DigitTable

Custom Table with fixed first column and other columns scrollable

2

DropDownDialog

A dialog with dropdown options

3

DateRangePicker

A custom Date Range picker to select a range of the month / year

4

DigitElevatedButton

An Elevated Submit Button

6

WorkDetailsCard

Details Card based on DIGIT Figma design

Localization Configuration and Modules

TenantID

Module

pg

rainmaker-common

pg

rainmaker-attendance

pg

rainmaker-common-masters

pg

rainmaker-workflow

pg.citya

rainmaker-pg.citya

Reference Files/Links

  1. Blocs :

  1. Models :

  1. Repositories:

  1. Screens

Last updated

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