Bugfix: Ask the clock to clock in instead of calling its API
Description
The ticket timer offered to clock in by reading the clock state and sending the punch through the attendance API, which a package that only suggests attendance must not do. The ticket timer now follows the state the clock announces and asks the clock for the clock-in through a window event; the clock punches with all its checks and answers with the result or the reason it was refused. Without the clock nobody answers and no offer is made.
Impact
Nothing changes for employees. The offer appears when the clock says they are clocked out, and a refusal is still shown.