diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index 1e8f5cf6..1a8edb73 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -259,7 +259,7 @@ $(".calendar").each(function() var shoppingListButtonHtml = ""; if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_SHOPPINGLIST) { - shoppingListButtonHtml = ''; + shoppingListButtonHtml = ''; } element.html('\ diff --git a/views/stockentries.blade.php b/views/stockentries.blade.php index 4b18fd9a..52d85087 100644 --- a/views/stockentries.blade.php +++ b/views/stockentries.blade.php @@ -152,7 +152,7 @@ @if(GROCY_FEATURE_FLAG_SHOPPINGLIST) + href="{{ $U('/shoppinglistitem/new?embedded&updateexistingproduct&list=1&product=' . $stockEntry->product_id ) }}"> {{ $__t('Add to shopping list') }}
diff --git a/views/stockjournal.blade.php b/views/stockjournal.blade.php index c672a89c..0398cfdc 100644 --- a/views/stockjournal.blade.php +++ b/views/stockjournal.blade.php @@ -181,7 +181,7 @@ @if(GROCY_FEATURE_FLAG_SHOPPINGLIST) + href="{{ $U('/shoppinglistitem/new?embedded&updateexistingproduct&list=1&product=' . $stockLogEntry->product_id ) }}"> {{ $__t('Add to shopping list') }} diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index 325a27a6..4243c6e9 100755 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -243,7 +243,7 @@ @if(GROCY_FEATURE_FLAG_SHOPPINGLIST) + href="{{ $U('/shoppinglistitem/new?embedded&updateexistingproduct&list=1&product=' . $currentStockEntry->product_id ) }}"> {{ $__t('Add to shopping list') }}