diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index 8ff7dd7b..ac000d64 100644 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -83,9 +83,7 @@ {{ $__t('Product') }} {{ $__t('Amount') }} - @if (GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING) - {{ $__t('Next best before date') }} - @endif + {{ $__t('Next best before date') }} Hidden location Hidden status Hidden product group @@ -204,12 +202,10 @@ @endif @endif - @if (GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING) - + {{ $currentStockEntry->best_before_date }} - @endif @foreach(FindAllObjectsInArrayByPropertyValue($currentStockLocations, 'product_id', $currentStockEntry->product_id) as $locationsForProduct) {{ FindObjectInArrayByPropertyValue($locations, 'id', $locationsForProduct->location_id)->name }}