1. Overview & Business Purpose
The Attendance & Timecard Tracking Module in ITSTHS Workspace enables enterprises to track staff daily attendance, clock-in/clock-out timestamps, IP address security logging, break durations, and monthly attendance summaries for payroll audit compliance.
2. What This Feature Does
- Topbar Clock In/Out Widget: One-click clock-in button in the topbar header with live shift duration counters.
- IP Whitelist Security: Records user IP addresses upon clocking in and flags logins originating outside corporate office IP ranges.
- Monthly Timecard Summaries: Aggregates total monthly work hours, late arrivals, overtime hours, and absent days.
- Manual Timecard Adjustments: HR admins can edit or adjust missed clock-out entries with audit notes.
3. Common Business Use Cases
- Daily Office Clock-In: Staff clock in upon starting work in the office or remote workstation.
- Monthly Payroll Timecard Export: HR exports verified attendance summaries for monthly payroll calculations.
4. Before You Begin (Prerequisites)
- Staff accounts active in
Workspace → Team.
5. Required System Permissions
- Clocking in/out is self-service; viewing team attendance reports requires
can_manage_attendance().
6. Plan Tier Availability
Available on: Standard, Growth, and Enterprise plans.
7. Navigation Path ("Where to Find It")
Click topbar Clock In button or navigate to Workspace → Team → Attendance.
8. Field-by-Field Reference Dictionary Table
| Field Name | Control | Required? | Description |
|---|---|---|---|
in_time / out_time |
Timestamp | Required | Clock-in and clock-out exact timestamps. |
9. Step-by-Step Operating Procedures
- Upon starting your workday, click Clock In on the topbar header.
- The button turns green:
Clocked In (Active). - At the end of your shift, click Clock Out.
10. Statuses & Lifecycle States Table
| Status | Behavior |
|---|---|
| Clocked In | Active shift counting elapsed work time. |
| Clocked Out | Shift completed; hours logged to daily timecard summary. |
11. Automated System Actions & Triggers
- Clock-out event automatically calculates total shift duration and updates monthly employee attendance totals.
12. Input Validation Rules & Error Messages
Already Clocked In— Prevents starting a duplicate shift timer while active.
13. System Constraints & Limits
- Clock-in timestamps are recorded based on the workspace server timezone.
14. Technical & Payload Architecture
- Attendance records stored in `attendance` table with foreign key `user_id`.
15. Edge Cases & Known Gotchas
- If a staff member forgets to clock out overnight, the system automatically caps shift duration at 12 hours and flags the entry for HR manual edit.
16. Troubleshooting & Diagnostics Guide
- If clock-in button fails, verify browser IP location and network connectivity.
17. Operational Best Practices
- Clock in promptly at the start of your shift to maintain accurate team availability.
18. Security, Audit & Compliance Notes
- Attendance clock-ins capture client IP address and user-agent string for security auditing.
19. Frequently Asked Questions (FAQs)
Q: Can HR edit a missed clock-out entry?
A: Yes, HR admins can modify timecards in Team → Attendance.