Attendance Management Package

The attendance management package is a comprehensive solution for managing attendance.

To learn more about Attendance Management, click here.

Link to the Pub Package:

Role

  • SUPERVISOR

Features

  • Attendance Pages: The package includes several pages like mark_attendance.dart, manage_attendance.dart, and session_select.dart that provides the user interface for managing attendance.

Getting Started

To use this package, add the following dependency to your pubspec.yaml file:

Integrating with the HCM Application:

  1. To integrate this package with the HCM application, run the main function located in health-campaign-field-worker-app/tools/attendance_management_imports.dart.

    • This will automatically add the necessary imports, mapper initializers, route config, setting initial data, and repository initialization to the required files.

  2. Now make sure you are on the path apps/health_campaign_field_worker_app and run the command:

This adds a package route to the main router.gr.dart

  1. Navigate to the project bloc since we need to fetch registers and attendee data after login:

  1. Next, navigate to the line where the project staff search is written, and add the below code in the try-catch where we check the role and fetch attendance data:

  1. Make sure you are on the path apps/health_campaign_field_worker_app and run the command:

This adds a package route to the main router.gr.dart

By following these steps, you'll successfully integrate and can use attendance module within your application.

Sequence Diagram

Was this helpful?