Fixed multi-nested recipe serving amount calculation (fixes #1806)

This commit is contained in:
Bernd Bestel
2022-03-03 17:38:51 +01:00
parent 54a8c331c2
commit 620f938065
2 changed files with 27 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
- Fixed that consuming recipes was possible when not all ingredients were in-stock (and this potentially consumed some of the in-stock ingredients; not matching the message "nothing removed")
- Fixed that the price of the "Produces product"-product, which is added to stock on consuming a recipe, was wrong (was the recipe total costs multiplied by the serving amount instead of only the recipe total costs)
- Fixed that calories of recipe ingredients were displayed with an indefinite number of decimal places
- Fixed that ingredient amounts were wrong for multi-nested (> 2 levels) recipes, when the included recipe used an serving amount other than 1
### Meal plan