Pre-Shift & Compliance
Staff rostering, sales goals, and compliance tracking
Danvas compliance tracks whether staff file their required shift reports. Combined with pre-shift setup, it ensures accountability across your organization.
Pre-Shift Setup
Managers create pre-shift assignments that roster staff and set sales goals:
- Manager navigates to Reports → Pre-Shift
- Sets date and shift (morning/afternoon/evening)
- Selects staff members to roster
- Sets sales goals per staff member
- Submits via
createPreShift()server action
What Happens on Creation
When a pre-shift is created:
- Shift goal stored in
shiftGoalstable - Compliance rows auto-generated for each assignee with
filed: false - Slack notification sent to assigned staff via
buildPreshiftBlocks() - Audit log entry created (
preshift.created)
Staff Notifications
Staff receive a Slack message with:
- Shift date and time
- Sales goals
- Roster information
- Read receipt tracking via
preshiftReadstable
Compliance Tracking
Compliance rows track filing status for each staff member per shift: