mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Fix consuming when FEATURE_FLAG_STOCK_LOCATION_TRACKING is disabled (fixes #1229)
This commit is contained in:
@@ -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 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 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 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
|
||||||
|
@@ -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') . '</div>'
|
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') . '</div>'
|
||||||
))
|
))
|
||||||
|
|
||||||
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)
|
<div class="form-group @if(!GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING) d-none @endif">
|
||||||
<div class="form-group">
|
|
||||||
<label for="location_id">{{ $__t('Location') }}</label>
|
<label for="location_id">{{ $__t('Location') }}</label>
|
||||||
<select required
|
<select required
|
||||||
class="custom-control custom-select location-combobox"
|
class="custom-control custom-select location-combobox"
|
||||||
@@ -93,7 +92,6 @@
|
|||||||
</select>
|
</select>
|
||||||
<div class="invalid-feedback">{{ $__t('A location is required') }}</div>
|
<div class="invalid-feedback">{{ $__t('A location is required') }}</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="custom-control custom-checkbox">
|
<div class="custom-control custom-checkbox">
|
||||||
|
Reference in New Issue
Block a user