mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Move FEATURE_SETTING_STOCK_COUNT_OPENED_PRODUCTS_AGAINST_MINIMUM_STOCK_AMOUNT
to per product option (closes #1753)
This commit is contained in:
@@ -493,6 +493,11 @@ else if (Grocy.EditMode === 'create')
|
||||
{
|
||||
$("#default_best_before_days").val(Grocy.UserSettings.product_presets_default_due_days);
|
||||
}
|
||||
|
||||
if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING)
|
||||
{
|
||||
$("#treat_opened_as_out_of_stock").prop("checked", BoolVal(Grocy.UserSettings.product_presets_treat_opened_as_out_of_stock));
|
||||
}
|
||||
}
|
||||
|
||||
Grocy.Components.ProductPicker.GetPicker().on('change', function(e)
|
||||
|
Reference in New Issue
Block a user