No description
Find a file
John Mizerek 6f3dc7e477 Fix nested modifier saving with proper parent tracking
- Fixed _addModifiersRecursively to track OrderLineItemID through recursion
- Changed from hardcoded parentOrderLineItemId: 0 to actual parent IDs
- Added logic to find root item's OrderLineItemID before starting recursion
- Added logic to find each modifier's OrderLineItemID for its children
- Fixed API_BASE_URL to AALISTS_API_BASE_URL for environment consistency
- Added comprehensive debug logging for troubleshooting

This fix ensures nested modifiers (e.g., Customize Spread > Extra) are
properly saved to the database with correct parent-child relationships.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 14:40:55 -08:00
android Fix nested modifier saving with proper parent tracking 2025-12-30 14:40:55 -08:00
ios Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
lib Fix nested modifier saving with proper parent tracking 2025-12-30 14:40:55 -08:00
linux Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
macos Fix nested modifier saving with proper parent tracking 2025-12-30 14:40:55 -08:00
test Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
web Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
.gitignore Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
.metadata Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
analysis_options.yaml Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00
pubspec.lock Fix nested modifier saving with proper parent tracking 2025-12-30 14:40:55 -08:00
pubspec.yaml Fix nested modifier saving with proper parent tracking 2025-12-30 14:40:55 -08:00
README.md Initial commit (Payfrit Flutter app scaffold) 2025-12-28 12:28:45 -08:00

payfrit_app

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.