Added an option to hide the calendar on the shopping list (closes #531)

This commit is contained in:
Bernd Bestel
2020-02-01 12:54:05 +01:00
parent 683ea0984c
commit 23efe0c87a
11 changed files with 67 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
if (BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled))
{
$("#shopping-list-to-stock-workflow-auto-submit-when-prefilled").prop("checked", true);
}
if (BoolVal(Grocy.UserSettings.shopping_list_show_calendar))
{
$("#shopping-list-show-calendar").prop("checked", true);
}