payfrit-works/portal
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
..
index.html Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
login.html Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
menu-builder.html Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
portal.css Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
portal.js Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
station-assignment.html Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00