# Daily and weekly limits

**For:** Admin

The daily, weekly, and rest fields on a work rule are the hard ceilings {{ app_name }} uses when it validates a schedule. They're the difference between "this person is rostered" and "this person is rostered legally".

## What it does

Three groups of limits sit in this section of the form:

- **Daily limits.** The maximum hours a person can be scheduled in a single day before overtime kicks in or the shift is flagged.
- **Weekly limits.** The maximum hours per ISO week — the same ceiling the Arbeitsgesetz (ArG, Swiss labor law) and the German Arbeitszeitgesetz (ArbZG, working-time act) use as their statutory cap.
- **Rest constraints.** Minimum hours of uninterrupted rest between two shifts, and the minimum length of the weekly rest block.

You set the numbers; {{ app_name }} does the math whenever a shift is created, edited, or moved.

## When it kicks in

- **Schedule planning.** When you draft a shift that would push someone past a daily or weekly limit, the shift form shows an inline validation badge. Save still works — limits are warnings by default, not blockers — but the badge stays on the calendar so a manager can spot it before publish.
- **Time entry submission.** When actuals are submitted on the {doc}`/track-time/timesheet/index`, the same limits run again against the recorded hours, not the scheduled ones. Anything over the rest constraint or the weekly cap is flagged for the approver.
- **Reports.** The Attendance and Overtime reports use the same fields to decide which rows count as overtime hours and which trigger a rest-violation warning.

## How it shows in the app

- **Calendar tooltips.** Hovering a shift on the {doc}`/plan-schedules/shift-calendar/index` shows the running daily and weekly totals for the assigned person, with the limit alongside.
- **Validation badges.** A red dot on a shift card means at least one limit is breached; click the card to see which.
- **Reports.** Overtime and rest-violation columns on the attendance and payroll reports are derived from these fields.

## Related

- {doc}`manage-work-rules`
- {doc}`overtime-tiers`
- {doc}`/track-time/timesheet/index`
