Implemented a "recipes due score" (closes #1813)

This commit is contained in:
Bernd Bestel
2022-03-29 20:38:26 +02:00
parent 91b984d52d
commit 8e68477a78
5 changed files with 196 additions and 3 deletions

View File

@@ -2,9 +2,15 @@
> ❗ xxxImportant upgrade informationXXX
### New feature: xxxx
### New feature: Recipes "Due score"
- xxx
- A number (new column on the recipes page) which represents a score which is higher the more ingredients, of the corresponding recipe, currently in stock are due soon, overdue or already expired
- Or in other words: A score to see which recipes to cook to not waste already due/expired or due soon products
- The score is in detail based on:
- 1 point for each due soon ingredient (based on the stock setting "Due soon days")
- 10 points per overdue ingredient
- 20 points per expired ingredient
- (or else 0)
### Stock