Prepared food
Recipes, prep batches, and waste at /dashboard/platform/foodservice.
Define the recipe
configurePreparedFoodRecipe with ingredients (RecipeIngredient) and an output product.
Start a batch
startPrepBatch: planned, in_progress.
Complete
completePrepBatch consumes ingredients and creates an output lot with an expiry (valid ISO timestamp).
Record waste
recordWasteEvent for expired or discarded output.
Batch statuses: planned, in_progress, completed, discarded, cancelled.