mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 02:36:54 +00:00 
			
		
		
		
	Fixed meal plan recipe servings stock fulfillment checking (fixes #1391)
This commit is contained in:
		| @@ -6,11 +6,13 @@ use LessQL\Result; | ||||
|  | ||||
| class RecipesService extends BaseService | ||||
| { | ||||
| 	const RECIPE_TYPE_MEALPLAN_DAY = 'mealplan-day'; | ||||
| 	const RECIPE_TYPE_MEALPLAN_DAY = 'mealplan-day'; // A recipe per meal plan day => name = YYYY-MM-DD | ||||
|  | ||||
| 	const RECIPE_TYPE_MEALPLAN_WEEK = 'mealplan-week'; | ||||
| 	const RECIPE_TYPE_MEALPLAN_WEEK = 'mealplan-week'; // A recipe per meal plan week => name = YYYY-WW (week number) | ||||
|  | ||||
| 	const RECIPE_TYPE_NORMAL = 'normal'; | ||||
| 	const RECIPE_TYPE_MEALPLAN_SHADOW = 'mealplan-shadow'; // A recipe per meal plan recipe (for separated stock fulfillment checking) => name = YYYY-MM-DD#<meal_plan.id> | ||||
|  | ||||
| 	const RECIPE_TYPE_NORMAL = 'normal'; // Normal / manually created recipes | ||||
|  | ||||
| 	public function AddNotFulfilledProductsToShoppingList($recipeId, $excludedProductIds = null) | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user