payfrit-works/api/admin
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
..
addItemCategoryColumn.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
beaconStatus.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
checkBigDeans.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
checkUser.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
cleanupCategories.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBigDeansDeactivated.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBigDeansLinks.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBigDeansMenu.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
debugBigDeansTemplates.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBigDeansTemplates2.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBigDeansTemplates3.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
debugBusinesses.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
debugTasks.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
debugTasksRaw.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
debugTemplateLinks.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
deleteOrphanModifiers.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
deleteOrphans.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
describeItems.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
describeTable.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
eliminateCategories.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
fixBigDeansCategories.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
fixBigDeansModifiers.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
fixShakeFlavors.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
listTables.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
migrateModifierTemplates.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
migrateToCategories.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
randomizePrices.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
resetTestData.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
setupBigDeansInfo.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
setupBigDeansStations.cfm Add Categories table support, KDS station selection, and portal fixes 2026-01-07 15:31:45 -08:00
setupModifierTemplates.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
setupStations.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
switchBeacons.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
testTaskInsert.cfm Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
updateBeaconMapping.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00
updateBigDeans.cfm Add business info, order details, beacon management, and admin tools 2026-01-07 11:45:21 -08:00