feat: hybrid cloud sync + fix table/KOT state after payment
sashank1989
46ae36f
- Add hybrid sync architecture (local/cloud deployment modes)
- Add sync outbox worker, order relay, and sync endpoints
- Mark KOTs as served with completed_at after full payment
- Add payment sync enqueue after successful payment
- Fix frontend tables: use active_order field (was current_order)
- Add external order relay for Swiggy/Zomato/WhatsApp webhooks
- Cloud receives webhooks, local polls every 15s for new orders
feat: add Pine Labs EDC integration and WhatsApp conversational ordering
sashank1989
45d313d
EDC: backend handler with initiate/status/cancel/callback endpoints, background polling, auto-payment recording. Frontend EDC payment flow in POS and Captain pages with animated overlay. Admin EDC config tab with enable toggle and terminal settings.
WhatsApp: rewritten conversational ordering handler with full session flow.
feat: add Swiggy/Zomato integration with webhook infrastructure, online order management, and platform config
sashank1989
5e69f93
feat: add thermal printer management with routing rules and print bill button
sashank1989
7571d0f
feat: add KOT History drawer to KDS for traceability and reverification
sashank1989
8089dcf
fix: WAL checkpoint before backup — DB was 4KB (schema only) because WAL held all data
sashank1989
a66f062
feat: redesign KDS with item-level food-ready, order grouping, and pending side pane
sashank1989
6fdf098
fix: include cmd/server directory - was excluded by bare 'server' pattern in gitignore