Working Time
Working Time routes track user time connected to customers, including manual save, start/stop timer, list, count, get, and delete actions.
Timer
- WorkingTime.StartStop starts or stops a timer for a customer.
- The UI should prevent repeated start calls while a timer is already running.
- Show clear state when the server says a timer is already active.
Manual Rows
- WorkingTime.Save creates or updates a manual working-time row with start_date and stop_date.
- Use UTC Y-m-d H:i:s for start_date and stop_date.
- WorkingTime.Get opens one row, and Delete/Remove deletes one row when allowed.
Lists
- WorkingTime.List supports customer, team member, date range, and paging filters when documented.
- Use WorkingTime.Count with the same filters to show totals.
Common Flow
- Load working-time permissions from User.Basic.
- Use List/Count for customer or team time screens.
- Use StartStop for live timers and Save for manual rows.
- Refresh affected customer/team totals after success.