payfrit-user/lib
John Mizerek 3e68a3282b Check for existing cart when selecting child business from beacon
When a user taps on a child business from the business selector (beacon flow),
now checks if they have an existing cart for that specific business before
proceeding. Shows "Existing Order Found" dialog with options to continue
or start fresh, matching the behavior from login flow.

Fixes bug where existing cart wasn't detected because we were clearing
cart state without checking the database first.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 10:37:41 -08:00
..
app App Store Version 2: Beacon scanning, preload caching, business selector 2026-01-23 19:51:54 -08:00
models Fix cart model string casting to use ?.toString() 2026-01-23 21:17:43 -08:00
screens Check for existing cart when selecting child business from beacon 2026-01-26 10:37:41 -08:00
services Fix DeliveryAddress parser to handle string IDs from API 2026-01-23 21:05:56 -08:00
widgets App Store Version 2: Beacon scanning, preload caching, business selector 2026-01-23 19:51:54 -08:00
main.dart App Store Version 2: Beacon scanning, preload caching, business selector 2026-01-23 19:51:54 -08:00