payfrit-works/kds
John Mizerek 1f4d06edba Add Payfrit Works (WDS) support and task completion flow
Task System:
- Tasks auto-created when KDS marks order Ready (status 3)
- Duplicate task prevention via TaskOrderID check
- Task completion now marks associated order as Completed (status 4)
- Fixed isNull() check for TaskCompletedOn (use len() instead)
- Added TaskOrderID to task queries for order linking

Worker APIs:
- api/workers/myBusinesses.cfm with GROUP BY to prevent duplicates
- api/tasks/listMine.cfm for worker's claimed tasks with filters
- api/tasks/complete.cfm updates both task and order status
- api/tasks/accept.cfm for claiming tasks

KDS/Portal:
- KDS only shows orders with status < 4
- Portal dashboard improvements

Admin/Debug:
- Debug endpoints for tasks and businesses
- Test data reset endpoint

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 14:52:04 -08:00
..
admin.html Implement polling-based order status notifications 2025-12-31 16:07:09 -08:00
debug.html Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
index.html Add KDS web interface files 2025-12-29 17:46:11 -08:00
kds.js Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
test-modifiers.html Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00