diff --git a/views/productform.blade.php b/views/productform.blade.php index bc8c0c8d..9f21b8f2 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -464,9 +464,7 @@ href="#"> {{ $__t('Barcode') }} - @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) - {{ $__t('Store') }} - @endif + {{ $__t('Store') }} {{ $__t('Quantity unit') }} {{ $__t('Amount') }} {{ $__t('Last price') }} @@ -499,13 +497,12 @@ {{ $barcode->barcode }} - @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) - + @if (FindObjectInArrayByPropertyValue($shoppinglocations, 'id', $barcode->shopping_location_id) !== null) {{ FindObjectInArrayByPropertyValue($shoppinglocations, 'id', $barcode->shopping_location_id)->name }} @endif - @endif @if(!empty($barcode->qu_id)) {{ FindObjectInArrayByPropertyValue($quantityunits, 'id', $barcode->qu_id)->name }}