How staff attendance works in Plinth
Admins maintain one staff roster, mark today's attendance, export monthly reports, and guards mark in/out at the gate — all on the same audited roster.
Step 1: Build the staff roster
- Open Admin → Helpdesk → Staff & vendors (
/admin/helpdesk/staff). - On the Staff tab, add each team member: name, optional phone, role, and optional department.
- Supported roles: facility manager, security supervisor, guard, housekeeping manager, housekeeping, technician, accountant, and general.
- Active staff appear in helpdesk Assign dropdowns and on the attendance board.
The roster is shared — you do not maintain separate lists for helpdesk and attendance.
Step 2: Mark today's attendance (admin)
- Open Admin → Staff attendance (
/admin/staff-attendance). - On the Today tab, review active staff for today's date.
- For each person, tap: Present, Absent, In, or Out.
- Each mark calls
mark_staff_attendance— one summary row per staff per day, plus an append-only attendance log entry.
Step 3: Guards mark in/out at gate
- Open Gate desk (
/admin/gate) → Society staff tab. - Tap In or Out for guards and housekeeping on duty.
- Gate marks use the same RPC with source gate — visible on the admin board immediately.
Step 4: Reports, payroll period, and export
- On Staff attendance, open Reports.
- Pick a date range or tap This payroll period (configure start day in Settings).
- See present, absent, in/out counts, and paired hours per staff member.
- Export Daily CSV or Event log CSV for committee or payroll reconciliation.
Committee members use Staff reports (/committee/staff-attendance) for the same exports without write access.
Step 5: Staff portal and vendor staff
- Staff portal: Admin links a member email → staff opens My attendance from profile menu.
- Vendor staff: On the staff form, choose Vendor-supplied and pick a vendor from Helpdesk.
- Visitor pass link: Admins creating a
kind=staffvisitor pass can link the roster row — gate entry/exit also marks society staff in/out when matched.
Attendance states explained
| State | Typical use |
|---|---|
| Present | Full-day duty confirmed (e.g. morning roll call) |
| Absent | Did not report or on unrecorded leave |
| In | Shift start / gate entry logged |
| Out | Shift end / gate exit logged |
Use in / out when you track shift boundaries; use present / absent for a simple daily headcount.