payfrit-works/api
John Mizerek 97a2621705 Add KDS (Kitchen Display System) with real-time order management
- Created listForKDS.cfm API endpoint for retrieving active orders
  - Filters by BusinessID and optional ServicePointID
  - Returns orders with StatusID 1-3 (New, Preparing, Ready)
  - Includes nested line items with item names
  - Joins customer and service point information

- Created updateStatus.cfm API endpoint for order status transitions
  - Updates OrderStatusID (New -> Preparing -> Ready -> Completed)
  - Updates OrderLastEditedOn timestamp
  - Validates order exists before updating

- Built complete HTML/JavaScript KDS web application
  - Real-time order display with configurable auto-refresh (default 5s)
  - Color-coded status cards: Blue (New), Orange (Preparing), Green (Ready)
  - Elapsed time tracking with visual warnings at 10min and 15min
  - Hierarchical line item display showing root items with nested modifiers
  - One-click status progression buttons
  - Persistent configuration (BusinessID, ServicePointID filter, refresh interval)
  - Responsive grid layout for multiple concurrent orders
  - Dark theme optimized for kitchen environments

- Updated Application.cfm to allow public access to KDS endpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-29 17:46:01 -08:00
..
assignments Public businesses + servicepoints list endpoints; API allowlist; Lucee-safe JSON 2025-12-28 12:30:06 -08:00
auth fix: correct CFScript syntax in login endpoint 2025-12-29 10:01:43 -08:00
beacons Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
businesses checkpoint 2025-12-28 22:34:01 -08:00
menu Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
orders Add KDS (Kitchen Display System) with real-time order management 2025-12-29 17:46:01 -08:00
servicepoints checkpoint 2025-12-28 22:34:01 -08:00
Application.cfm Add KDS (Kitchen Display System) with real-time order management 2025-12-29 17:46:01 -08:00