Inbox
Inbox screen for Attendance Management Module
Last updated
Inbox screen for Attendance Management Module
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
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
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).
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:
Sample curl for Inbox API:
Inbox screen config is fetched from MDMS using 'useCustomMDMS' hook.
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.
The content on this screen is rendered based on configuration passed via MDMS. Its implementation can be found in the below file.
Inbox/Search ScreenAPI | Role Code | Action Id | Actions |
---|---|---|---|
/inbox/v2/_search | JUNIOR_ENGINEER | 65 |
|
/inbox/v2/_search | MUNICIPAL_ENGINEER | 65 |
|