Indicate incomplete recipe costs information (closes #1941)

This commit is contained in:
Bernd Bestel
2025-01-17 20:37:43 +01:00
parent c05181aa53
commit f9c7c67dc7
4 changed files with 35 additions and 2 deletions

View File

@@ -39,6 +39,7 @@
- For in-stock ingredients, the amount actually in-stock is now displayed next to the hint "Enough in stock"
- Optimized that when adding missing recipe ingredients with the option "Only check if any amount is in stock" enabled to the shopping list and when no corresponding unit conversion exists, the amount/unit is now taken "as is" (as defined in the recipe ingredient) into the created shopping list item
- When no price information is available for at least one ingredient, a red exclamation mark is now displayed next to the recipe total cost information
- Fixed that calories/costs of recipe ingredients were wrong when the ingredient option "Only check if any amount is in stock" was set and the on the ingredient used quantity unit was different from the product's QU stock
- Fixed that multi-nested recipes (at least 3 levels of "included recipes") resulted in wrong amounts/costs/calories calculated for the ingredients orginating in those nested recipes (also affected the meal plan)