Make it possible to round up shopping list and recipe ingredient amounts (closes #902, closes #2644)

This commit is contained in:
Bernd Bestel
2025-01-19 20:16:37 +01:00
parent e3965ed82c
commit 1946ff870e
10 changed files with 196 additions and 2 deletions

View File

@@ -8,6 +8,11 @@ if (BoolVal(Grocy.UserSettings.shopping_list_show_calendar))
$("#shopping_list_show_calendar").prop("checked", true);
}
if (BoolVal(Grocy.UserSettings.shopping_list_round_up))
{
$("#shopping_list_round_up").prop("checked", true);
}
if (BoolVal(Grocy.UserSettings.shopping_list_auto_add_below_min_stock_amount))
{
$("#shopping_list_auto_add_below_min_stock_amount").prop("checked", true);