From 278a5f004a9a8c586b1d66abb4efeaa6207e114e Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Tue, 29 Dec 2020 18:06:56 +0100 Subject: [PATCH] Fix consuming when FEATURE_FLAG_STOCK_LOCATION_TRACKING is disabled (fixes #1229) --- changelog/61_UNRELEASED_xxxx-xx-xx.md | 1 + views/consume.blade.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/changelog/61_UNRELEASED_xxxx-xx-xx.md b/changelog/61_UNRELEASED_xxxx-xx-xx.md index cfdd3d12..c3245ab5 100644 --- a/changelog/61_UNRELEASED_xxxx-xx-xx.md +++ b/changelog/61_UNRELEASED_xxxx-xx-xx.md @@ -14,3 +14,4 @@ - Fixed that the new product option "Never show on stock overview" was unintentionally set by default for new products - Fixed that the success message on purchase displayed no amount when `FEATURE_FLAG_STOCK_PRICE_TRACKING` was disabled - Fixed that adding items to the shopping list from the context/more menu on the stock overview page did not work +- Fixed that consuming was not possible when `FEATURE_FLAG_STOCK_LOCATION_TRACKING` was disabled diff --git a/views/consume.blade.php b/views/consume.blade.php index 7c586bad..1a6479eb 100644 --- a/views/consume.blade.php +++ b/views/consume.blade.php @@ -79,8 +79,7 @@ class="text-info font-italic d-none">' . $__t('Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated') . '' )) - @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING) -
+