Cleanup before platform-v2 phase 3 (owner-approved).
- KI-008: GET /api/reports/orders/export read order_history's dicts as ORM rows and
always failed with 500; it also ignored business_day_id (the Today page sends it).
Rebuilt on the dicts, header even when empty. tests/test_reports_export.py.
- KI-010: OnlineOrdersPage listened on /api/stream (never existed: no live refresh,
a 404 every few seconds). It now refetches on the shared live connection
(online_order_received / online_order_updated / ready); 20 s polling stays as a
fallback. manager.mjs checks nothing asks for /api/stream.
- KI-007: the setup wizard seeds the 10 default table flags and 5 quick messages in
the venue language (services/defaults.py), only when none exist. v1's seed never
worked (NOT NULL columns missing). Managers edit them in Settings -> Operation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>