payfrit-works/api
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
..
admin Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
assignments Public businesses + servicepoints list endpoints; API allowlist; Lucee-safe JSON 2025-12-28 12:30:06 -08:00
auth Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
beacons Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
businesses Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
config Add menu builder required selection UI and fix portal issues 2026-01-05 01:56:12 -08:00
import Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
menu Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
orders Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
portal Add menu builder required selection UI and fix portal issues 2026-01-05 01:56:12 -08:00
servicepoints checkpoint 2025-12-28 22:34:01 -08:00
setup Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
stations Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
stripe Add task details API endpoint 2026-01-06 18:02:01 -08:00
tasks Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
workers Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
Application.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00