No description
Find a file
John Mizerek d225133c68 Add menu builder required selection UI and fix portal issues
Menu Builder - Required Selections:
- Added "Selection Rules" section for modifier groups
- Required (Yes/No) dropdown to mark if customer must select an option
- Max Selections input (0 = unlimited) to limit selections
- Visual "Required" badge (red) and "Max X" badge in modifier list
- Updated saveFromBuilder.cfm to persist ItemRequiresChildSelection
  and ItemMaxNumSelectionReq to database

Portal Fixes:
- Fixed menu-builder link to include BASE_PATH for local dev
- Fixed stats.cfm to not reference non-existent Categories table
- Menu items count now uses ItemParentItemID > 0 (not ItemCategoryID)

Stripe Configuration:
- Added api/config/stripe.cfm for centralized Stripe key management
- Supports test/live mode switching
- Fee configuration variables (5% customer, 5% business, 2.9% + $0.30 card)

Payment Intent API:
- Updated createPaymentIntent.cfm with proper fee structure
- Customer pays: subtotal + tax + tip + 5% Payfrit fee + card processing
- Platform receives 10% total (5% from customer + 5% from business)
- Saves fee breakdown to order record

Beacon Management:
- Updated switchBeacons.cfm to move beacons between businesses
- Currently configured: Big Dean's (27) -> In-N-Out (17)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 01:56:12 -08:00
admin Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
api Add menu builder required selection UI and fix portal issues 2026-01-05 01:56:12 -08:00
cfpayment Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
css Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
fonts Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
hud Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
images Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
includes Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
js Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
kds Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
library/cfc Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
modules Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
portal Add menu builder required selection UI and fix portal issues 2026-01-05 01:56:12 -08:00
styles Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
twilio Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
uploads Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
yelpforexes.com Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
_process.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
aaa Payfrit app new.apf Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
android-chrome-192x192.png Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
android-chrome-512x512.png Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
apple-touch-icon.png Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
Application.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
confirm.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
confirm_email.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
confirm_mobile.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
favicon-16x16.png Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
favicon-32x32.png Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
favicon.ico Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
index.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
index.cfml Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
index.htm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
index.html Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
logout.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
NoBark.apf Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
onrequestend.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
register.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
register.cfm.old Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
reset.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
show_order.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_date_search.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_expand_checkbox.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_expand_checkbox2.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_expand_checkbox3.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_expand_checkbox4.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_infinite original.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
test_infinite.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00
Untitled1.cfm Checkpoint: beacon-servicepoint CRUD + assignments API working 2025-12-27 20:14:55 -08:00