payfrit-works/api/orders
John Mizerek 634148f727 Add Categories table support, KDS station selection, and portal fixes
Categories Migration:
- Add ItemCategoryID column to Items table (api/admin/addItemCategoryColumn.cfm)
- Migration script to populate Categories from unified schema (api/admin/migrateToCategories.cfm)
- Updated items.cfm and getForBuilder.cfm to use Categories table with fallback

KDS Station Selection:
- KDS now prompts for station selection on load (Kitchen, Bar, or All Stations)
- Station filter persists in localStorage
- Updated listForKDS.cfm to filter orders by station
- Simplified KDS UI with station badge in header

Portal Improvements:
- Fixed drag-and-drop in station assignment (proper event propagation)
- Fixed Back button links to use BASE_PATH for local development
- Added console logging for debugging station assignment
- Order detail API now calculates Subtotal, Tax, Tip, Total properly

Admin Tools:
- setupBigDeansStations.cfm - Create Kitchen and Bar stations for Big Dean's

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 15:31:45 -08:00
..
checkStatusUpdate.cfm Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
debugLineItems.cfm Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
getCart.cfm Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
getDetail.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
getOrCreateCart.cfm Fix order status polling and delivery fee logic 2025-12-31 21:38:26 -08:00
listForKDS.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
setLineItem.cfm Add cart endpoints and enhance menu API 2025-12-29 11:14:21 -08:00
submit.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
updateStatus.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00