Files
bakery-ia/frontend/src
Claude 244e59cb5c Fix supplier onboarding step: Add navigation buttons
FIXES:
 Fixed SuppliersSetupStep to use correct SetupStepProps interface
 Added Previous, Next, and Skip buttons with proper props
 Added minimum requirement tracking (1 supplier needed)
 Navigation buttons now functional - can proceed after adding supplier
 Warning message when minimum not met
 Skip button available when no suppliers added

Changes:
- Updated component props: onUpdate → onNext, onPrevious, onComplete, onSkip
- Added canContinue state tracking (suppliers.length >= 1)
- Added navigation buttons section with conditional rendering
- Added warning text for minimum requirement
- Build successful: 22.30s, no errors

CRITICAL TODO - Product/Price Association:
⚠️  NEXT STEP: Add product/ingredient association with pricing
   - Users need to associate products with suppliers
   - Must capture unit prices for each product
   - This is CRITICAL for automatic Purchase Order (PO) creation
   - Without prices, the PO system cannot function
   - Backend support already exists (SupplierPriceList model)
   - Need to implement UI for product selection and price entry

This commit resolves the navigation issue. Product association will be
implemented in the next commit to enable automatic PO creation.
2025-11-06 13:50:44 +00:00
..
2025-10-18 16:03:23 +02:00
2025-10-30 21:08:07 +01:00
2025-09-22 11:04:03 +02:00
2025-10-30 21:08:07 +01:00
2025-10-15 21:09:42 +02:00
2025-11-01 21:35:03 +01:00
2025-11-01 21:35:03 +01:00
2025-09-27 11:18:13 +02:00
2025-10-18 16:03:23 +02:00