This repository has been archived on 2026-03-21. You can view files and clone it, but cannot push or open issues or pull requests.
payfrit-biz/api
John Mizerek c580e6ec78 Auto-apply user balance on cash and card orders
Balance from cash change now silently reduces the amount owed on the
next order. For cash: deducted immediately in submitCash, reduces cash
the worker needs to collect (or skips cash task entirely if fully
covered). For card: reduces the Stripe PaymentIntent amount, deducted
in webhook on successful payment. Receipt shows "Balance applied" line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 14:16:21 -08:00
..
addresses Auto-geocode addresses on create/update 2026-03-02 01:00:07 -08:00
admin Fix column names: Latitude/Longitude not Lat/Lng 2026-03-02 01:13:47 -08:00
app Update about screen content 2026-02-16 18:36:15 -08:00
assignments Add sharding support to beacon list and assignments APIs 2026-02-08 12:34:49 -08:00
auth Auto-apply user balance on cash and card orders 2026-03-02 14:16:21 -08:00
beacon-sharding Add get_beacon_config endpoint — single call for all beacon config 2026-03-01 11:20:16 -08:00
beacons Migrate beacon APIs to shard-only system 2026-02-14 19:33:49 -08:00
businesses Fix restaurant distance sorting to use numeric comparison 2026-03-02 11:57:45 -08:00
chat Add toISO8601() helper for UTC date formatting 2026-02-20 11:56:31 -08:00
config Fix Toast __OO_STATE__ extraction: remove tag stripping and var keywords 2026-03-01 20:28:02 -08:00
debug Add all biz debug 2026-02-09 14:33:25 -08:00
dev Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
grants Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
import Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
inc Fix column names: Latitude/Longitude not Lat/Lng 2026-03-02 01:13:47 -08:00
menu Add subcategory support (2 levels deep) 2026-02-28 21:29:40 -08:00
orders Auto-apply user balance on cash and card orders 2026-03-02 14:16:21 -08:00
portal Auto-geocode addresses on create/update 2026-03-02 01:00:07 -08:00
presence Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
ratings Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
servicepoints Fix beacon sharding to support Major/Minor starting from 0 2026-02-09 13:43:32 -08:00
setup Auto-geocode addresses on create/update 2026-03-02 01:00:07 -08:00
stations Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
stripe Auto-apply user balance on cash and card orders 2026-03-02 14:16:21 -08:00
tabs Add per-tab ApprovalMode override for member order approval 2026-02-25 11:44:06 -08:00
tasks Auto-apply user balance on cash and card orders 2026-03-02 14:16:21 -08:00
users Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
workers Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
Application.cfm Remove timezone conversion hacks — MySQL now runs in UTC 2026-03-01 12:37:30 -08:00